FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.fml
Resource TypeStructureMap
IdStructureMap-TransformCast.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-TransformCast.html
URLhttp://hl7.org/fhir/uv/fml/StructureMap/TransformCast
Statusactive
NameTransformCast
Realmuv
Authorityhl7
DescriptionExample demonstrating the cast transform for type conversion

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap TransformCast

url: http://hl7.org/fhir/uv/fml/StructureMap/TransformCast

name: TransformCast

status: Active

description:

Example demonstrating the cast transform for type conversion

structure

url: Basic

mode: Source Structure Definition

structure

url: Basic

mode: Target Structure Definition

group

name: TransformCast

input

mode: Source Instance

name: src

type: Basic

input

mode: Target Instance

name: tgt

type: Basic

rule

Sources

-ContextElementVariable
*srcidv

target

context: tgt

element: id

transform: cast

parameter

value: v

parameter

value: string

name: r1


Source1

{
  "resourceType": "StructureMap",
  "resourceDefinition": "http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/uv/fml/StructureMap/TransformCast",
  "name": "TransformCast",
  "status": "active",
  "description": "Example demonstrating the cast transform for type conversion",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "TransformCast",
      "input": [
        {
          "mode": "source",
          "name": "src",
          "type": "Basic"
        },
        {
          "mode": "target",
          "name": "tgt",
          "type": "Basic"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "src",
              "element": [
                "id"
              ],
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": [
                "id"
              ],
              "transform": "cast",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "string"
                }
              ]
            }
          ],
          "name": "r1"
        }
      ]
    }
  ],
  "id": "TransformCast"
}