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

FHIR IG analytics

Packagehl7.fhir.uv.fml
Resource TypeStructureMap
IdStructureMap-TransformC.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-TransformC.html
URLhttp://hl7.org/fhir/uv/fml/StructureMap/TransformC
Statusactive
NameTransformC
Realmuv
Authorityhl7
DescriptionExample demonstrating the c transform to create a Coding

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 TransformC

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

name: TransformC

status: Active

description:

Example demonstrating the c transform to create a Coding

structure

url: Basic

mode: Source Structure Definition

structure

url: Basic

mode: Target Structure Definition

group

name: TransformC

input

mode: Source Instance

name: src

type: Basic

input

mode: Target Instance

name: tgt

type: Basic

rule

Sources

-Context
*src

Targets

-ContextElementVariable
*tgtcodecc

rule

Sources

-Context
*src

target

context: cc

element: coding

transform: c

parameter

value: http://example.org/cs

parameter

value: test

parameter

value: Test Coding

name: r1

name: r2


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/TransformC",
  "name": "TransformC",
  "status": "active",
  "description": "Example demonstrating the c transform to create a Coding",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "TransformC",
      "input": [
        {
          "mode": "source",
          "name": "src",
          "type": "Basic"
        },
        {
          "mode": "target",
          "name": "tgt",
          "type": "Basic"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "src"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": [
                "code"
              ],
              "variable": "cc"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "src"
                }
              ],
              "target": [
                {
                  "context": "cc",
                  "element": [
                    "coding"
                  ],
                  "transform": "c",
                  "parameter": [
                    {
                      "valueString": "http://example.org/cs"
                    },
                    {
                      "valueString": "test"
                    },
                    {
                      "valueString": "Test Coding"
                    }
                  ]
                }
              ],
              "name": "r1"
            }
          ],
          "name": "r2"
        }
      ]
    }
  ],
  "id": "TransformC"
}