This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. 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="SubstancePolymer5to4"/>
<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/SubstancePolymer5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'SubstancePolymer5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for SubstancePolymer: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/substancepolymer.html" title="SubstancePolymer">http://hl7.org/fhir/StructureDefinition/SubstancePolymer</a><span style="color: navy">" </span><b>alias </b>SubstancePolymerR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4/substancepolymer.html" title="SubstancePolymer">http://hl7.org/fhir/4.0/StructureDefinition/SubstancePolymer</a><span style="color: navy">" </span><b>alias </b>SubstancePolymerR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">"
</span>
<b>group </b>SubstancePolymer<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SubstancePolymerR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SubstancePolymerR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.class<span style="color: navy"><b> -> </b></span>tgt.class<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.identifier -> tgt.identifier;</span>
src.geometry<span style="color: navy"><b> -> </b></span>tgt.geometry<span style="color: navy">;</span>
src.copolymerConnectivity<span style="color: navy"><b> -> </b></span>tgt.copolymerConnectivity<span style="color: navy">;</span>
src.modification<span style="color: navy"><b> -> </b></span>tgt.modification<span style="color: navy">;</span>
src.monomerSet<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.monomerSet<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerMonomerSet<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.repeat<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.repeat<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerRepeat<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>SubstancePolymerMonomerSet<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.ratioType<span style="color: navy"><b> -> </b></span>tgt.ratioType<span style="color: navy">;</span>
src.startingMaterial<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.startingMaterial<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerMonomerSetStartingMaterial<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>SubstancePolymerMonomerSetStartingMaterial<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.code<span style="color: navy"><b> -> </b></span>tgt.material<span style="color: navy">;</span>
src.category<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.isDefining<span style="color: navy"><b> -> </b></span>tgt.isDefining<span style="color: navy">;</span>
src.amount<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.amount = <span style="color: maroon">s.amount</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>SubstancePolymerRepeat<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.averageMolecularFormula<span style="color: navy"><b> -> </b></span>tgt.averageMolecularFormula<span style="color: navy">;</span>
src.repeatUnitAmountType<span style="color: navy"><b> -> </b></span>tgt.repeatUnitAmountType<span style="color: navy">;</span>
src.repeatUnit<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.repeatUnit<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerRepeatRepeatUnit<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>SubstancePolymerRepeatRepeatUnit<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.unit<span style="color: navy"><b> -> </b></span>tgt.repeatUnit<span style="color: navy">;</span>
src.orientation<span style="color: navy"><b> -> </b></span>tgt.orientationOfPolymerisation<span style="color: navy">;</span>
src.degreeOfPolymerisation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.degreeOfPolymerisation<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation<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.amount -> tgt.amount;</span>
src.structuralRepresentation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.structuralRepresentation<b> as </b><span style="color: maroon">t</span><b> then </b>SubstancePolymerRepeatRepeatUnitStructuralRepresentation<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>SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation<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.type<span style="color: navy"><b> -> </b></span>tgt.degree<span style="color: navy">;</span>
src.average<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.amount<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.amount = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">ta</span><span style="color: navy">, </span> ta.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.low<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.amount<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.referenceRange<b> as </b><span style="color: maroon">tr</span><span style="color: navy">, </span> tr.lowLimit = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">ts</span><span style="color: navy">, </span> ts.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.high<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span> tgt.amount<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.referenceRange<b> as </b><span style="color: maroon">tr</span><span style="color: navy">, </span> tr.highLimit = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">ts</span><span style="color: navy">, </span> ts.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>SubstancePolymerRepeatRepeatUnitStructuralRepresentation<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.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.representation<span style="color: navy"><b> -> </b></span>tgt.representation<span style="color: navy">;</span>
src.attachment<span style="color: navy"><b> -> </b></span>tgt.attachment<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.format -> tgt.format;</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/SubstancePolymer5to4"/>
<version value="5.1.0"/>
<name value="SubstancePolymer5to4"/>
<title value="FML Conversion for SubstancePolymer: R5 to R4"/>
<status value="active"/>
<date value="2024-04-27T18:54:50+10: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="FMLConversionforSubstancePolymerR5toR4"/>
<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/SubstancePolymer"/>
<mode value="source"/>
<alias value="SubstancePolymerR5"/>
</structure>
<structure>
<url
value="http://hl7.org/fhir/4.0/StructureDefinition/SubstancePolymer"/>
<mode value="target"/>
<alias value="SubstancePolymerR4"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4"/>
<group>
<name value="SubstancePolymer"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="SubstancePolymerR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="SubstancePolymerR4"/>
<mode value="target"/>
</input>
<rule>
<name value="class"/>
<source>
<context value="src"/>
<element value="class"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="class"/>
<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.identifier -> tgt.identifier;"/>
</rule>
<rule>
<name value="geometry"/>
<source>
<context value="src"/>
<element value="geometry"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="geometry"/>
<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="copolymerConnectivity"/>
<source>
<context value="src"/>
<element value="copolymerConnectivity"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="copolymerConnectivity"/>
<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="modification"/>
<source>
<context value="src"/>
<element value="modification"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="modification"/>
<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="monomerSet"/>
<source>
<context value="src"/>
<element value="monomerSet"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="monomerSet"/>
<variable value="t"/>
</target>
<dependent>
<name value="SubstancePolymerMonomerSet"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="repeat"/>
<source>
<context value="src"/>
<element value="repeat"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="repeat"/>
<variable value="t"/>
</target>
<dependent>
<name value="SubstancePolymerRepeat"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="SubstancePolymerMonomerSet"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="ratioType"/>
<source>
<context value="src"/>
<element value="ratioType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="ratioType"/>
<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="startingMaterial"/>
<source>
<context value="src"/>
<element value="startingMaterial"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="startingMaterial"/>
<variable value="t"/>
</target>
<dependent>
<name value="SubstancePolymerMonomerSetStartingMaterial"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="SubstancePolymerMonomerSetStartingMaterial"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<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="category"/>
<source>
<context value="src"/>
<element value="category"/>
<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="isDefining"/>
<source>
<context value="src"/>
<element value="isDefining"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="isDefining"/>
<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="amount"/>
<source>
<context value="src"/>
<element value="amount"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="amount"/>
<transform value="copy"/>
<parameter>
<valueId value="s.amount"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="SubstancePolymerRepeat"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="averageMolecularFormula"/>
<source>
<context value="src"/>
<element value="averageMolecularFormula"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="averageMolecularFormula"/>
<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="repeatUnitAmountType"/>
<source>
<context value="src"/>
<element value="repeatUnitAmountType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="repeatUnitAmountType"/>
<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="repeatUnit"/>
<source>
<context value="src"/>
<element value="repeatUnit"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="repeatUnit"/>
<variable value="t"/>
</target>
<dependent>
<name value="SubstancePolymerRepeatRepeatUnit"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="SubstancePolymerRepeatRepeatUnit"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="unit"/>
<source>
<context value="src"/>
<element value="unit"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="repeatUnit"/>
<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="orientation"/>
<source>
<context value="src"/>
<element value="orientation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="orientationOfPolymerisation"/>
<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="degreeOfPolymerisation"/>
<source>
<context value="src"/>
<element value="degreeOfPolymerisation"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="degreeOfPolymerisation"/>
<variable value="t"/>
</target>
<dependent>
<name value="SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
<documentation value="src.amount -> tgt.amount;"/>
</rule>
<rule>
<name value="structuralRepresentation"/>
<source>
<context value="src"/>
<element value="structuralRepresentation"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="structuralRepresentation"/>
<variable value="t"/>
</target>
<dependent>
<name
value="SubstancePolymerRepeatRepeatUnitStructuralRepresentation"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<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="degree"/>
<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="average"/>
<source>
<context value="src"/>
<element value="average"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="amount"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="amount"/>
<variable value="ta"/>
<transform value="create"/>
<parameter>
<valueString value="Quantity"/>
</parameter>
</target>
<target>
<context value="ta"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="low"/>
<source>
<context value="src"/>
<element value="low"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="amount"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="referenceRange"/>
<variable value="tr"/>
</target>
<target>
<context value="tr"/>
<element value="lowLimit"/>
<variable value="ts"/>
<transform value="create"/>
<parameter>
<valueString value="Quantity"/>
</parameter>
</target>
<target>
<context value="ts"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="high"/>
<source>
<context value="src"/>
<element value="high"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="amount"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="referenceRange"/>
<variable value="tr"/>
</target>
<target>
<context value="tr"/>
<element value="highLimit"/>
<variable value="ts"/>
<transform value="create"/>
<parameter>
<valueString value="Quantity"/>
</parameter>
</target>
<target>
<context value="ts"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
</group>
<group>
<name value="SubstancePolymerRepeatRepeatUnitStructuralRepresentation"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<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="representation"/>
<source>
<context value="src"/>
<element value="representation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="representation"/>
<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="attachment"/>
<source>
<context value="src"/>
<element value="attachment"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="attachment"/>
<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.format -> tgt.format;"/>
</rule>
</group>
</StructureMap>