FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

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

: MolecularSequence Transforms: R4B to R5 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="MolecularSequence4Bto5"/>
  <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/MolecularSequence4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'MolecularSequence4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'MolecularSequence Transforms: R4B to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/4.3/MolecularSequence<span style="color: navy">&quot; </span><b>alias </b>MolecularSequenceR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/5.0/MolecularSequence<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/*4Bto5<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>MolecularSequenceR4B, <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">'http://hl7.org/fhir/ConceptMap/MolecularSequenceB.type-R4BtoR5'</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>
  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>
  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">'http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.orientation-R4BtoR5'</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">'http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.strand-R4BtoR5'</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>
  <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.xver"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/MolecularSequence4Bto5"/>
  <version value="0.1.0"/>
  <name value="MolecularSequence4Bto5"/>
  <title value="MolecularSequence Transforms: R4B to R5"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="MolecularSequenceTransformsR4BtoR5"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/4.3/MolecularSequence"/>
    <mode value="source"/>
    <alias value="MolecularSequenceR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/5.0/MolecularSequence"/>
    <mode value="target"/>
    <alias value="MolecularSequenceR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="MolecularSequence"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="MolecularSequenceR4B"/>
      <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="http://hl7.org/fhir/ConceptMap/MolecularSequenceB.type-R4BtoR5"/>
        </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>
    </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>
    </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="http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.orientation-R4BtoR5"/>
        </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="http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.strand-R4BtoR5"/>
        </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>