This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="SubstancePolymer4to5"/>
<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/SubstancePolymer4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'SubstancePolymer4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for SubstancePolymer: R4 to R5'</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/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>source</b>
<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>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4to5<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>SubstancePolymerR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SubstancePolymerR5<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.material<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.category<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<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t = <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.repeatUnit<span style="color: navy"><b> -> </b></span>tgt.unit<span style="color: navy">;</span>
src.orientationOfPolymerisation<span style="color: navy"><b> -> </b></span>tgt.orientation<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.degree<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.amount<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.amount<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.average = <span style="color: maroon">v.value</span><span style="color: navy">;</span>
s.referenceRange<b> as </b><span style="color: maroon">sr</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> sr.lowLimit<b> as </b><span style="color: maroon">vl</span><span style="color: navy"><b> -> </b></span>tgt.low = <span style="color: maroon">vl.value</span><span style="color: navy">;</span>
sr.highLimit<b> as </b><span style="color: maroon">vh</span><span style="color: navy"><b> -> </b></span>tgt.high = <span style="color: maroon">vh.value</span><span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
<span style="color: navy">}</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/SubstancePolymer4to5"/>
<version value="5.1.0-snapshot1"/>
<name value="SubstancePolymer4to5"/>
<title value="FML Conversion for SubstancePolymer: R4 to R5"/>
<status value="active"/>
<date value="2024-03-12T13:30:10+11:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="FMLConversionforSubstancePolymerR4toR5"/>
<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.0/StructureDefinition/SubstancePolymer"/>
<mode value="source"/>
<alias value="SubstancePolymerR4"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/SubstancePolymer"/>
<mode value="target"/>
<alias value="SubstancePolymerR5"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4to5"/>
<group>
<name value="SubstancePolymer"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="SubstancePolymerR4"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="SubstancePolymerR5"/>
<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="material"/>
<source>
<context value="src"/>
<element value="material"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<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="category"/>
<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"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<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="repeatUnit"/>
<source>
<context value="src"/>
<element value="repeatUnit"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="unit"/>
<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="orientationOfPolymerisation"/>
<source>
<context value="src"/>
<element value="orientationOfPolymerisation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="orientation"/>
<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="degree"/>
<source>
<context value="src"/>
<element value="degree"/>
<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="amount"/>
<source>
<context value="src"/>
<element value="amount"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="amountQuantity"/>
<source>
<context value="s"/>
<type value="Quantity"/>
<element value="amount"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="average"/>
<transform value="copy"/>
<parameter>
<valueId value="v.value"/>
</parameter>
</target>
</rule>
<rule>
<name value="referenceRange"/>
<source>
<context value="s"/>
<element value="referenceRange"/>
<variable value="sr"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="lowLimit"/>
<source>
<context value="sr"/>
<element value="lowLimit"/>
<variable value="vl"/>
</source>
<target>
<context value="tgt"/>
<element value="low"/>
<transform value="copy"/>
<parameter>
<valueId value="vl.value"/>
</parameter>
</target>
</rule>
<rule>
<name value="highLimit"/>
<source>
<context value="sr"/>
<element value="highLimit"/>
<variable value="vh"/>
</source>
<target>
<context value="tgt"/>
<element value="high"/>
<transform value="copy"/>
<parameter>
<valueId value="vh.value"/>
</parameter>
</target>
</rule>
</rule>
</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>