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
Page standards status: Draft | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="MolecularSequence5to4"/>
<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/MolecularSequence5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'MolecularSequence5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'MolecularSequence Transforms: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/5.0/MolecularSequence<span style="color: navy">" </span><b>alias </b>MolecularSequenceR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/MolecularSequence<span style="color: navy">" </span><b>alias </b>MolecularSequenceR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">"
</span>
<b>group </b>MolecularSequence<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>MolecularSequenceR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>MolecularSequenceR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.identifier<span style="color: navy"><b> -> </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> -> </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/MolecularSequence.type-R5toR4'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.subject<span style="color: navy"><b> -> </b></span>tgt.patient<span style="color: navy">;</span>
src.specimen<span style="color: navy"><b> -> </b></span>tgt.specimen<span style="color: navy">;</span>
src.device<span style="color: navy"><b> -> </b></span>tgt.device<span style="color: navy">;</span>
src.performer<span style="color: navy"><b> -> </b></span>tgt.performer<span style="color: navy">;</span>
src.relative<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.referenceSeq<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.relative<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.variant<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.startingSequence<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21254-0'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'1'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 1'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21255-7'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'2'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 2'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21256-5'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'3'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 3'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21257-3'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'4'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 4'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21258-1'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'5'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 5'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21259-9'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'6'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 6'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21260-7'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'7'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 7'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21261-5'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'8'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 8'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21262-3'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'9'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 9'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21263-1'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'10'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 10'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21264-9'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'11'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 11'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21265-6'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'12'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 12'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21266-4'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'13'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 13'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21267-2'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'14'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 14'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21268-0'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'15'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 15'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21269-8'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'16'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 16'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21270-6'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'17'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 17'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21271-4'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'18'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 18'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21272-2'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'19'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 19'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21273-0'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'20'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 20'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21274-8'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'21'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 21'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21275-5'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'22'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome 22'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21276-3'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'X'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome X'</span><span style="color: navy">;</span>
s.chromosome<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'LA21277-1'<span style="color: navy"><b> -> </b></span> tgt.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://terminology.hl7.org/CodeSystem/chromosome-human'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Y'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'chromosome Y'</span><span style="color: navy">;</span>
s.sequence<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -> </b></span>tgt.referenceSeqId<span style="color: navy">;</span>
s.sequence<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -> </b></span>tgt.referenceSeqPointer<span style="color: navy">;</span>
s.sequence<span style="color: navy"> : </span>string<span style="color: navy"><b> -> </b></span>tgt.referenceSeqString<span style="color: navy">;</span>
s.windowStart<span style="color: navy"><b> -> </b></span>tgt.windowStart<span style="color: navy">;</span>
s.windowEnd<span style="color: navy"><b> -> </b></span>tgt.windowEnd<span style="color: navy">;</span>
s.orientation<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.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>
s.strand<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span>tgt.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><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.edit<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span><span style="color: maroon">tgt</span><b> then</b><span style="color: navy"> {
</span> s.start<span style="color: navy"><b> -> </b></span>tgt.start<span style="color: navy">;</span>
s.end<span style="color: navy"><b> -> </b></span>tgt.end<span style="color: navy">;</span>
s.replacementSequence<span style="color: navy"><b> -> </b></span>tgt.observedAllele<span style="color: navy">;</span>
s.replacedSequence<span style="color: navy"><b> -> </b></span>tgt.referenceAllele<span style="color: navy">;</span>
<span style="color: navy">}</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/MolecularSequence5to4"/>
<version value="0.1.0"/>
<name value="MolecularSequence5to4"/>
<title value="MolecularSequence Transforms: R5 to R4"/>
<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="MolecularSequenceTransformsR5toR4"/>
<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/5.0/MolecularSequence"/>
<mode value="source"/>
<alias value="MolecularSequenceR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/MolecularSequence"/>
<mode value="target"/>
<alias value="MolecularSequenceR4"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4"/>
<group>
<name value="MolecularSequence"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="MolecularSequenceR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="MolecularSequenceR4"/>
<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/MolecularSequence.type-R5toR4"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="patient"/>
<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="relative"/>
<source>
<context value="src"/>
<element value="relative"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="referenceSeq"/>
<variable value="t"/>
</target>
<dependent>
<name value="MolecularSequenceReferenceSeq"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="relative"/>
<source>
<context value="src"/>
<element value="relative"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="variant"/>
<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="startingSequence"/>
<source>
<context value="src"/>
<element value="startingSequence"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="chromosome"/>
<source>
<context value="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21254-0'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="1"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21255-7'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="2"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21256-5'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="3"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21257-3'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="4"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21258-1'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="5"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21259-9'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="6"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21260-7'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21261-5'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="8"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21262-3'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="9"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21263-1'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="10"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21264-9'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="11"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21265-6'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="12"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21266-4'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="13"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21267-2'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="14"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21268-0'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="15"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21269-8'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="16"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21270-6'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="17"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21271-4'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="18"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21272-2'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="19"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21273-0'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="20"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21274-8'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="21"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21275-5'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="22"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21276-3'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="X"/>
</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="s"/>
<element value="chromosome"/>
<variable value="s"/>
<condition value="code = 'LA21277-1'"/>
</source>
<target>
<context value="tgt"/>
<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://terminology.hl7.org/CodeSystem/chromosome-human"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Y"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="chromosome Y"/>
</parameter>
</target>
</rule>
<rule>
<name value="sequenceCodeableConcept"/>
<source>
<context value="s"/>
<type value="CodeableConcept"/>
<element value="sequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="referenceSeqId"/>
<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="sequenceReference"/>
<source>
<context value="s"/>
<type value="Reference"/>
<element value="sequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="referenceSeqPointer"/>
<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="sequenceString"/>
<source>
<context value="s"/>
<type value="string"/>
<element value="sequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="referenceSeqString"/>
<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="windowStart"/>
<source>
<context value="s"/>
<element value="windowStart"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="windowStart"/>
<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="windowEnd"/>
<source>
<context value="s"/>
<element value="windowEnd"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="windowEnd"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="orientation"/>
<source>
<context value="s"/>
<element value="orientation"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<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="s"/>
<element value="strand"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="strand"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#strandType"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
</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="edit"/>
<source>
<context value="src"/>
<element value="edit"/>
<variable value="s"/>
</source>
<target>
<transform value="copy"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
<rule>
<name value="start"/>
<source>
<context value="s"/>
<element value="start"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="start"/>
<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="end"/>
<source>
<context value="s"/>
<element value="end"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="end"/>
<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="replacementSequence"/>
<source>
<context value="s"/>
<element value="replacementSequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="observedAllele"/>
<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="replacedSequence"/>
<source>
<context value="s"/>
<element value="replacedSequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="referenceAllele"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</rule>
</group>
</StructureMap>