FHIR Extensions Pack
5.1.0-cibuild - Working Copy International flag

FHIR Extensions Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 5.1.0-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-extensions/ and changes regularly. See the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Specimen4Bto5"/>
  <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/Specimen4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Specimen4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for Specimen: 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"> &quot;</span>SpecimenStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-specimen-status.html" title="SpecimenStatus">http://hl7.org/fhir/4.3/specimen-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-specimen-status.html" title="Specimen Status">http://hl7.org/fhir/specimen-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>available <b>-</b> t<span style="color: navy">:</span>available
  s<span style="color: navy">:</span>unavailable <b>-</b> t<span style="color: navy">:</span>unavailable
  s<span style="color: navy">:</span>unsatisfactory <b>-</b> t<span style="color: navy">:</span>unsatisfactory
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/specimen.html" title="Specimen">http://hl7.org/fhir/4.3/StructureDefinition/Specimen</a><span style="color: navy">&quot; </span><b>alias </b>SpecimenR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/specimen.html" title="Specimen">http://hl7.org/fhir/StructureDefinition/Specimen</a><span style="color: navy">&quot; </span><b>alias </b>SpecimenR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>Specimen<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SpecimenR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SpecimenR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.accessionIdentifier<span style="color: navy"><b> -&gt; </b></span>tgt.accessionIdentifier<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </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">'#SpecimenStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.subject<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.receivedTime<span style="color: navy"><b> -&gt; </b></span>tgt.receivedTime<span style="color: navy">;</span>
  src.parent<span style="color: navy"><b> -&gt; </b></span>tgt.parent<span style="color: navy">;</span>
  src.request<span style="color: navy"><b> -&gt; </b></span>tgt.request<span style="color: navy">;</span>
  src.collection<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.collection<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenCollection<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.combined as v -&gt; tgt.combined = translate(v, '#PublicationStatus', 'code');</span>
  src.processing<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.processing<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenProcessing<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.container<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.container<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenContainer<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.condition<span style="color: navy"><b> -&gt; </b></span>tgt.condition<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group SpecimenFeature(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.description -&gt; tgt.description;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>SpecimenCollection<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.collector<span style="color: navy"><b> -&gt; </b></span>tgt.collector<span style="color: navy">;</span>
  src.collected<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -&gt; </b></span>tgt.collected<span style="color: navy">;</span>
  src.collected<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.collected<span style="color: navy">;</span>
  src.duration<span style="color: navy"><b> -&gt; </b></span>tgt.duration<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.method<span style="color: navy"><b> -&gt; </b></span>tgt.method<span style="color: navy">;</span>
  src.bodySite<span style="color: navy"><b> -&gt; </b></span>tgt.bodySite<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.device -&gt; tgt.device;</span>
  src.fastingStatus<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.fastingStatus<span style="color: navy">;</span>
  src.fastingStatus<span style="color: navy"> : </span>Duration<span style="color: navy"><b> -&gt; </b></span>tgt.fastingStatus<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SpecimenProcessing<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.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.procedure<span style="color: navy"><b> -&gt; </b></span>tgt.method<span style="color: navy">;</span>
  src.additive<span style="color: navy"><b> -&gt; </b></span>tgt.additive<span style="color: navy">;</span>
  src.time<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -&gt; </b></span>tgt.time<span style="color: navy">;</span>
  src.time<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.time<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SpecimenContainer<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.specimenQuantity<span style="color: navy"><b> -&gt; </b></span>tgt.specimenQuantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.device -&gt; tgt.device;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="SpecimenStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/specimen-status"/>
        <target value="http://hl7.org/fhir/specimen-status"/>
        <element>
          <code value="available"/>
          <target>
            <code value="available"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unavailable"/>
          <target>
            <code value="unavailable"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unsatisfactory"/>
          <target>
            <code value="unsatisfactory"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </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/Specimen4Bto5"/>
  <version value="5.1.0-cibuild"/>
  <name value="Specimen4Bto5"/>
  <title value="FML Conversion for Specimen: R4B to R5"/>
  <status value="active"/>
  <date value="2024-04-03T19:53:55+00: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="FMLConversionforSpecimenR4BtoR5"/>
  <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/Specimen"/>
    <mode value="source"/>
    <alias value="SpecimenR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
    <mode value="target"/>
    <alias value="SpecimenR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="Specimen"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="SpecimenR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="SpecimenR5"/>
      <mode value="target"/>
    </input>
    <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="accessionIdentifier"/>
      <source>
        <context value="src"/>
        <element value="accessionIdentifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="accessionIdentifier"/>
        <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="#SpecimenStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <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="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <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="receivedTime"/>
      <source>
        <context value="src"/>
        <element value="receivedTime"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="receivedTime"/>
        <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="parent"/>
      <source>
        <context value="src"/>
        <element value="parent"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="parent"/>
        <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="request"/>
      <source>
        <context value="src"/>
        <element value="request"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="request"/>
        <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="collection"/>
      <source>
        <context value="src"/>
        <element value="collection"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="collection"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenCollection"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.combined as v -&gt; tgt.combined = translate(v, '#PublicationStatus', 'code');"/>
    </rule>
    <rule>
      <name value="processing"/>
      <source>
        <context value="src"/>
        <element value="processing"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="processing"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenProcessing"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="container"/>
      <source>
        <context value="src"/>
        <element value="container"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="container"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenContainer"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="condition"/>
      <source>
        <context value="src"/>
        <element value="condition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="condition"/>
        <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="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <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="SpecimenCollection"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group SpecimenFeature(source src, target tgt) extends BackboneElement {
src.type -&gt; tgt.type;
src.description -&gt; tgt.description;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="collector"/>
      <source>
        <context value="src"/>
        <element value="collector"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="collector"/>
        <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="collectedDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="collected"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="collected"/>
        <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="collectedPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="collected"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="collected"/>
        <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="duration"/>
      <source>
        <context value="src"/>
        <element value="duration"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="duration"/>
        <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="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <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="method"/>
      <source>
        <context value="src"/>
        <element value="method"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="method"/>
        <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="bodySite"/>
      <source>
        <context value="src"/>
        <element value="bodySite"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <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.device -&gt; tgt.device;"/>
    </rule>
    <rule>
      <name value="fastingStatusCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="fastingStatus"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fastingStatus"/>
        <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="fastingStatusDuration"/>
      <source>
        <context value="src"/>
        <type value="Duration"/>
        <element value="fastingStatus"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fastingStatus"/>
        <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="SpecimenProcessing"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="procedure"/>
      <source>
        <context value="src"/>
        <element value="procedure"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="method"/>
        <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="additive"/>
      <source>
        <context value="src"/>
        <element value="additive"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additive"/>
        <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="timeDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="time"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="time"/>
        <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="timePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="time"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="time"/>
        <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="SpecimenContainer"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="specimenQuantity"/>
      <source>
        <context value="src"/>
        <element value="specimenQuantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specimenQuantity"/>
        <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.device -&gt; tgt.device;"/>
    </rule>
  </group>
</StructureMap>