{
  "resourceType" : "MolecularDefinition",
  "id" : "example-allelesliced-cyp2c19-1016-cont",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/molecular-definition-data-types/StructureDefinition/allele"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: MolecularDefinition example-allelesliced-cyp2c19-1016-cont</b></p><a name=\"example-allelesliced-cyp2c19-1016-cont\"> </a><a name=\"hcexample-allelesliced-cyp2c19-1016-cont\"> </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><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-allele.html\">Allele</a></p></div><p><b>moleculeType</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type rna}\">RNA Sequence</span></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type dna}\">DNA Sequence</span></p><blockquote><p><b>location</b></p><blockquote><p><b>sequenceLocation</b></p><p><b>sequenceContext</b>: <a href=\"#hcexample-allelesliced-cyp2c19-1016-cont/example-sequence-nm0007694-acc\">Starting Sequence Resource: (CYP2C19), mRNA, NM_000769.4</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 LA30102-0}\">1-based character counting</span></td></tr></table><p><b>start</b>: 1016</p><p><b>end</b>: 1016</p></blockquote></blockquote></blockquote><blockquote><p><b>representation</b></p><p><b>focus</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecular-definition-focus allele-state}\">Allele State</span></p><p><b>code</b>: <span title=\"Codes:{http://www.pharmvar.org PV00076}\">CYP2C19*1.002</span></p><h3>Literals</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td>G</td></tr></table></blockquote><blockquote><p><b>representation</b></p><p><b>focus</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecular-definition-focus context-state}\">Context State</span></p><h3>Literals</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td>A</td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: MolecularDefinition #example-sequence-nm0007694-acc</b></p><a name=\"example-allelesliced-cyp2c19-1016-cont/example-sequence-nm0007694-acc\"> </a><a name=\"hcexample-allelesliced-cyp2c19-1016-cont/example-sequence-nm0007694-acc\"> </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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-sequence.html\">Sequence</a></p></div><p><b>moleculeType</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type rna}\">RNA Sequence</span></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type dna}\">DNA Sequence</span></p><h3>Representations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://www.ncbi.nlm.nih.gov/refseq NM_000769.4}\">Homo sapiens cytochrome P450 family 2 subfamily C member 19 (CYP2C19), mRNA</span></td></tr></table></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "MolecularDefinition",
    "id" : "example-sequence-nm0007694-acc",
    "meta" : {
      "profile" : ["http://hl7.org/fhir/uv/molecular-definition-data-types/StructureDefinition/sequence"]
    },
    "moleculeType" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type",
        "code" : "rna",
        "display" : "RNA Sequence"
      }]
    },
    "type" : [{
      "coding" : [{
        "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type",
        "code" : "dna",
        "display" : "DNA Sequence"
      }]
    }],
    "representation" : [{
      "code" : [{
        "coding" : [{
          "system" : "http://www.ncbi.nlm.nih.gov/refseq",
          "code" : "NM_000769.4",
          "display" : "Homo sapiens cytochrome P450 family 2 subfamily C member 19 (CYP2C19), mRNA"
        }]
      }]
    }]
  }],
  "moleculeType" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type",
      "code" : "rna",
      "display" : "RNA Sequence"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecule-type",
      "code" : "dna",
      "display" : "DNA Sequence"
    }]
  }],
  "location" : [{
    "sequenceLocation" : {
      "sequenceContext" : {
        "reference" : "#example-sequence-nm0007694-acc",
        "type" : "MolecularDefinition",
        "display" : "Starting Sequence Resource: (CYP2C19), mRNA, NM_000769.4"
      },
      "coordinateInterval" : {
        "coordinateSystem" : {
          "system" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "LA30102-0",
              "display" : "1-based character counting"
            }]
          }
        },
        "startQuantity" : {
          "value" : 1016
        },
        "endQuantity" : {
          "value" : 1016
        }
      }
    }
  }],
  "representation" : [{
    "focus" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecular-definition-focus",
        "code" : "allele-state",
        "display" : "Allele State"
      }]
    },
    "code" : [{
      "coding" : [{
        "system" : "http://www.pharmvar.org",
        "code" : "PV00076",
        "display" : "CYP2C19*1.002"
      }]
    }],
    "literal" : {
      "value" : "G"
    }
  },
  {
    "focus" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/uv/molecular-definition-data-types/CodeSystem/molecular-definition-focus",
        "code" : "context-state",
        "display" : "Context State"
      }]
    },
    "literal" : {
      "value" : "A"
    }
  }]
}