This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. 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="RelatedArtifact4Bto5"/>
<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/RelatedArtifact4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'RelatedArtifact4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for RelatedArtifact: 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>RelatedArtifactPublicationStatus<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>conceptmap</b><span style="color: navy"> "</span>RelatedArtifactType<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4B/codesystem-related-artifact-type.html" title="RelatedArtifactType">http://hl7.org/fhir/4.3/related-artifact-type</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-related-artifact-type.html" title="RelatedArtifactType">http://hl7.org/fhir/related-artifact-type</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>documentation <b>-</b> t<span style="color: navy">:</span>documentation
s<span style="color: navy">:</span>justification <b>-</b> t<span style="color: navy">:</span>justification
s<span style="color: navy">:</span>citation <b>-</b> t<span style="color: navy">:</span>citation
s<span style="color: navy">:</span>predecessor <b>-</b> t<span style="color: navy">:</span>predecessor
s<span style="color: navy">:</span>successor <b>-</b> t<span style="color: navy">:</span>successor
s<span style="color: navy">:</span>"derived-from" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>derived-from<span style="color: navy">"</span>
s<span style="color: navy">:</span>"depends-on" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>depends-on<span style="color: navy">"</span>
s<span style="color: navy">:</span>"composed-of" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>composed-of<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4B/metadatatypes.html#RelatedArtifact" title="RelatedArtifact">http://hl7.org/fhir/4.3/StructureDefinition/RelatedArtifact</a><span style="color: navy">" </span><b>alias </b>RelatedArtifactR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/metadatatypes.html#RelatedArtifact" title="RelatedArtifact">http://hl7.org/fhir/StructureDefinition/RelatedArtifact</a><span style="color: navy">" </span><b>alias </b>RelatedArtifactR5 <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>RelatedArtifact<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>RelatedArtifactR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>RelatedArtifactR5<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#RelatedArtifactType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.label<span style="color: navy"><b> -> </b></span>tgt.label<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
src.citation<span style="color: navy"><b> -> </b></span>tgt.citation<span style="color: navy">;</span>
src.document<span style="color: navy"><b> -> </b></span>tgt.document<span style="color: navy">;</span>
src.resource<span style="color: navy"><b> -> </b></span>tgt.resource<span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<contained>
<ConceptMap>
<id value="RelatedArtifactPublicationStatus"/>
<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>
<contained>
<ConceptMap>
<id value="RelatedArtifactType"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/4.3/related-artifact-type"/>
<target value="http://hl7.org/fhir/related-artifact-type"/>
<element>
<code value="documentation"/>
<target>
<code value="documentation"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="justification"/>
<target>
<code value="justification"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="citation"/>
<target>
<code value="citation"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="predecessor"/>
<target>
<code value="predecessor"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="successor"/>
<target>
<code value="successor"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="derived-from"/>
<target>
<code value="derived-from"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="depends-on"/>
<target>
<code value="depends-on"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="composed-of"/>
<target>
<code value="composed-of"/>
<relationship value="related-to"/>
<comment value="introduced in R5"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<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/RelatedArtifact4Bto5"/>
<version value="5.1.0-snapshot1"/>
<name value="RelatedArtifact4Bto5"/>
<title value="FML Conversion for RelatedArtifact: R4B to R5"/>
<status value="active"/>
<date value="2024-03-12T13:30:10+11:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="FMLConversionforRelatedArtifactR4BtoR5"/>
<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/RelatedArtifact"/>
<mode value="source"/>
<alias value="RelatedArtifactR4B"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/RelatedArtifact"/>
<mode value="target"/>
<alias value="RelatedArtifactR5"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
<group>
<name value="RelatedArtifact"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="RelatedArtifactR4B"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="RelatedArtifactR5"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="type"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#RelatedArtifactType"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="label"/>
<source>
<context value="src"/>
<element value="label"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="label"/>
<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="citation"/>
<source>
<context value="src"/>
<element value="citation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="citation"/>
<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="document"/>
<source>
<context value="src"/>
<element value="document"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="document"/>
<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="resource"/>
<source>
<context value="src"/>
<element value="resource"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="resource"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>