FHIR Extensions Pack
5.1.0-ballot1 - Ballot for Release 5.1.0 International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MolecularSequence4to5"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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/MolecularSequence4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MolecularSequence4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for MolecularSequence: R4 to R5'</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/R4/codesystem-orientation-type.html\" title=\"orientationType\">http://hl7.org/fhir/4.0/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/R5/codesystem-orientation-type.html\" title=\"orientation Type\">http://hl7.org/fhir/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/R4/codesystem-sequence-type.html\" title=\"sequenceType\">http://hl7.org/fhir/4.0/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/R5/codesystem-sequence-type.html\" title=\"sequence Type\">http://hl7.org/fhir/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/R4/codesystem-strand-type.html\" title=\"strandType\">http://hl7.org/fhir/4.0/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/R5/codesystem-strand-type.html\" title=\"strand Type\">http://hl7.org/fhir/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/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>source</b>\r\n<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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<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>MolecularSequenceR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MolecularSequenceR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\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.patient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject<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.referenceSeq<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.relative<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MolecularSequenceReferenceSeq<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.literal as s -&gt; tgt.literal as t, t.observedSeq = s;</span>\r\n  src.variant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.relative<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MolecularSequenceVariant<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MolecularSequenceReferenceSeq<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '1'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21254-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 1'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '2'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21255-7'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 2'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '3'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21256-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 3'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '4'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21257-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 4'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '5'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21258-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 5'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '6'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21259-9'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 6'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '7'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21260-7'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 7'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '8'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21261-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 8'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '9'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21262-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 9'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '10'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21263-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 10'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '11'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21264-9'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 11'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '12'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21265-6'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 12'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '13'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21266-4'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 13'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '14'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21267-2'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 14'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '15'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21268-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 15'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '16'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21269-8'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 16'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '17'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21270-6'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 17'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '18'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21271-4'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 18'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '19'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21272-2'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 19'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '20'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21273-0'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 20'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '21'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21274-8'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 21'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = '22'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21275-5'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome 22'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'X'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21276-3'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome X'</span><span style=\"color: navy\">;</span>\r\n  src.chromosome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Y'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.chromosome = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'LA21277-1'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Chromosome Y'</span><span style=\"color: navy\">;</span>\r\n  src.referenceSeqId<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.referenceSeqPointer<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.referenceSeqString<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.sequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.windowStart<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.windowStart = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.windowEnd<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.windowEnd = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.orientation<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.orientation = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#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  src.strand<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.startingSequence<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.strand = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#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\">}\r\n\r\n</span><b>group </b>MolecularSequenceVariant<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.start<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.start = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.end<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.end = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.observedAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.replacementSequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.referenceAllele<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.edit<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.replacedSequence = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:contained ( [
a fhir:ConceptMap ;
fhir:id [ fhir:v "orientationType" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/4.0/orientation-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/orientation-type>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/orientation-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/orientation-type>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "sense" ] ;
        ( fhir:target [
fhir:code [ fhir:v "sense" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "antisense" ] ;
        ( fhir:target [
fhir:code [ fhir:v "antisense" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] )     ] )
  ] [
a fhir:ConceptMap ;
fhir:id [ fhir:v "sequenceType" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/4.0/sequence-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/sequence-type>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/sequence-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/sequence-type>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "aa" ] ;
        ( fhir:target [
fhir:code [ fhir:v "aa" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "dna" ] ;
        ( fhir:target [
fhir:code [ fhir:v "dna" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "rna" ] ;
        ( fhir:target [
fhir:code [ fhir:v "rna" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] )     ] )
  ] [
a fhir:ConceptMap ;
fhir:id [ fhir:v "strandType" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/4.0/strand-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/strand-type>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/strand-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/strand-type>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "watson" ] ;
        ( fhir:target [
fhir:code [ fhir:v "watson" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "crick" ] ;
        ( fhir:target [
fhir:code [ fhir:v "crick" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] )     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
fhir:v "1"^^xsd:integer ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "trial-use" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/MolecularSequence4to5"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "5.1.0-ballot1"] ; # 
  fhir:name [ fhir:v "MolecularSequence4to5"] ; # 
  fhir:title [ fhir:v "FML Conversion for MolecularSequence: R4 to R5"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2023-12-19T08:40:03+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "FMLConversionforMolecularSequenceR4toR5"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/4.0/StructureDefinition/MolecularSequence"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/MolecularSequence>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "MolecularSequenceR4" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/MolecularSequence"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/MolecularSequence>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "MolecularSequenceR5" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*4to5"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*4to5>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "MolecularSequence" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "MolecularSequenceR4" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "MolecularSequenceR5" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "identifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#sequenceType" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] [
fhir:name [ fhir:v "patient" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "patient" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "subject" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "specimen" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "specimen" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "specimen" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "src.focus -> tgt.focus;" ]     ] [
fhir:name [ fhir:v "device" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "device" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "device" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "performer" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "performer" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "performer" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "referenceSeq" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "referenceSeq" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "relative" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "MolecularSequenceReferenceSeq" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "src.literal as s -> tgt.literal as t, t.observedSeq = s;" ]     ] [
fhir:name [ fhir:v "variant" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "variant" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "relative" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "MolecularSequenceVariant" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] )
  ] [
fhir:name [ fhir:v "MolecularSequenceReferenceSeq" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '1'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21254-0" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 1" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '2'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21255-7" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 2" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '3'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21256-5" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 3" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '4'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21257-3" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 4" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '5'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21258-1" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 5" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '6'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21259-9" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 6" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '7'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21260-7" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 7" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '8'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21261-5" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 8" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '9'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21262-3" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 9" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '10'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21263-1" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 10" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '11'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21264-9" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 11" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '12'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21265-6" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 12" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '13'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21266-4" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 13" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '14'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21267-2" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 14" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '15'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21268-0" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 15" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '16'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21269-8" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 16" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '17'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21270-6" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 17" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '18'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21271-4" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 18" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '19'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21272-2" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 19" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '20'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21273-0" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 20" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '21'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21274-8" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 21" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = '22'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21275-5" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome 22" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = 'X'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21276-3" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome X" ]         ] )       ] )     ] [
fhir:name [ fhir:v "chromosome" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "s" ] ;
fhir:condition [ fhir:v "code = 'Y'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "chromosome" ] ;
fhir:variable [ fhir:v "tc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] [
fhir:context [ fhir:v "tc" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "tcc" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Coding" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "LA21277-1" ]         ] )       ] [
fhir:context [ fhir:v "tcc" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "Chromosome Y" ]         ] )       ] )     ] [
fhir:name [ fhir:v "referenceSeqIdCodeableConcept" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "CodeableConcept" ] ;
fhir:element [ fhir:v "referenceSeqId" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "sequence" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "referenceSeqPointerReference" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "Reference" ] ;
fhir:element [ fhir:v "referenceSeqPointer" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "sequence" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "referenceSeqStringString" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:element [ fhir:v "referenceSeqString" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "sequence" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "windowStartInteger" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "integer" ] ;
fhir:element [ fhir:v "windowStart" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "windowStart" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "windowEndInteger" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "integer" ] ;
fhir:element [ fhir:v "windowEnd" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "windowEnd" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "orientation" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "orientation" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "orientation" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#orientationType" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] [
fhir:name [ fhir:v "strand" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "strand" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "startingSequence" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "strand" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#strandType" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] )
  ] [
fhir:name [ fhir:v "MolecularSequenceVariant" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "startInteger" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "integer" ] ;
fhir:element [ fhir:v "start" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "edit" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "start" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "endInteger" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "integer" ] ;
fhir:element [ fhir:v "end" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "edit" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "end" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "observedAllele" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "observedAllele" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "edit" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "replacementSequence" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] [
fhir:name [ fhir:v "referenceAllele" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "referenceAllele" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "edit" ] ;
fhir:variable [ fhir:v "t" ]       ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "replacedSequence" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] )       ] )     ] )
  ] ) . #