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 |
{
"resourceType" : "StructureMap",
"id" : "MolecularSequence4Bto5",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MolecularSequence4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MolecularSequence4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MolecularSequence Transforms: R4B to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.3/MolecularSequence<span style=\"color: navy\">" </span><b>alias </b>MolecularSequenceR4B <b>as </b><b>source</b>\r\n<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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<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> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n 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/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>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.specimen<span style=\"color: navy\"><b> -> </b></span>tgt.specimen<span style=\"color: navy\">;</span>\r\n src.device<span style=\"color: navy\"><b> -> </b></span>tgt.device<span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer<span style=\"color: navy\">;</span>\r\n src.referenceSeq<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.variant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '1'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '2'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '3'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '4'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '5'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '6'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '7'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '8'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '9'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '10'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '11'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '12'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '13'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '14'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '15'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '16'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '17'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '18'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '19'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '20'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '21'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '22'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'X'<span style=\"color: navy\"><b> -> </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>\r\n src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Y'<span style=\"color: navy\"><b> -> </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>\r\n src.referenceSeqId<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.referenceSeqPointer<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.referenceSeqString<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.windowStart<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.windowEnd<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.orientation<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n src.strand<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</span> src.start<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.end<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.observedAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n src.referenceAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </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>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/MolecularSequence4Bto5",
"version" : "0.1.0",
"name" : "MolecularSequence4Bto5",
"title" : "MolecularSequence Transforms: R4B to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "MolecularSequenceTransformsR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/MolecularSequence",
"mode" : "source",
"alias" : "MolecularSequenceR4B"
},
{
"url" : "http://hl7.org/fhir/5.0/MolecularSequence",
"mode" : "target",
"alias" : "MolecularSequenceR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "MolecularSequence",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "MolecularSequenceR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "MolecularSequenceR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequenceB.type-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "specimen",
"source" : [
{
"context" : "src",
"element" : "specimen",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specimen",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "device",
"source" : [
{
"context" : "src",
"element" : "device",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "device",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "performer",
"source" : [
{
"context" : "src",
"element" : "performer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "performer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "referenceSeq",
"source" : [
{
"context" : "src",
"element" : "referenceSeq",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relative",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MolecularSequenceReferenceSeq",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "variant",
"source" : [
{
"context" : "src",
"element" : "variant",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relative",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MolecularSequenceVariant",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "MolecularSequenceReferenceSeq",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '1'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21254-0"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 1"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '2'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21255-7"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 2"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '3'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21256-5"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 3"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '4'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21257-3"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 4"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '5'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21258-1"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 5"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '6'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21259-9"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 6"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '7'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21260-7"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 7"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '8'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21261-5"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 8"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '9'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21262-3"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 9"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '10'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21263-1"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 10"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '11'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21264-9"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 11"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '12'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21265-6"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 12"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '13'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21266-4"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 13"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '14'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21267-2"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 14"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '15'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21268-0"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 15"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '16'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21269-8"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 16"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '17'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21270-6"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 17"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '18'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21271-4"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 18"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '19'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21272-2"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 19"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '20'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21273-0"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 20"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '21'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21274-8"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 21"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = '22'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21275-5"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome 22"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'X'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21276-3"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome X"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "src",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'Y'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "chromosome",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://loinc.org"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "LA21277-1"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Chromosome Y"
}
]
}
]
},
{
"name" : "referenceSeqIdCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "referenceSeqId",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "sequence",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "referenceSeqPointerReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "referenceSeqPointer",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "sequence",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "referenceSeqStringString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "referenceSeqString",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "sequence",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "windowStartInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "windowStart",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "windowStart",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "windowEndInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "windowEnd",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "windowEnd",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "orientation",
"source" : [
{
"context" : "src",
"element" : "orientation",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "orientation",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.orientation-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "strand",
"source" : [
{
"context" : "src",
"element" : "strand",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingSequence",
"variable" : "t"
},
{
"context" : "t",
"element" : "strand",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/MolecularSequenceB.referenceSeq.strand-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "MolecularSequenceVariant",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "startInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "start",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "edit",
"variable" : "t"
},
{
"context" : "t",
"element" : "start",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "endInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "end",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "edit",
"variable" : "t"
},
{
"context" : "t",
"element" : "end",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "observedAllele",
"source" : [
{
"context" : "src",
"element" : "observedAllele",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "edit",
"variable" : "t"
},
{
"context" : "t",
"element" : "replacementSequence",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "referenceAllele",
"source" : [
{
"context" : "src",
"element" : "referenceAllele",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "edit",
"variable" : "t"
},
{
"context" : "t",
"element" : "replacedSequence",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
}
]
}
]
}