FHIR Extensions Pack
5.1.0-ballot1 - Ballot for Release 5.1.0 International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) 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

: FML Conversion for Signature: R5 to R4B - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Signature5to4B"/>
  <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/Signature5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Signature5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for Signature: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/datatypes.html#Signature" title="Signature">http://hl7.org/fhir/StructureDefinition/Signature</a><span style="color: navy">&quot; </span><b>alias </b>SignatureR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/datatypes.html#Signature" title="Signature">http://hl7.org/fhir/4.3/StructureDefinition/Signature</a><span style="color: navy">&quot; </span><b>alias </b>SignatureR4B <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">&quot;
</span>
<b>group </b>Signature<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SignatureR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SignatureR4B<span style="color: navy">)</span><b> extends </b>Element<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.when<span style="color: navy"><b> -&gt; </b></span>tgt.when<span style="color: navy">;</span>
  src.who<span style="color: navy"><b> -&gt; </b></span>tgt.who<span style="color: navy">;</span>
  src.onBehalfOf<span style="color: navy"><b> -&gt; </b></span>tgt.onBehalfOf<span style="color: navy">;</span>
  src.targetFormat<span style="color: navy"><b> -&gt; </b></span>tgt.targetFormat<span style="color: navy">;</span>
  src.sigFormat<span style="color: navy"><b> -&gt; </b></span>tgt.sigFormat<span style="color: navy">;</span>
  src.data<span style="color: navy"><b> -&gt; </b></span>tgt.data<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <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/Signature5to4B"/>
  <version value="5.1.0-ballot1"/>
  <name value="Signature5to4B"/>
  <title value="FML Conversion for Signature: R5 to R4B"/>
  <status value="active"/>
  <date value="2023-12-19T08:40:03+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="FMLConversionforSignatureR5toR4B"/>
  <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/Signature"/>
    <mode value="source"/>
    <alias value="SignatureR5"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.3/StructureDefinition/Signature"/>
    <mode value="target"/>
    <alias value="SignatureR4B"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
  <group>
    <name value="Signature"/>
    <extends value="Element"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="SignatureR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="SignatureR4B"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="when"/>
      <source>
        <context value="src"/>
        <element value="when"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="when"/>
        <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="who"/>
      <source>
        <context value="src"/>
        <element value="who"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="who"/>
        <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="onBehalfOf"/>
      <source>
        <context value="src"/>
        <element value="onBehalfOf"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onBehalfOf"/>
        <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="targetFormat"/>
      <source>
        <context value="src"/>
        <element value="targetFormat"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="targetFormat"/>
        <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="sigFormat"/>
      <source>
        <context value="src"/>
        <element value="sigFormat"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sigFormat"/>
        <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="data"/>
      <source>
        <context value="src"/>
        <element value="data"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="data"/>
        <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>