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

This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: FML Conversion for MolecularSequence: R4 to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="MolecularSequence4to5"/>
  <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/MolecularSequence4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'MolecularSequence4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for MolecularSequence: R4 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>orientationType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-orientation-type.html" title="orientationType">http://hl7.org/fhir/4.0/orientation-type</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-orientation-type.html" title="orientation Type">http://hl7.org/fhir/orientation-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>sense <b>-</b> t<span style="color: navy">:</span>sense
  s<span style="color: navy">:</span>antisense <b>-</b> t<span style="color: navy">:</span>antisense
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>sequenceType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-sequence-type.html" title="sequenceType">http://hl7.org/fhir/4.0/sequence-type</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-sequence-type.html" title="sequence Type">http://hl7.org/fhir/sequence-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>aa <b>-</b> t<span style="color: navy">:</span>aa
  s<span style="color: navy">:</span>dna <b>-</b> t<span style="color: navy">:</span>dna
  s<span style="color: navy">:</span>rna <b>-</b> t<span style="color: navy">:</span>rna
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>strandType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-strand-type.html" title="strandType">http://hl7.org/fhir/4.0/strand-type</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-strand-type.html" title="strand Type">http://hl7.org/fhir/strand-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>watson <b>-</b> t<span style="color: navy">:</span>watson
  s<span style="color: navy">:</span>crick <b>-</b> t<span style="color: navy">:</span>crick
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/molecularsequence.html" title="MolecularSequence">http://hl7.org/fhir/4.0/StructureDefinition/MolecularSequence</a><span style="color: navy">&quot; </span><b>alias </b>MolecularSequenceR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/molecularsequence.html" title="MolecularSequence">http://hl7.org/fhir/StructureDefinition/MolecularSequence</a><span style="color: navy">&quot; </span><b>alias </b>MolecularSequenceR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">&quot;
</span>
<b>group </b>MolecularSequence<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>MolecularSequenceR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>MolecularSequenceR5<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.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#sequenceType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.specimen<span style="color: navy"><b> -&gt; </b></span>tgt.specimen<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.focus -&gt; tgt.focus;</span>
  src.device<span style="color: navy"><b> -&gt; </b></span>tgt.device<span style="color: navy">;</span>
  src.performer<span style="color: navy"><b> -&gt; </b></span>tgt.performer<span style="color: navy">;</span>
  src.referenceSeq<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.relative<b> as </b><span style="color: maroon">t</span><b> then </b>MolecularSequenceReferenceSeq<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.literal as s -&gt; tgt.literal as t, t.observedSeq = s;</span>
  src.variant<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.relative<b> as </b><span style="color: maroon">t</span><b> then </b>MolecularSequenceVariant<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>MolecularSequenceReferenceSeq<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.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '1'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21254-0'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 1'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '2'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21255-7'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 2'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '3'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21256-5'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 3'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '4'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21257-3'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 4'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '5'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21258-1'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 5'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '6'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21259-9'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 6'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '7'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21260-7'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 7'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '8'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21261-5'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 8'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '9'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21262-3'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 9'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '10'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21263-1'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 10'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '11'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21264-9'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 11'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '12'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21265-6'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 12'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '13'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21266-4'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 13'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '14'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21267-2'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 14'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '15'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21268-0'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 15'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '16'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21269-8'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 16'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '17'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21270-6'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 17'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '18'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21271-4'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 18'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '19'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21272-2'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 19'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '20'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21273-0'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 20'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '21'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21274-8'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 21'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = '22'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21275-5'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome 22'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'X'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21276-3'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome X'</span><span style="color: navy">;</span>
  src.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Y'<span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.chromosome = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://loinc.org'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'LA21277-1'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Chromosome Y'</span><span style="color: navy">;</span>
  src.referenceSeqId<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.sequence = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.referenceSeqPointer<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.sequence = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.referenceSeqString<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.sequence = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.windowStart<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.windowStart = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.windowEnd<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.windowEnd = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.orientation<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.orientation = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#orientationType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.strand<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.strand = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#strandType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>MolecularSequenceVariant<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.start<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.edit<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.start = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.end<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.edit<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.end = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.observedAllele<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.edit<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.replacementSequence = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.referenceAllele<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.edit<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.replacedSequence = <span style="color: maroon">s</span><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="orientationType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/orientation-type"/>
        <target value="http://hl7.org/fhir/orientation-type"/>
        <element>
          <code value="sense"/>
          <target>
            <code value="sense"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="antisense"/>
          <target>
            <code value="antisense"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="sequenceType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/sequence-type"/>
        <target value="http://hl7.org/fhir/sequence-type"/>
        <element>
          <code value="aa"/>
          <target>
            <code value="aa"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="dna"/>
          <target>
            <code value="dna"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="rna"/>
          <target>
            <code value="rna"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="strandType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/strand-type"/>
        <target value="http://hl7.org/fhir/strand-type"/>
        <element>
          <code value="watson"/>
          <target>
            <code value="watson"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="crick"/>
          <target>
            <code value="crick"/>
            <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/MolecularSequence4to5"/>
  <version value="5.1.0-ballot1"/>
  <name value="MolecularSequence4to5"/>
  <title value="FML Conversion for MolecularSequence: R4 to R5"/>
  <status value="active"/>
  <date value="2023-12-19T08:40:03+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforMolecularSequenceR4toR5"/>
  <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/MolecularSequence"/>
    <mode value="source"/>
    <alias value="MolecularSequenceR4"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
    <mode value="target"/>
    <alias value="MolecularSequenceR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to5"/>
  <group>
    <name value="MolecularSequence"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="MolecularSequenceR4"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="MolecularSequenceR5"/>
      <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="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#sequenceType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <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="specimen"/>
      <source>
        <context value="src"/>
        <element value="specimen"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specimen"/>
        <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.focus -&gt; tgt.focus;"/>
    </rule>
    <rule>
      <name value="device"/>
      <source>
        <context value="src"/>
        <element value="device"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="device"/>
        <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="performer"/>
      <source>
        <context value="src"/>
        <element value="performer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="performer"/>
        <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="referenceSeq"/>
      <source>
        <context value="src"/>
        <element value="referenceSeq"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relative"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MolecularSequenceReferenceSeq"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.literal as s -&gt; tgt.literal as t, t.observedSeq = s;"/>
    </rule>
    <rule>
      <name value="variant"/>
      <source>
        <context value="src"/>
        <element value="variant"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relative"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="MolecularSequenceVariant"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="MolecularSequenceReferenceSeq"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '1'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21254-0"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 1"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '2'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21255-7"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 2"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '3'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21256-5"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 3"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '4'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21257-3"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 4"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '5'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21258-1"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 5"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '6'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21259-9"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 6"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '7'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21260-7"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 7"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '8'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21261-5"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 8"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '9'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21262-3"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 9"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '10'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21263-1"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 10"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '11'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21264-9"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 11"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '12'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21265-6"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 12"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '13'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21266-4"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 13"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '14'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21267-2"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 14"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '15'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21268-0"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 15"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '16'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21269-8"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 16"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '17'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21270-6"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 17"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '18'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21271-4"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 18"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '19'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21272-2"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 19"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '20'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21273-0"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 20"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '21'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21274-8"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 21"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = '22'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21275-5"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome 22"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = 'X'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21276-3"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome X"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chromosome"/>
      <source>
        <context value="src"/>
        <element value="chromosome"/>
        <variable value="s"/>
        <condition value="code = 'Y'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="chromosome"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://loinc.org"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="LA21277-1"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Chromosome Y"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referenceSeqIdCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="referenceSeqId"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="sequence"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referenceSeqPointerReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="referenceSeqPointer"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="sequence"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referenceSeqStringString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="referenceSeqString"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="sequence"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="windowStartInteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="windowStart"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="windowStart"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="windowEndInteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="windowEnd"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="windowEnd"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="orientation"/>
      <source>
        <context value="src"/>
        <element value="orientation"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="orientation"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#orientationType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="strand"/>
      <source>
        <context value="src"/>
        <element value="strand"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="startingSequence"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="strand"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#strandType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
  </group>
  <group>
    <name value="MolecularSequenceVariant"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="startInteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="start"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="edit"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="start"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="endInteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="end"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="edit"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="end"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="observedAllele"/>
      <source>
        <context value="src"/>
        <element value="observedAllele"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="edit"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="replacementSequence"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referenceAllele"/>
      <source>
        <context value="src"/>
        <element value="referenceAllele"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="edit"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="replacedSequence"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
  </group>
</StructureMap>