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

FHIR IG analytics

Packagehl7.fhir.uv.fml
Resource TypeStructureMap
IdStructureMap-UsesAlias.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-UsesAlias.html
URLhttp://hl7.org/fhir/uv/fml/StructureMap/UsesAlias
Statusactive
NameUsesAlias
Realmuv
Authorityhl7
DescriptionExample demonstrating the alias keyword for uses declarations

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 UsesAlias

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

name: UsesAlias

status: Active

description:

Example demonstrating the alias keyword for uses declarations

structure

url: Patient

alias: PatientR3

mode: Source Structure Definition

structure

url: Patient

mode: Target Structure Definition

group

name: UsesAlias

input

mode: Source Instance

name: src

type: PatientR3

input

mode: Target Instance

name: tgt

type: Patient

rule

Sources

-ContextElementVariable
*srcidv

target

context: tgt

element: id

transform: copy

Parameters

-Value[x]
*v

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/UsesAlias",
  "name": "UsesAlias",
  "status": "active",
  "description": "Example demonstrating the alias keyword for uses declarations",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Patient",
      "alias": "PatientR3",
      "mode": "source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Patient",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "UsesAlias",
      "input": [
        {
          "mode": "source",
          "name": "src",
          "type": "PatientR3"
        },
        {
          "mode": "target",
          "name": "tgt",
          "type": "Patient"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "src",
              "element": [
                "id"
              ],
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": [
                "id"
              ],
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "v"
                }
              ]
            }
          ],
          "name": "r1"
        }
      ]
    }
  ],
  "id": "UsesAlias"
}