<?xml version="1.0" encoding="UTF-8"?>

<MolecularDefinition xmlns="http://hl7.org/fhir" resourceDefinition="http://hl7.org/fhir/StructureDefinition/MolecularDefinition|0.1.0-ci-build">
  <id value="example-allelesliced1"/>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><p class="res-header-id"><b>Generated Narrative: MolecularDefinition example-allelesliced1</b></p><a name="example-allelesliced1"> </a><a name="hcexample-allelesliced1"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Language: en</p></div><p><b>moleculeType</b>: <span title="Codes:{http://hl7.org/fhir/uv/cg-incubator/CodeSystem/moleculardefinition-moleculetype dna}">DNA sequence</span></p><blockquote><p><b>location</b></p><blockquote><p><b>sequenceLocation</b></p><p><b>sequenceContext</b>: <a href="MolecularDefinition-example-sequence-lrg584.html">Starting Sequence Resource: LRG_584</a></p><blockquote><p><b>coordinateInterval</b></p><h3>CoordinateSystems</h3><table class="grid"><tr><td style="display: none">-</td><td><b>System</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://loinc.org LA30100-4}">0-based interval counting</span></td></tr></table><p><b>start</b>: 5001</p><p><b>end</b>: 97867</p></blockquote></blockquote></blockquote><blockquote><p><b>representation</b></p><p><b>focus</b>: Allele State</p><p><b>resolvable</b>: <a href="DocumentReference-example-genomicFile-ng0083843.html">DocumentReference: identifier = http://example.org/identifiers/files#11111; status = current; docStatus = preliminary; description = A sample Document Reference instance representing Homo sapiens cytochrome P450 family 2 subfamily C member 19 (CYP2C19), RefSeqGene (LRG_584) on chromosome 10.</a></p></blockquote><blockquote><p><b>representation</b></p><p><b>focus</b>: Context State</p><blockquote><p><b>relative</b></p><p><b>startingMolecule</b>: <a href="MolecularDefinition-example-sequence-lrg584.html">Starting Sequence Resource: LRG_584</a></p><blockquote><p><b>edit</b></p><blockquote><p><b>coordinateInterval</b></p><h3>CoordinateSystems</h3><table class="grid"><tr><td style="display: none">-</td><td><b>System</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://loinc.org LA30100-4}">0-based interval counting</span></td></tr></table><p><b>start</b>: 5123</p><p><b>end</b>: 5124</p></blockquote><p><b>replacementMolecule</b>: <a href="MolecularDefinition-example-sequence-t.html">Replacement Sequence Resource: T</a></p><p><b>replacedMolecule</b>: <a href="MolecularDefinition-example-sequence-c.html">Replaced Sequence Resource: C</a></p></blockquote></blockquote></blockquote></div>
  </text>
  <moleculeType>
    <coding>
      <system value="http://hl7.org/fhir/uv/cg-incubator/CodeSystem/moleculardefinition-moleculetype"/>
      <code value="dna"/>
      <display value="DNA sequence"/>
    </coding>
  </moleculeType>
  <location>
    <sequenceLocation>
      <sequenceContext>
        <reference value="MolecularDefinition/example-sequence-lrg584"/>
        <type value="MolecularDefinition"/>
        <display value="Starting Sequence Resource: LRG_584"/>
      </sequenceContext>
      <coordinateInterval>
        <coordinateSystem>
          <system>
            <coding>
              <system value="http://loinc.org"/>
              <code value="LA30100-4"/>
              <display value="0-based interval counting"/>
            </coding>
            <text value="0-based interval counting"/>
          </system>
        </coordinateSystem>
        <startQuantity>
          <value value="5001"/>
        </startQuantity>
        <endQuantity>
          <value value="97867"/>
        </endQuantity>
      </coordinateInterval>
    </sequenceLocation>
  </location>
  <representation>
    <focus value="allele-state"/>
    <resolvable>
      <reference value="DocumentReference/example-genomicFile-ng0083843"/>
    </resolvable>
  </representation>
  <representation>
    <focus value="context-state"/>
    <relative>
      <startingMolecule>
        <reference value="MolecularDefinition/example-sequence-lrg584"/>
        <type value="MolecularDefinition"/>
        <display value="Starting Sequence Resource: LRG_584"/>
      </startingMolecule>
      <edit>
        <coordinateInterval>
          <coordinateSystem>
            <system>
              <coding>
                <system value="http://loinc.org"/>
                <code value="LA30100-4"/>
                <display value="0-based interval counting"/>
              </coding>
              <text value="0-based interval counting"/>
            </system>
          </coordinateSystem>
          <startQuantity>
            <value value="5123"/>
          </startQuantity>
          <endQuantity>
            <value value="5124"/>
          </endQuantity>
        </coordinateInterval>
        <replacementMolecule>
          <reference value="MolecularDefinition/example-sequence-t"/>
          <type value="MolecularDefinition"/>
          <display value="Replacement Sequence Resource: T"/>
        </replacementMolecule>
        <replacedMolecule>
          <reference value="MolecularDefinition/example-sequence-c"/>
          <type value="MolecularDefinition"/>
          <display value="Replaced Sequence Resource: C"/>
        </replacedMolecule>
      </edit>
    </relative>
  </representation>
</MolecularDefinition>