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" : "ElementDefinition3to2",
"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/ElementDefinition3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ElementDefinition3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ElementDefinition Transforms: R3 to R2'</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/3.0/ElementDefinition<span style=\"color: navy\">" </span><b>alias </b>ElementDefinition <b>as </b><b>source</b>\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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<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\">srcR</span><span style=\"color: navy\"> : </span>Resource, <b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ElementDefinition, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ElementDefinitionR2<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.path <i>"ElementDefinition-path"</i><span style=\"color: navy\">;</span>\r\n src.sliceName<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"ElementDefinition-name"</i><span style=\"color: navy\">;</span>\r\n src.representation<b> where </b>$this = 'xmlAttr'<span style=\"color: navy\"><b> -> </b></span>tgt.representation <i>"ElementDefinition-representation"</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\">vd1</span><b> then </b>edDiscriminator<span style=\"color: navy\">(</span><span style=\"color: maroon\">vd1</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</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.comment<span style=\"color: navy\"><b> -> </b></span>tgt.comments <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><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<b> where </b>path.contains('.').not() and src.type.empty() and src.contentReference.empty() and srcR.is(StructureDefinition)<span style=\"color: navy\"><b> -> </b></span>tgt.type<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcR.baseDefinition<b> as </b><span style=\"color: maroon\">base</span><span style=\"color: navy\"><b> -> </b></span>vt0.code = <span style=\"color: navy\">(</span>base.substring(40)<span style=\"color: navy\">)</span> <i>"type-code"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"ElementDefinition-type-1st"</i><span style=\"color: navy\">;</span>\r\n src.contentReference<span style=\"color: navy\"><b> -> </b></span>tgt.nameReference <i>"ElementDefinition-contentReference"</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 first<b> as </b><span style=\"color: maroon\">exv</span><b> then</b><span style=\"color: navy\"> {\r\n</span> exv.value<span style=\"color: navy\"><b> -> </b></span>tgt.example <i>"ElementDefinition-example-v"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</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>edDiscriminator<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.path<b> where </b>type = 'value'<span style=\"color: navy\"><b> -> </b></span>tgt.discriminator <i>"binding-strength"</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.targetProfile.empty()<span style=\"color: navy\"><b> -> </b></span>tgt.profile <i>"type-profile1"</i><span style=\"color: navy\">;</span>\r\n src.targetProfile<span style=\"color: navy\"><b> -> </b></span>tgt.profile <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<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/ElementDefinition3to2",
"version" : "0.1.0",
"name" : "ElementDefinition3to2",
"title" : "ElementDefinition Transforms: R3 to R2",
"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" : "ElementDefinitionTransformsR3toR2",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/ElementDefinition",
"mode" : "source",
"alias" : "ElementDefinition"
},
{
"url" : "http://hl7.org/fhir/1.0/ElementDefinition",
"mode" : "target",
"alias" : "ElementDefinitionR2"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*3to2"
],
"group" : [
{
"name" : "ElementDefinition",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "srcR",
"type" : "Resource",
"mode" : "source"
},
{
"name" : "src",
"type" : "ElementDefinition",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ElementDefinitionR2",
"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-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-name",
"source" : [
{
"context" : "src",
"element" : "sliceName",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ElementDefinition-representation",
"source" : [
{
"context" : "src",
"element" : "representation",
"variable" : "vvv",
"condition" : "$this = 'xmlAttr'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "representation",
"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" : "vd1"
}
],
"dependent" : [
{
"name" : "edDiscriminator",
"parameter" : [
{
"valueId" : "vd1"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"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" : "comment",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comments",
"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"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "type",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "ElementDefinition-type-1st",
"source" : [
{
"context" : "src",
"condition" : "path.contains('.').not() and src.type.empty() and src.contentReference.empty() and srcR.is(StructureDefinition)"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "type-code",
"source" : [
{
"context" : "srcR",
"element" : "baseDefinition",
"variable" : "base"
}
],
"target" : [
{
"context" : "vt0",
"element" : "code",
"transform" : "evaluate",
"parameter" : [
{
"valueString" : "base.substring(40)"
}
]
}
]
}
]
},
{
"name" : "ElementDefinition-contentReference",
"source" : [
{
"context" : "src",
"element" : "contentReference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "nameReference",
"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",
"listMode" : "first",
"variable" : "exv"
}
],
"rule" : [
{
"name" : "ElementDefinition-example-v",
"source" : [
{
"context" : "exv",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "example",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"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" : "edDiscriminator",
"extends" : "Element",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "binding-strength",
"source" : [
{
"context" : "src",
"element" : "path",
"variable" : "vvv",
"condition" : "type = 'value'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "discriminator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"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.targetProfile.empty()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "profile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type-profile2",
"source" : [
{
"context" : "src",
"element" : "targetProfile",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "profile",
"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" : "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"
}
]
}
]
}
]
}
]
}