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 SpecimenDefinition: R4B to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="SpecimenDefinition4Bto5"/>
  <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/SpecimenDefinition4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'SpecimenDefinition4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for SpecimenDefinition: 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>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</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">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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"> &quot;</span>SpecimenContainedPreference<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-contained-preference.html" title="SpecimenContainedPreference">http://hl7.org/fhir/4.3/specimen-contained-preference</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-contained-preference.html" title="Specimen Contained Preference">http://hl7.org/fhir/specimen-contained-preference</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>preferred <b>-</b> t<span style="color: navy">:</span>preferred
  s<span style="color: navy">:</span>alternate <b>-</b> t<span style="color: navy">:</span>alternate
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/specimendefinition.html" title="SpecimenDefinition">http://hl7.org/fhir/4.3/StructureDefinition/SpecimenDefinition</a><span style="color: navy">&quot; </span><b>alias </b>SpecimenDefinitionR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/specimendefinition.html" title="SpecimenDefinition">http://hl7.org/fhir/StructureDefinition/SpecimenDefinition</a><span style="color: navy">&quot; </span><b>alias </b>SpecimenDefinitionR5 <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>SpecimenDefinition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SpecimenDefinitionR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SpecimenDefinitionR5<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> <span style="color: navy">// </span><span style="color: green">src.url -&gt; tgt.url;</span>
  src.typeCollected<span style="color: navy"><b> -&gt; </b></span>tgt.typeCollected<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.version -&gt; tgt.version;</span>
  src.patientPreparation<span style="color: navy"><b> -&gt; </b></span>tgt.patientPreparation<span style="color: navy">;</span>
  src.timeAspect<span style="color: navy"><b> -&gt; </b></span>tgt.timeAspect<span style="color: navy">;</span>
  src.collection<span style="color: navy"><b> -&gt; </b></span>tgt.collection<span style="color: navy">;</span>
  src.typeTested<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.typeTested<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenDefinitionTypeTested<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>SpecimenDefinitionTypeTested<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.isDerived<span style="color: navy"><b> -&gt; </b></span>tgt.isDerived<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.preference<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.preference = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SpecimenContainedPreference'</span><span style="color: navy">, </span><span style="color: blue">'code'</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>SpecimenDefinitionTypeTestedContainer<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.requirement<span style="color: navy"><b> -&gt; </b></span>tgt.requirement<span style="color: navy">;</span>
  src.retentionTime<span style="color: navy"><b> -&gt; </b></span>tgt.retentionTime<span style="color: navy">;</span>
  src.rejectionCriterion<span style="color: navy"><b> -&gt; </b></span>tgt.rejectionCriterion<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.singleUse -&gt; tgt.singleUse;</span>
  src.handling<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.handling<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenDefinitionTypeTestedHandling<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>SpecimenDefinitionTypeTestedContainer<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.material<span style="color: navy"><b> -&gt; </b></span>tgt.material<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.cap<span style="color: navy"><b> -&gt; </b></span>tgt.cap<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.capacity<span style="color: navy"><b> -&gt; </b></span>tgt.capacity<span style="color: navy">;</span>
  src.minimumVolume<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -&gt; </b></span>tgt.minimumVolume<span style="color: navy">;</span>
  src.minimumVolume<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.minimumVolume<span style="color: navy">;</span>
  src.additive<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.additive<b> as </b><span style="color: maroon">t</span><b> then </b>SpecimenDefinitionTypeTestedContainerAdditive<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.preparation<span style="color: navy"><b> -&gt; </b></span>tgt.preparation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SpecimenDefinitionTypeTestedContainerAdditive<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.additive<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.additive<span style="color: navy">;</span>
  src.additive<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.additive<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SpecimenDefinitionTypeTestedHandling<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.temperatureQualifier<span style="color: navy"><b> -&gt; </b></span>tgt.temperatureQualifier<span style="color: navy">;</span>
  src.temperatureRange<span style="color: navy"><b> -&gt; </b></span>tgt.temperatureRange<span style="color: navy">;</span>
  src.maxDuration<span style="color: navy"><b> -&gt; </b></span>tgt.maxDuration<span style="color: navy">;</span>
  src.instruction<span style="color: navy"><b> -&gt; </b></span>tgt.instruction<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/publication-status"/>
        <target value="http://hl7.org/fhir/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SpecimenContainedPreference"/>
      <status value="active"/>
      <group>
        <source
                value="http://hl7.org/fhir/4.3/specimen-contained-preference"/>
        <target value="http://hl7.org/fhir/specimen-contained-preference"/>
        <element>
          <code value="preferred"/>
          <target>
            <code value="preferred"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="alternate"/>
          <target>
            <code value="alternate"/>
            <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/SpecimenDefinition4Bto5"/>
  <version value="5.1.0-cibuild"/>
  <name value="SpecimenDefinition4Bto5"/>
  <title value="FML Conversion for SpecimenDefinition: R4B to R5"/>
  <status value="active"/>
  <date value="2024-04-21T19:47:28+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="FMLConversionforSpecimenDefinitionR4BtoR5"/>
  <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/SpecimenDefinition"/>
    <mode value="source"/>
    <alias value="SpecimenDefinitionR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
    <mode value="target"/>
    <alias value="SpecimenDefinitionR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="SpecimenDefinition"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="SpecimenDefinitionR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="SpecimenDefinitionR5"/>
      <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>
      <documentation value="src.url -&gt; tgt.url;"/>
    </rule>
    <rule>
      <name value="typeCollected"/>
      <source>
        <context value="src"/>
        <element value="typeCollected"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="typeCollected"/>
        <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.version -&gt; tgt.version;"/>
    </rule>
    <rule>
      <name value="patientPreparation"/>
      <source>
        <context value="src"/>
        <element value="patientPreparation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patientPreparation"/>
        <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="timeAspect"/>
      <source>
        <context value="src"/>
        <element value="timeAspect"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="timeAspect"/>
        <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="collection"/>
        <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="typeTested"/>
      <source>
        <context value="src"/>
        <element value="typeTested"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="typeTested"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenDefinitionTypeTested"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="SpecimenDefinitionTypeTested"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="isDerived"/>
      <source>
        <context value="src"/>
        <element value="isDerived"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="isDerived"/>
        <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="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="preference"/>
      <source>
        <context value="src"/>
        <element value="preference"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="preference"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SpecimenContainedPreference"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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="SpecimenDefinitionTypeTestedContainer"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="requirement"/>
      <source>
        <context value="src"/>
        <element value="requirement"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requirement"/>
        <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="retentionTime"/>
      <source>
        <context value="src"/>
        <element value="retentionTime"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="retentionTime"/>
        <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="rejectionCriterion"/>
      <source>
        <context value="src"/>
        <element value="rejectionCriterion"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rejectionCriterion"/>
        <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.singleUse -&gt; tgt.singleUse;"/>
    </rule>
    <rule>
      <name value="handling"/>
      <source>
        <context value="src"/>
        <element value="handling"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="handling"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenDefinitionTypeTestedHandling"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="SpecimenDefinitionTypeTestedContainer"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="material"/>
      <source>
        <context value="src"/>
        <element value="material"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="material"/>
        <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="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="cap"/>
      <source>
        <context value="src"/>
        <element value="cap"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="cap"/>
        <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="capacity"/>
      <source>
        <context value="src"/>
        <element value="capacity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="capacity"/>
        <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="minimumVolumeQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="minimumVolume"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="minimumVolume"/>
        <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="minimumVolumeString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="minimumVolume"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="minimumVolume"/>
        <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="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="additive"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SpecimenDefinitionTypeTestedContainerAdditive"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="preparation"/>
      <source>
        <context value="src"/>
        <element value="preparation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="preparation"/>
        <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="SpecimenDefinitionTypeTestedContainerAdditive"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="additiveCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <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="additiveReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <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>
  </group>
  <group>
    <name value="SpecimenDefinitionTypeTestedHandling"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="temperatureQualifier"/>
      <source>
        <context value="src"/>
        <element value="temperatureQualifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="temperatureQualifier"/>
        <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="temperatureRange"/>
      <source>
        <context value="src"/>
        <element value="temperatureRange"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="temperatureRange"/>
        <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="maxDuration"/>
      <source>
        <context value="src"/>
        <element value="maxDuration"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="maxDuration"/>
        <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="instruction"/>
      <source>
        <context value="src"/>
        <element value="instruction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instruction"/>
        <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>