This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="ConceptMap4Bto5"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/ConceptMap4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ConceptMap4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for ConceptMap: R4B to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>conceptmap</b><span style="color: navy"> "</span>ConceptMapGroupUnmappedMode<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4B/codesystem-conceptmap-unmapped-mode.html" title="ConceptMapGroupUnmappedMode">http://hl7.org/fhir/4.3/conceptmap-unmapped-mode</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-conceptmap-unmapped-mode.html" title="Concept Map Group Unmapped Mode">http://hl7.org/fhir/conceptmap-unmapped-mode</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>provided <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>use-source-code<span style="color: navy">"</span>
s<span style="color: navy">:</span>fixed <b>-</b> t<span style="color: navy">:</span>fixed
s<span style="color: navy">:</span>"other-map" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>other-map<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ConceptMapRelationship<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4B/codesystem-concept-map-equivalence.html" title="ConceptMapEquivalence">http://hl7.org/fhir/4.3/concept-map-equivalence</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html" title="ConceptMapRelationship">http://hl7.org/fhir/concept-map-relationship</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>relatedto <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>related-to<span style="color: navy">"</span>
s<span style="color: navy">:</span>inexact <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>related-to<span style="color: navy">"</span>
s<span style="color: navy">:</span>equivalent <b>-</b> t<span style="color: navy">:</span>equivalent
s<span style="color: navy">:</span>equal <b>-</b> t<span style="color: navy">:</span>equivalent
s<span style="color: navy">:</span>wider <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>source-is-narrower-than-target<span style="color: navy">"</span>
s<span style="color: navy">:</span>subsumes <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>source-is-narrower-than-target<span style="color: navy">"</span>
s<span style="color: navy">:</span>narrower <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>source-is-broader-than-target<span style="color: navy">"</span>
s<span style="color: navy">:</span>specializes <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>source-is-broader-than-target<span style="color: navy">"</span>
s<span style="color: navy">:</span>unmatched <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>not-related-to<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>PublicationStatus<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4B/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.3/publication-status</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
s<span style="color: navy">:</span>retired <b>-</b> t<span style="color: navy">:</span>retired
s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}
</span><b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4B/conceptmap.html" title="ConceptMap">http://hl7.org/fhir/4.3/StructureDefinition/ConceptMap</a><span style="color: navy">" </span><b>alias </b>ConceptMapR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/conceptmap.html" title="ConceptMap">http://hl7.org/fhir/StructureDefinition/ConceptMap</a><span style="color: navy">" </span><b>alias </b>ConceptMapR5 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">"
</span>
<b>group </b>ConceptMap<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ConceptMapR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ConceptMapR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.url<span style="color: navy"><b> -> </b></span>tgt.url<span style="color: navy">;</span>
src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.version<span style="color: navy"><b> -> </b></span>tgt.version<span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -> tgt.versionAlgorithm;</span>
src.title<span style="color: navy"><b> -> </b></span>tgt.title<span style="color: navy">;</span>
src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.experimental<span style="color: navy"><b> -> </b></span>tgt.experimental<span style="color: navy">;</span>
src.date<span style="color: navy"><b> -> </b></span>tgt.date<span style="color: navy">;</span>
src.publisher<span style="color: navy"><b> -> </b></span>tgt.publisher<span style="color: navy">;</span>
src.contact<span style="color: navy"><b> -> </b></span>tgt.contact<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.useContext<span style="color: navy"><b> -> </b></span>tgt.useContext<span style="color: navy">;</span>
src.jurisdiction<span style="color: navy"><b> -> </b></span>tgt.jurisdiction<span style="color: navy">;</span>
src.purpose<span style="color: navy"><b> -> </b></span>tgt.purpose<span style="color: navy">;</span>
src.copyright<span style="color: navy"><b> -> </b></span>tgt.copyright<span style="color: navy">;</span>
src.source<span style="color: navy"> : </span>uri<span style="color: navy"><b> -> </b></span>tgt.sourceScope<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -> tgt.copyrightLabel;</span>
src.source<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -> </b></span>tgt.sourceScope<span style="color: navy">;</span>
src.target<span style="color: navy"> : </span>uri<span style="color: navy"><b> -> </b></span>tgt.targetScope<span style="color: navy">;</span>
src.target<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -> </b></span>tgt.targetScope<span style="color: navy">;</span>
src.group<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.group<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroup<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConceptMapGroup<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>BackboneElement<span style="color: navy"> {
</span> src.source<span style="color: navy"><b> -> </b></span>tgt.source<span style="color: navy">;</span>
src.target<span style="color: navy"><b> -> </b></span>tgt.target<span style="color: navy">;</span>
src.element<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.element<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroupElement<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.unmapped<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.unmapped<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroupUnmapped<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConceptMapGroupElement<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>BackboneElement<span style="color: navy"> {
</span> src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
src<b> where </b>src.target.all(equivalence = 'unmatched') as s<span style="color: navy"><b> -> </b></span> tgt.noMap<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.value = <span style="color: blue">'true'</span> <i>"unmapped"</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.valueSet -> tgt.valueSet;</span>
src.target<b> as </b><span style="color: maroon">s</span><b> where </b>s != unmatched<span style="color: navy"><b> -> </b></span>tgt.target<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroupElementTarget<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConceptMapGroupElementTarget<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>BackboneElement<span style="color: navy"> {
</span> src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
src.equivalence<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.relationship = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ConceptMapRelationship'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.valueSet -> tgt.valueSet;</span>
src.comment<span style="color: navy"><b> -> </b></span>tgt.comment<span style="color: navy">;</span>
src.dependsOn<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.dependsOn<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroupElementTargetDependsOn<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.property as s -> tgt.property as t then ConceptMapGroupElementTargetProperty(s,t);</span>
src.product<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.product<b> as </b><span style="color: maroon">t</span><b> then </b>ConceptMapGroupElementTargetDependsOn<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConceptMapGroupElementTargetDependsOn<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>BackboneElement<span style="color: navy"> {
</span> src.property<span style="color: navy"><b> -> </b></span>tgt.attribute<span style="color: navy">;</span>
src.value<b> where </b>src.system.empty()<span style="color: navy"><b> -> </b></span>tgt.value<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">todo: move the URL to ConceptMap.additionalAttribute - needs a new mapping language feature</span>
src<b> where </b>src.system.exists()<span style="color: navy"><b> -> </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">t</span><b> then</b><span style="color: navy"> {
</span> src.system<span style="color: navy"><b> -> </b></span>t.system<span style="color: navy">;</span>
src.value<span style="color: navy"><b> -> </b></span>t.code<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>t.display<span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"attributeValue"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConceptMapGroupUnmapped<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>BackboneElement<span style="color: navy"> {
</span> src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ConceptMapGroupUnmappedMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
src.url<span style="color: navy"><b> -> </b></span>tgt.otherMap<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.valueSet -> tgt.valueSet;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<contained>
<ConceptMap>
<id value="ConceptMapGroupUnmappedMode"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/4.3/conceptmap-unmapped-mode"/>
<target value="http://hl7.org/fhir/conceptmap-unmapped-mode"/>
<element>
<code value="provided"/>
<target>
<code value="use-source-code"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="fixed"/>
<target>
<code value="fixed"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="other-map"/>
<target>
<code value="other-map"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ConceptMapRelationship"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/4.3/concept-map-equivalence"/>
<target value="http://hl7.org/fhir/concept-map-relationship"/>
<element>
<code value="relatedto"/>
<target>
<code value="related-to"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="inexact"/>
<target>
<code value="related-to"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="equivalent"/>
<target>
<code value="equivalent"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="equal"/>
<target>
<code value="equivalent"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="wider"/>
<target>
<code value="source-is-narrower-than-target"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="subsumes"/>
<target>
<code value="source-is-narrower-than-target"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="narrower"/>
<target>
<code value="source-is-broader-than-target"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="specializes"/>
<target>
<code value="source-is-broader-than-target"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="unmatched"/>
<target>
<code value="not-related-to"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="PublicationStatus"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/4.3/publication-status"/>
<target value="http://hl7.org/fhir/publication-status"/>
<element>
<code value="draft"/>
<target>
<code value="draft"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="active"/>
<target>
<code value="active"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="retired"/>
<target>
<code value="retired"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="unknown"/>
<target>
<code value="unknown"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/fhir/StructureMap/ConceptMap4Bto5"/>
<version value="1.0.0"/>
<name value="ConceptMap4Bto5"/>
<title value="FML Conversion for ConceptMap: R4B to R5"/>
<status value="active"/>
<date value="2023-03-26T08:47:34+11:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/Special/committees/fhir-i"/>
</telecom>
</contact>
<description value="FMLConversionforConceptMapR4BtoR5"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<structure>
<url value="http://hl7.org/fhir/4.3/StructureDefinition/ConceptMap"/>
<mode value="source"/>
<alias value="ConceptMapR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
<mode value="target"/>
<alias value="ConceptMapR5"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
<group>
<name value="ConceptMap"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ConceptMapR4B"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="ConceptMapR5"/>
<mode value="target"/>
</input>
<rule>
<name value="url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="url"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="identifier"/>
<source>
<context value="src"/>
<element value="identifier"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="identifier"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="version"/>
<source>
<context value="src"/>
<element value="version"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="version"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation
value="src.versionAlgorithm : string -> tgt.versionAlgorithm;"/>
</rule>
<rule>
<name value="title"/>
<source>
<context value="src"/>
<element value="title"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="title"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="status"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#PublicationStatus"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="experimental"/>
<source>
<context value="src"/>
<element value="experimental"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="experimental"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="date"/>
<source>
<context value="src"/>
<element value="date"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="date"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="publisher"/>
<source>
<context value="src"/>
<element value="publisher"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="publisher"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="useContext"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="useContext"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="jurisdiction"/>
<source>
<context value="src"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="purpose"/>
<source>
<context value="src"/>
<element value="purpose"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="purpose"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="copyright"/>
<source>
<context value="src"/>
<element value="copyright"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="copyright"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="sourceUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="sourceScope"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.copyrightLabel -> tgt.copyrightLabel;"/>
</rule>
<rule>
<name value="sourceCanonical"/>
<source>
<context value="src"/>
<type value="canonical"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="sourceScope"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="targetUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="target"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="targetScope"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="targetCanonical"/>
<source>
<context value="src"/>
<type value="canonical"/>
<element value="target"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="targetScope"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="group"/>
<source>
<context value="src"/>
<element value="group"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="group"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroup"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="ConceptMapGroup"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="source"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="target"/>
<source>
<context value="src"/>
<element value="target"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="target"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="element"/>
<source>
<context value="src"/>
<element value="element"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="element"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroupElement"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="unmapped"/>
<source>
<context value="src"/>
<element value="unmapped"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="unmapped"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroupUnmapped"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="ConceptMapGroupElement"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="display"/>
<source>
<context value="src"/>
<element value="display"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="display"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="unmapped"/>
<source>
<context value="src"/>
<condition value="src.target.all(equivalence = 'unmatched') as s"/>
</source>
<target>
<context value="tgt"/>
<element value="noMap"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueString value="true"/>
</parameter>
</target>
<documentation value="src.valueSet -> tgt.valueSet;"/>
</rule>
<rule>
<name value="target"/>
<source>
<context value="src"/>
<element value="target"/>
<variable value="s"/>
<condition value="s != unmatched"/>
</source>
<target>
<context value="tgt"/>
<element value="target"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroupElementTarget"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="ConceptMapGroupElementTarget"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="display"/>
<source>
<context value="src"/>
<element value="display"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="display"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="equivalence"/>
<source>
<context value="src"/>
<element value="equivalence"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="relationship"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ConceptMapRelationship"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
<documentation value="src.valueSet -> tgt.valueSet;"/>
</rule>
<rule>
<name value="comment"/>
<source>
<context value="src"/>
<element value="comment"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="comment"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="dependsOn"/>
<source>
<context value="src"/>
<element value="dependsOn"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="dependsOn"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroupElementTargetDependsOn"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
<documentation
value="src.property as s -> tgt.property as t then ConceptMapGroupElementTargetProperty(s,t);"/>
</rule>
<rule>
<name value="product"/>
<source>
<context value="src"/>
<element value="product"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="product"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConceptMapGroupElementTargetDependsOn"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="ConceptMapGroupElementTargetDependsOn"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="property"/>
<source>
<context value="src"/>
<element value="property"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="attribute"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="value"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="vvv"/>
<condition value="src.system.empty()"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation
value="todo: move the URL to ConceptMap.additionalAttribute - needs a new mapping language feature"/>
</rule>
<rule>
<name value="attributeValue"/>
<source>
<context value="src"/>
<condition value="src.system.exists()"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<variable value="t"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<rule>
<name value="system"/>
<source>
<context value="src"/>
<element value="system"/>
<variable value="vvv"/>
</source>
<target>
<context value="t"/>
<element value="system"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="value"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="vvv"/>
</source>
<target>
<context value="t"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="display"/>
<source>
<context value="src"/>
<element value="display"/>
<variable value="vvv"/>
</source>
<target>
<context value="t"/>
<element value="display"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</rule>
</group>
<group>
<name value="ConceptMapGroupUnmapped"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="mode"/>
<source>
<context value="src"/>
<element value="mode"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="mode"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ConceptMapGroupUnmappedMode"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="display"/>
<source>
<context value="src"/>
<element value="display"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="display"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="otherMap"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.valueSet -> tgt.valueSet;"/>
</rule>
</group>
</StructureMap>
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#1.0.0 based on FHIR 5.0.0. Generated 2023-03-26
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change