FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "MolecularSequence5to4",
  "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/MolecularSequence5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MolecularSequence5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for MolecularSequence: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> &quot;</span>orientationType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-orientation-type.html\" title=\"orientation Type\">http://hl7.org/fhir/orientation-type</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-orientation-type.html\" title=\"orientationType\">http://hl7.org/fhir/4.0/orientation-type</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>sense <b>-</b> t<span style=\"color: navy\">:</span>sense\r\n  s<span style=\"color: navy\">:</span>antisense <b>-</b> t<span style=\"color: navy\">:</span>antisense\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>sequenceType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-sequence-type.html\" title=\"sequence Type\">http://hl7.org/fhir/sequence-type</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-sequence-type.html\" title=\"sequenceType\">http://hl7.org/fhir/4.0/sequence-type</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>aa <b>-</b> t<span style=\"color: navy\">:</span>aa\r\n  s<span style=\"color: navy\">:</span>dna <b>-</b> t<span style=\"color: navy\">:</span>dna\r\n  s<span style=\"color: navy\">:</span>rna <b>-</b> t<span style=\"color: navy\">:</span>rna\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>strandType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-strand-type.html\" title=\"strand Type\">http://hl7.org/fhir/strand-type</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-strand-type.html\" title=\"strandType\">http://hl7.org/fhir/4.0/strand-type</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>watson <b>-</b> t<span style=\"color: navy\">:</span>watson\r\n  s<span style=\"color: navy\">:</span>crick <b>-</b> t<span style=\"color: navy\">:</span>crick\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R5/molecularsequence.html\" title=\"MolecularSequence\">http://hl7.org/fhir/StructureDefinition/MolecularSequence</a><span style=\"color: navy\">&quot; </span><b>alias </b>MolecularSequenceR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/molecularsequence.html\" title=\"MolecularSequence\">http://hl7.org/fhir/4.0/StructureDefinition/MolecularSequence</a><span style=\"color: navy\">&quot; </span><b>alias </b>MolecularSequenceR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">&quot;\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>MolecularSequenceR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </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> -&gt; </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#sequenceType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n  src.specimen<span style=\"color: navy\"><b> -&gt; </b></span>tgt.specimen<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.focus -&gt; tgt.focus;</span>\r\n  src.device<span style=\"color: navy\"><b> -&gt; </b></span>tgt.device<span style=\"color: navy\">;</span>\r\n  src.performer<span style=\"color: navy\"><b> -&gt; </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> -&gt; </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> <span style=\"color: navy\">// </span><span style=\"color: green\">src.literal -&gt; tgt.literal;</span>\r\n  src.relative<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </b></span>tgt.referenceSeqId<span style=\"color: navy\">;</span>\r\n    s.sequence<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -&gt; </b></span>tgt.referenceSeqPointer<span style=\"color: navy\">;</span>\r\n    s.sequence<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -&gt; </b></span>tgt.referenceSeqString<span style=\"color: navy\">;</span>\r\n    s.windowStart<span style=\"color: navy\"><b> -&gt; </b></span>tgt.windowStart<span style=\"color: navy\">;</span>\r\n    s.windowEnd<span style=\"color: navy\"><b> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </b></span>tgt.start<span style=\"color: navy\">;</span>\r\n    s.end<span style=\"color: navy\"><b> -&gt; </b></span>tgt.end<span style=\"color: navy\">;</span>\r\n    s.replacementSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.observedAllele<span style=\"color: navy\">;</span>\r\n    s.replacedSequence<span style=\"color: navy\"><b> -&gt; </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>"
  },
  "contained" : [
    {
      "resourceType" : "ConceptMap",
      "id" : "orientationType",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/orientation-type",
          "target" : "http://hl7.org/fhir/4.0/orientation-type",
          "element" : [
            {
              "code" : "sense",
              "target" : [
                {
                  "code" : "sense",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "antisense",
              "target" : [
                {
                  "code" : "antisense",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "sequenceType",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/sequence-type",
          "target" : "http://hl7.org/fhir/4.0/sequence-type",
          "element" : [
            {
              "code" : "aa",
              "target" : [
                {
                  "code" : "aa",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "dna",
              "target" : [
                {
                  "code" : "dna",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "rna",
              "target" : [
                {
                  "code" : "rna",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "strandType",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/strand-type",
          "target" : "http://hl7.org/fhir/4.0/strand-type",
          "element" : [
            {
              "code" : "watson",
              "target" : [
                {
                  "code" : "watson",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "crick",
              "target" : [
                {
                  "code" : "crick",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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.extensions"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/MolecularSequence5to4",
  "version" : "5.1.0",
  "name" : "MolecularSequence5to4",
  "title" : "FML Conversion for MolecularSequence: R5 to R4",
  "status" : "active",
  "date" : "2024-04-27T18:54:50+10:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "FMLConversionforMolecularSequenceR5toR4",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/MolecularSequence",
      "mode" : "source",
      "alias" : "MolecularSequenceR5"
    },
    {
      "url" : "http://hl7.org/fhir/4.0/StructureDefinition/MolecularSequence",
      "mode" : "target",
      "alias" : "MolecularSequenceR4"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*5to4"
  ],
  "group" : [
    {
      "name" : "MolecularSequence",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "MolecularSequenceR5",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "MolecularSequenceR4",
          "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" : "#sequenceType"
                },
                {
                  "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"
                }
              ]
            }
          ],
          "documentation" : "src.focus -> tgt.focus;"
        },
        {
          "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"
                }
              ]
            }
          ],
          "documentation" : "src.literal -> tgt.literal;"
        },
        {
          "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"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}