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

FHIR IG analytics

Packagehl7.fhir.uv.fml
Resource TypeStructureMap
IdStructureMap-SimpleIdentity.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-SimpleIdentity.html
URLhttp://hl7.org/fhir/uv/fml/StructureMap/SimpleIdentity
Statusactive
NameSimpleIdentity
Realmuv
Authorityhl7
DescriptionExample demonstrating the identity transform shorthand src.element -> tgt.element

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 SimpleIdentity

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

name: SimpleIdentity

status: Active

description:

Example demonstrating the identity transform shorthand src.element -> tgt.element

structure

url: Basic

mode: Source Structure Definition

structure

url: Basic

mode: Target Structure Definition

group

name: SimpleIdentity

input

mode: Source Instance

name: src

type: Basic

input

mode: Target Instance

name: tgt

type: Basic

rule

Sources

-ContextElementVariable
*srcidvvv

Targets

-ContextElementVariableTransform
*tgtidvvvcreate

name: id


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/SimpleIdentity",
  "name": "SimpleIdentity",
  "status": "active",
  "description": "Example demonstrating the identity transform shorthand src.element -> tgt.element",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Basic",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "SimpleIdentity",
      "input": [
        {
          "mode": "source",
          "name": "src",
          "type": "Basic"
        },
        {
          "mode": "target",
          "name": "tgt",
          "type": "Basic"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "src",
              "element": [
                "id"
              ],
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": [
                "id"
              ],
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "name": "id"
        }
      ]
    }
  ],
  "id": "SimpleIdentity"
}