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" : "MolecularSequence5to4B",
"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/MolecularSequence5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MolecularSequence5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MolecularSequence Transforms: R5 to R4B'</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/5.0/MolecularSequence<span style=\"color: navy\">" </span><b>alias </b>MolecularSequenceR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/MolecularSequence<span style=\"color: navy\">" </span><b>alias </b>MolecularSequenceR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<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>MolecularSequenceR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MolecularSequenceR4B<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/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>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.patient<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.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>\r\n 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>\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.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\"> {\r\n</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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n 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>\r\n s.sequence<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.referenceSeqId<span style=\"color: navy\">;</span>\r\n s.sequence<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.referenceSeqPointer<span style=\"color: navy\">;</span>\r\n s.sequence<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.referenceSeqString<span style=\"color: navy\">;</span>\r\n s.windowStart<span style=\"color: navy\"><b> -> </b></span>tgt.windowStart<span style=\"color: navy\">;</span>\r\n s.windowEnd<span style=\"color: navy\"><b> -> </b></span>tgt.windowEnd<span style=\"color: navy\">;</span>\r\n 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>\r\n 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>\r\n <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.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\"> {\r\n</span> s.start<span style=\"color: navy\"><b> -> </b></span>tgt.start<span style=\"color: navy\">;</span>\r\n s.end<span style=\"color: navy\"><b> -> </b></span>tgt.end<span style=\"color: navy\">;</span>\r\n s.replacementSequence<span style=\"color: navy\"><b> -> </b></span>tgt.observedAllele<span style=\"color: navy\">;</span>\r\n s.replacedSequence<span style=\"color: navy\"><b> -> </b></span>tgt.referenceAllele<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</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/MolecularSequence5to4B",
"version" : "0.1.0",
"name" : "MolecularSequence5to4B",
"title" : "MolecularSequence Transforms: R5 to R4B",
"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" : "MolecularSequenceTransformsR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/MolecularSequence",
"mode" : "source",
"alias" : "MolecularSequenceR5"
},
{
"url" : "http://hl7.org/fhir/4.0/MolecularSequence",
"mode" : "target",
"alias" : "MolecularSequenceR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "MolecularSequence",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "MolecularSequenceR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "MolecularSequenceR4B",
"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/MolecularSequence.type-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "patient",
"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" : "relative",
"source" : [
{
"context" : "src",
"element" : "relative",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceSeq",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "MolecularSequenceReferenceSeq",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "relative",
"source" : [
{
"context" : "src",
"element" : "relative",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "variant",
"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" : "startingSequence",
"source" : [
{
"context" : "src",
"element" : "startingSequence",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21254-0'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "1"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 1"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21255-7'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "2"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 2"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21256-5'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "3"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 3"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21257-3'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "4"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 4"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21258-1'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "5"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 5"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21259-9'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "6"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 6"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21260-7'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "7"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 7"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21261-5'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "8"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 8"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21262-3'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "9"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 9"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21263-1'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "10"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 10"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21264-9'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "11"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 11"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21265-6'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "12"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 12"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21266-4'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "13"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 13"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21267-2'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "14"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 14"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21268-0'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "15"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 15"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21269-8'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "16"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 16"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21270-6'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "17"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 17"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21271-4'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "18"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 18"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21272-2'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "19"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 19"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21273-0'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "20"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 20"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21274-8'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "21"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 21"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21275-5'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "22"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome 22"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21276-3'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "X"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome X"
}
]
}
]
},
{
"name" : "chromosome",
"source" : [
{
"context" : "s",
"element" : "chromosome",
"variable" : "s",
"condition" : "code = 'LA21277-1'"
}
],
"target" : [
{
"context" : "tgt",
"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://terminology.hl7.org/CodeSystem/chromosome-human"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Y"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "chromosome Y"
}
]
}
]
},
{
"name" : "sequenceCodeableConcept",
"source" : [
{
"context" : "s",
"type" : "CodeableConcept",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceSeqId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "sequenceReference",
"source" : [
{
"context" : "s",
"type" : "Reference",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceSeqPointer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "sequenceString",
"source" : [
{
"context" : "s",
"type" : "string",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceSeqString",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "windowStart",
"source" : [
{
"context" : "s",
"element" : "windowStart",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "windowStart",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "windowEnd",
"source" : [
{
"context" : "s",
"element" : "windowEnd",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "windowEnd",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "orientation",
"source" : [
{
"context" : "s",
"element" : "orientation",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "orientation",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#orientationType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "strand",
"source" : [
{
"context" : "s",
"element" : "strand",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "strand",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#strandType"
},
{
"valueString" : "code"
}
]
}
]
}
]
}
]
},
{
"name" : "MolecularSequenceVariant",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "edit",
"source" : [
{
"context" : "src",
"element" : "edit",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "start",
"source" : [
{
"context" : "s",
"element" : "start",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "start",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "end",
"source" : [
{
"context" : "s",
"element" : "end",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "end",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "replacementSequence",
"source" : [
{
"context" : "s",
"element" : "replacementSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "observedAllele",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "replacedSequence",
"source" : [
{
"context" : "s",
"element" : "replacedSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceAllele",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
]
}