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="ConceptMap5to4B"/>
<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/ConceptMap5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ConceptMap5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for ConceptMap: R5 to R4B'</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/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><b> prefix </b>t<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>
s<span style="color: navy">:</span>"use-source-code" <b>-</b> t<span style="color: navy">:</span>provided
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/R5/codesystem-concept-map-relationship.html" title="ConceptMapRelationship">http://hl7.org/fhir/concept-map-relationship</a><span style="color: navy">"
</span><b> prefix </b>t<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>
s<span style="color: navy">:</span>"related-to" <b>-</b> t<span style="color: navy">:</span>relatedto
s<span style="color: navy">:</span>equivalent <b>-</b> t<span style="color: navy">:</span>equivalent
s<span style="color: navy">:</span>"source-is-narrower-than-target" <b>-</b> t<span style="color: navy">:</span>wider
s<span style="color: navy">:</span>"source-is-broader-than-target" <b>-</b> t<span style="color: navy">:</span>narrower
s<span style="color: navy">:</span>"not-related-to" <b>-</b> t<span style="color: navy">:</span>unmatched
<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/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">"
</span><b> prefix </b>t<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>
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/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>source</b>
<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>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<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>ConceptMapR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ConceptMapR4B<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.sourceScope<span style="color: navy"> : </span>uri<span style="color: navy"><b> -> </b></span>tgt.source<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -> tgt.copyrightLabel;</span>
src.sourceScope<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -> </b></span>tgt.source<span style="color: navy">;</span>
src.targetScope<span style="color: navy"> : </span>uri<span style="color: navy"><b> -> </b></span>tgt.target<span style="color: navy">;</span>
src.targetScope<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -> </b></span>tgt.target<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: maroon">src</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>, <b>source</b> <span style="color: maroon">srcMap</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: maroon">srcMap</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>, <b>source</b> <span style="color: maroon">srcMap</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.noMap<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.target<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.equivalence = <span style="color: blue">'unmatched'</span><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><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: maroon">srcMap</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>, <b>source</b> <span style="color: maroon">srcMap</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.relationship<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.equivalence = <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: maroon">srcMap</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: maroon">srcMap</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>, <b>source</b> <span style="color: maroon">srcMap</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.attribute<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.property = <span style="color: navy">(</span>%srcMap.additionalAttribute.where(code = %s).uri<span style="color: navy">)</span><span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>code<span style="color: navy"><b> -> </b></span>tgt.value<span style="color: navy">;</span>
src.value<span style="color: navy"> : </span>Coding<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.system<span style="color: navy"><b> -> </b></span>tgt.system<span style="color: navy">;</span>
s.code<span style="color: navy"><b> -> </b></span>tgt.value<span style="color: navy">;</span>
s.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">todo: look up system from srcMap.additionalAttribute</span>
src.value<span style="color: navy"> : </span>string<span style="color: navy"><b> -> </b></span>tgt.value<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.otherMap<span style="color: navy"><b> -> </b></span>tgt.url<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/conceptmap-unmapped-mode"/>
<target value="http://hl7.org/fhir/4.3/conceptmap-unmapped-mode"/>
<element>
<code value="use-source-code"/>
<target>
<code value="provided"/>
<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/concept-map-relationship"/>
<target value="http://hl7.org/fhir/4.3/concept-map-equivalence"/>
<element>
<code value="related-to"/>
<target>
<code value="relatedto"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="equivalent"/>
<target>
<code value="equivalent"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="source-is-narrower-than-target"/>
<target>
<code value="wider"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="source-is-broader-than-target"/>
<target>
<code value="narrower"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="not-related-to"/>
<target>
<code value="unmatched"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="PublicationStatus"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/publication-status"/>
<target value="http://hl7.org/fhir/4.3/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/ConceptMap5to4B"/>
<version value="1.0.0"/>
<name value="ConceptMap5to4B"/>
<title value="FML Conversion for ConceptMap: R5 to R4B"/>
<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="FMLConversionforConceptMapR5toR4B"/>
<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/StructureDefinition/ConceptMap"/>
<mode value="source"/>
<alias value="ConceptMapR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.3/StructureDefinition/ConceptMap"/>
<mode value="target"/>
<alias value="ConceptMapR4B"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
<group>
<name value="ConceptMap"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ConceptMapR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="ConceptMapR4B"/>
<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="sourceScopeUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="sourceScope"/>
<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>
<documentation value="src.copyrightLabel -> tgt.copyrightLabel;"/>
</rule>
<rule>
<name value="sourceScopeCanonical"/>
<source>
<context value="src"/>
<type value="canonical"/>
<element value="sourceScope"/>
<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="targetScopeUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="targetScope"/>
<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="targetScopeCanonical"/>
<source>
<context value="src"/>
<type value="canonical"/>
<element value="targetScope"/>
<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="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>
<parameter>
<valueId value="src"/>
</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>
<input>
<name value="srcMap"/>
<mode value="source"/>
</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>
<parameter>
<valueId value="srcMap"/>
</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>
<input>
<name value="srcMap"/>
<mode value="source"/>
</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="noMap"/>
<source>
<context value="src"/>
<element value="noMap"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="target"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="equivalence"/>
<transform value="copy"/>
<parameter>
<valueString value="unmatched"/>
</parameter>
</target>
<documentation value="src.valueSet -> tgt.valueSet;"/>
</rule>
<rule>
<name value="target"/>
<source>
<context value="src"/>
<element value="target"/>
<variable value="s"/>
</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>
<parameter>
<valueId value="srcMap"/>
</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>
<input>
<name value="srcMap"/>
<mode value="source"/>
</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="relationship"/>
<source>
<context value="src"/>
<element value="relationship"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="equivalence"/>
<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>
<parameter>
<valueId value="srcMap"/>
</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>
<parameter>
<valueId value="srcMap"/>
</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>
<input>
<name value="srcMap"/>
<mode value="source"/>
</input>
<rule>
<name value="attribute"/>
<source>
<context value="src"/>
<element value="attribute"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="property"/>
<transform value="evaluate"/>
<parameter>
<valueString
value="%srcMap.additionalAttribute.where(code = %s).uri"/>
</parameter>
</target>
</rule>
<rule>
<name value="valueCode"/>
<source>
<context value="src"/>
<type value="code"/>
<element value="value"/>
<variable value="vvv"/>
</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>
</rule>
<rule>
<name value="valueCoding"/>
<source>
<context value="src"/>
<type value="Coding"/>
<element value="value"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="system"/>
<source>
<context value="s"/>
<element value="system"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<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="code"/>
<source>
<context value="s"/>
<element value="code"/>
<variable value="vvv"/>
</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>
</rule>
<rule>
<name value="display"/>
<source>
<context value="s"/>
<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>
<documentation
value="todo: look up system from srcMap.additionalAttribute"/>
</rule>
<rule>
<name value="valueString"/>
<source>
<context value="src"/>
<type value="string"/>
<element value="value"/>
<variable value="vvv"/>
</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>
</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="otherMap"/>
<source>
<context value="src"/>
<element value="otherMap"/>
<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>
<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