FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "ElementDefinition2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ElementDefinition2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ElementDefinition2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ElementDefinition Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/ElementDefinition<span style=\"color: navy\">" </span><b>alias </b>ElementDefinitionR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/ElementDefinition<span style=\"color: navy\">" </span><b>alias </b>ElementDefinition <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ElementDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ElementDefinitionR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ElementDefinition, <b>target</b> <span style=\"color: maroon\">first</span><span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\">)</span><b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.extension<span style=\"color: navy\"><b> -> </b></span>tgt.extension <i>"ElementDefinition-extensions"</i><span style=\"color: navy\">;</span>\r\n src.path<span style=\"color: navy\"><b> -> </b></span>tgt.id <i>"ElementDefinition-id"</i><span style=\"color: navy\">;</span>\r\n src.path<span style=\"color: navy\"><b> -> </b></span>tgt.path <i>"ElementDefinition-path"</i><span style=\"color: navy\">;</span>\r\n src.representation<span style=\"color: navy\"><b> -> </b></span>tgt.representation <i>"ElementDefinition-representation"</i><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.sliceName <i>"ElementDefinition-sliceName"</i><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.id <i>"ElementDefinition-id"</i><span style=\"color: navy\">;</span>\r\n src.label<span style=\"color: navy\"><b> -> </b></span>tgt.label <i>"ElementDefinition-label"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"ElementDefinition-code"</i><span style=\"color: navy\">;</span>\r\n src.slicing<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.slicing<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.discriminator<b> as </b><span style=\"color: maroon\">vs1</span><span style=\"color: navy\"><b> -> </b></span> vt0.discriminator<b> as </b><span style=\"color: maroon\">vd1</span><span style=\"color: navy\">, </span> vd1.type = <span style=\"color: blue\">'value'</span><span style=\"color: navy\">, </span> vd1.path = <span style=\"color: maroon\">vs1</span> <i>"slicing-discriminator"</i><span style=\"color: navy\">;</span>\r\n vs0.description<span style=\"color: navy\"><b> -> </b></span>vt0.description <i>"slicing-description"</i><span style=\"color: navy\">;</span>\r\n vs0.ordered<span style=\"color: navy\"><b> -> </b></span>vt0.ordered <i>"slicing-ordered"</i><span style=\"color: navy\">;</span>\r\n vs0.rules<span style=\"color: navy\"><b> -> </b></span>vt0.rules <i>"slicing-rules"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ElementDefinition-slicing"</i><span style=\"color: navy\">;</span>\r\n src.short<span style=\"color: navy\"><b> -> </b></span>tgt.short <i>"ElementDefinition-short"</i><span style=\"color: navy\">;</span>\r\n src.definition<span style=\"color: navy\"><b> -> </b></span>tgt.definition <i>"ElementDefinition-definition"</i><span style=\"color: navy\">;</span>\r\n src.comments<span style=\"color: navy\"><b> -> </b></span>tgt.comment <i>"ElementDefinition-comments"</i><span style=\"color: navy\">;</span>\r\n src.requirements<span style=\"color: navy\"><b> -> </b></span>tgt.requirements <i>"ElementDefinition-requirements"</i><span style=\"color: navy\">;</span>\r\n src.alias<span style=\"color: navy\"><b> -> </b></span>tgt.alias <i>"ElementDefinition-alias"</i><span style=\"color: navy\">;</span>\r\n src.min<span style=\"color: navy\"><b> -> </b></span>tgt.min <i>"ElementDefinition-min"</i><span style=\"color: navy\">;</span>\r\n src.max<span style=\"color: navy\"><b> -> </b></span>tgt.max <i>"ElementDefinition-max"</i><span style=\"color: navy\">;</span>\r\n src.base<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.base<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.path<span style=\"color: navy\"><b> -> </b></span>vt0.path <i>"base-path"</i><span style=\"color: navy\">;</span>\r\n vs0.min<span style=\"color: navy\"><b> -> </b></span>vt0.min <i>"base-min"</i><span style=\"color: navy\">;</span>\r\n vs0.max<span style=\"color: navy\"><b> -> </b></span>vt0.max <i>"base-max"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ElementDefinition-base"</i><span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>first.not()<span style=\"color: navy\"><b> -> </b></span>tgt.type<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>type<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ElementDefinition-type"</i><span style=\"color: navy\">;</span>\r\n src.nameReference<span style=\"color: navy\"><b> -> </b></span>tgt.contentReference <i>"ElementDefinition-nameReference"</i><span style=\"color: navy\">;</span>\r\n src.defaultValue<span style=\"color: navy\"><b> -> </b></span>tgt.defaultValue <i>"ElementDefinition-defaultValue"</i><span style=\"color: navy\">;</span>\r\n src.meaningWhenMissing<span style=\"color: navy\"><b> -> </b></span>tgt.meaningWhenMissing <i>"ElementDefinition-meaningWhenMissing"</i><span style=\"color: navy\">;</span>\r\n src.example<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.example<b> as </b><span style=\"color: maroon\">ve</span><span style=\"color: navy\">, </span> ve.label = <span style=\"color: blue\">'General'</span><span style=\"color: navy\">, </span> ve.value = <span style=\"color: maroon\">v</span> <i>"ElementDefinition-example"</i><span style=\"color: navy\">;</span>\r\n src.fixed<span style=\"color: navy\"><b> -> </b></span>tgt.fixed <i>"ElementDefinition-fixed"</i><span style=\"color: navy\">;</span>\r\n src.pattern<span style=\"color: navy\"><b> -> </b></span>tgt.pattern <i>"ElementDefinition-pattern"</i><span style=\"color: navy\">;</span>\r\n src.minValue<span style=\"color: navy\"><b> -> </b></span>tgt.minValue <i>"ElementDefinition-minValue"</i><span style=\"color: navy\">;</span>\r\n src.maxValue<span style=\"color: navy\"><b> -> </b></span>tgt.maxValue <i>"ElementDefinition-maxValue"</i><span style=\"color: navy\">;</span>\r\n src.maxLength<span style=\"color: navy\"><b> -> </b></span>tgt.maxLength <i>"ElementDefinition-maxLength"</i><span style=\"color: navy\">;</span>\r\n src.condition<span style=\"color: navy\"><b> -> </b></span>tgt.condition <i>"ElementDefinition-condition"</i><span style=\"color: navy\">;</span>\r\n src.constraint<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.constraint<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>constraint<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ElementDefinition-constraint"</i><span style=\"color: navy\">;</span>\r\n src.mustSupport<span style=\"color: navy\"><b> -> </b></span>tgt.mustSupport <i>"ElementDefinition-mustSupport"</i><span style=\"color: navy\">;</span>\r\n src.isModifier<span style=\"color: navy\"><b> -> </b></span>tgt.isModifier <i>"ElementDefinition-isModifier"</i><span style=\"color: navy\">;</span>\r\n src.isSummary<span style=\"color: navy\"><b> -> </b></span>tgt.isSummary <i>"ElementDefinition-isSummary"</i><span style=\"color: navy\">;</span>\r\n src.binding<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.binding<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>binding<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ElementDefinition-binding"</i><span style=\"color: navy\">;</span>\r\n src.mapping<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.mapping<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>mapping<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"ElementDefinition-mapping"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>binding<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.strength<span style=\"color: navy\"><b> -> </b></span>tgt.strength <i>"binding-strength"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"binding-description"</i><span style=\"color: navy\">;</span>\r\n src.valueSet<span style=\"color: navy\"><b> -> </b></span>tgt.valueSet <i>"binding-valueSet"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>type<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"type-code"</i><span style=\"color: navy\">;</span>\r\n src.profile<b> where </b>src.code = 'Reference'<span style=\"color: navy\"><b> -> </b></span>tgt.profile <i>"type-profile1"</i><span style=\"color: navy\">;</span>\r\n src.profile<b> where </b>src.code != 'Reference'<span style=\"color: navy\"><b> -> </b></span>tgt.targetProfile <i>"type-profile2"</i><span style=\"color: navy\">;</span>\r\n src.aggregation<span style=\"color: navy\"><b> -> </b></span>tgt.aggregation <i>"type-aggregation"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>constraint<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.key<span style=\"color: navy\"><b> -> </b></span>tgt.key <i>"constraint-key"</i><span style=\"color: navy\">;</span>\r\n src.requirements<span style=\"color: navy\"><b> -> </b></span>tgt.requirements <i>"constraint-requirements"</i><span style=\"color: navy\">;</span>\r\n src.severity<span style=\"color: navy\"><b> -> </b></span>tgt.severity <i>"constraint-severity"</i><span style=\"color: navy\">;</span>\r\n src.human<span style=\"color: navy\"><b> -> </b></span>tgt.human <i>"constraint-human"</i><span style=\"color: navy\">;</span>\r\n src.xpath<span style=\"color: navy\"><b> -> </b></span>tgt.xpath <i>"constraint-xpath"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgt.expression = <span style=\"color: blue\">'todo'</span> <i>"constraint-expression"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>mapping<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.identity<span style=\"color: navy\"><b> -> </b></span>tgt.identity <i>"mapping-identity"</i><span style=\"color: navy\">;</span>\r\n src.language<span style=\"color: navy\"><b> -> </b></span>tgt.language <i>"mapping-language"</i><span style=\"color: navy\">;</span>\r\n src.map<span style=\"color: navy\"><b> -> </b></span>tgt.map <i>"mapping-map"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/ElementDefinition2to3",
"version" : "0.1.0",
"name" : "ElementDefinition2to3",
"title" : "ElementDefinition Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "ElementDefinitionTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/ElementDefinition",
"mode" : "source",
"alias" : "ElementDefinitionR2"
},
{
"url" : "http://hl7.org/fhir/3.0/ElementDefinition",
"mode" : "target",
"alias" : "ElementDefinition"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "ElementDefinition",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ElementDefinitionR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ElementDefinition",
"mode" : "target"
},
{
"name" : "first",
"type" : "boolean",
"mode" : "target"
}
],
"rule" : [
{
"name" : "ElementDefinition-extensions",
"source" : [
{
"context" : "src",
"element" : "extension",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "extension",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-id",
"source" : [
{
"context" : "src",
"element" : "path",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "id",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-path",
"source" : [
{
"context" : "src",
"element" : "path",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "path",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-representation",
"source" : [
{
"context" : "src",
"element" : "representation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "representation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-sliceName",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sliceName",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-id",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "id",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-label",
"source" : [
{
"context" : "src",
"element" : "label",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "label",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-slicing",
"source" : [
{
"context" : "src",
"element" : "slicing",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "slicing",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "slicing-discriminator",
"source" : [
{
"context" : "vs0",
"element" : "discriminator",
"variable" : "vs1"
}
],
"target" : [
{
"context" : "vt0",
"element" : "discriminator",
"variable" : "vd1"
},
{
"context" : "vd1",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "value"
}
]
},
{
"context" : "vd1",
"element" : "path",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vs1"
}
]
}
]
},
{
"name" : "slicing-description",
"source" : [
{
"context" : "vs0",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "slicing-ordered",
"source" : [
{
"context" : "vs0",
"element" : "ordered",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "ordered",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "slicing-rules",
"source" : [
{
"context" : "vs0",
"element" : "rules",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "rules",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ElementDefinition-short",
"source" : [
{
"context" : "src",
"element" : "short",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "short",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-definition",
"source" : [
{
"context" : "src",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-comments",
"source" : [
{
"context" : "src",
"element" : "comments",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-requirements",
"source" : [
{
"context" : "src",
"element" : "requirements",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requirements",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-alias",
"source" : [
{
"context" : "src",
"element" : "alias",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "alias",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-min",
"source" : [
{
"context" : "src",
"element" : "min",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "min",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-max",
"source" : [
{
"context" : "src",
"element" : "max",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "max",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-base",
"source" : [
{
"context" : "src",
"element" : "base",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "base",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "base-path",
"source" : [
{
"context" : "vs0",
"element" : "path",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "path",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "base-min",
"source" : [
{
"context" : "vs0",
"element" : "min",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "min",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "base-max",
"source" : [
{
"context" : "vs0",
"element" : "max",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "max",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ElementDefinition-type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vs0",
"condition" : "first.not()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "type",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ElementDefinition-nameReference",
"source" : [
{
"context" : "src",
"element" : "nameReference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contentReference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-defaultValue",
"source" : [
{
"context" : "src",
"element" : "defaultValue",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "defaultValue",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-meaningWhenMissing",
"source" : [
{
"context" : "src",
"element" : "meaningWhenMissing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "meaningWhenMissing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-example",
"source" : [
{
"context" : "src",
"element" : "example",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "example",
"variable" : "ve"
},
{
"context" : "ve",
"element" : "label",
"transform" : "copy",
"parameter" : [
{
"valueString" : "General"
}
]
},
{
"context" : "ve",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "ElementDefinition-fixed",
"source" : [
{
"context" : "src",
"element" : "fixed",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "fixed",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-pattern",
"source" : [
{
"context" : "src",
"element" : "pattern",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "pattern",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-minValue",
"source" : [
{
"context" : "src",
"element" : "minValue",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "minValue",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-maxValue",
"source" : [
{
"context" : "src",
"element" : "maxValue",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "maxValue",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-maxLength",
"source" : [
{
"context" : "src",
"element" : "maxLength",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "maxLength",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-condition",
"source" : [
{
"context" : "src",
"element" : "condition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "condition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-constraint",
"source" : [
{
"context" : "src",
"element" : "constraint",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "constraint",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "constraint",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ElementDefinition-mustSupport",
"source" : [
{
"context" : "src",
"element" : "mustSupport",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "mustSupport",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-isModifier",
"source" : [
{
"context" : "src",
"element" : "isModifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "isModifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-isSummary",
"source" : [
{
"context" : "src",
"element" : "isSummary",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "isSummary",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-binding",
"source" : [
{
"context" : "src",
"element" : "binding",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "binding",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "binding",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ElementDefinition-mapping",
"source" : [
{
"context" : "src",
"element" : "mapping",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "mapping",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "mapping",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
}
]
},
{
"name" : "binding",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "binding-strength",
"source" : [
{
"context" : "src",
"element" : "strength",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "strength",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "binding-description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "binding-valueSet",
"source" : [
{
"context" : "src",
"element" : "valueSet",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "valueSet",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "type",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type-profile1",
"source" : [
{
"context" : "src",
"element" : "profile",
"variable" : "vvv",
"condition" : "src.code = 'Reference'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "profile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type-profile2",
"source" : [
{
"context" : "src",
"element" : "profile",
"variable" : "vvv",
"condition" : "src.code != 'Reference'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "targetProfile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type-aggregation",
"source" : [
{
"context" : "src",
"element" : "aggregation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "aggregation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "constraint",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "constraint-key",
"source" : [
{
"context" : "src",
"element" : "key",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "key",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "constraint-requirements",
"source" : [
{
"context" : "src",
"element" : "requirements",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requirements",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "constraint-severity",
"source" : [
{
"context" : "src",
"element" : "severity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "severity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "constraint-human",
"source" : [
{
"context" : "src",
"element" : "human",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "human",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "constraint-xpath",
"source" : [
{
"context" : "src",
"element" : "xpath",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "xpath",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "constraint-expression",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expression",
"transform" : "copy",
"parameter" : [
{
"valueString" : "todo"
}
]
}
]
}
]
},
{
"name" : "mapping",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "mapping-identity",
"source" : [
{
"context" : "src",
"element" : "identity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "mapping-language",
"source" : [
{
"context" : "src",
"element" : "language",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "language",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "mapping-map",
"source" : [
{
"context" : "src",
"element" : "map",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "map",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}