This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Clinical Genomics Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Patient |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of representing complex variants in MolecularSequence resource
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <http://loinc.org/rdf#> . @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:MolecularSequence; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "sequence-complex-variant"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MolecularSequence</b><a name=\"sequence-complex-variant\"> </a></p><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\">Resource MolecularSequence "sequence-complex-variant" </p></div><p><b>identifier</b>: id: ?ngen-9? (OFFICIAL)</p><p><b>type</b>: dna</p><p><b>specimen</b>: <a href=\"todo.html\">Specimen/genetics-example1-somatic: Molecular Specimen ID: MLD45-Z4-1234</a></p><p><b>device</b>: <span>: 12 lead EKG Device Metric</span></p><p><b>performer</b>: <a href=\"organization-example.html\">Organization/hl7: HL7</a> "Health Level Seven International"</p><blockquote><p><b>relative</b></p><p><b>coordinateSystem</b>: 0-based interval counting <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA30100-4)</span></p><h3>StartingSequences</h3><table class=\"grid\"><tr><td>-</td><td><b>Sequence[x]</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td><td><b>Strand</b></td></tr><tr><td>*</td><td>NC_000002.12 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NC_000002.12)</span></td><td>128273724</td><td>128273754</td><td>watson</td></tr></table><h3>Edits</h3><table class=\"grid\"><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ReplacementSequence</b></td><td><b>ReplacedSequence</b></td></tr><tr><td>*</td><td>128273724</td><td>128273736</td><td>CTCATTGT</td><td>CTCCATTGCATGCGTT</td></tr></table></blockquote></div>" ]; fhir:MolecularSequence.identifier [ fhir:index 0; fhir:Identifier.use [ fhir:value "official" ] ]; fhir:MolecularSequence.type [ fhir:value "dna"]; fhir:MolecularSequence.specimen [ fhir:Reference.reference [ fhir:value "Specimen/genetics-example1-somatic" ]; fhir:Reference.display [ fhir:value "Molecular Specimen ID: MLD45-Z4-1234" ] ]; fhir:MolecularSequence.device [ fhir:Reference.display [ fhir:value "12 lead EKG Device Metric" ] ]; fhir:MolecularSequence.performer [ fhir:Reference.reference [ fhir:value "Organization/hl7" ]; fhir:Reference.display [ fhir:value "HL7" ] ]; fhir:MolecularSequence.relative [ fhir:index 0; fhir:MolecularSequence.relative.coordinateSystem [ fhir:CodeableConcept.coding [ fhir:index 0; a loinc:LA30100-4; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "LA30100-4" ]; fhir:Coding.display [ fhir:value "0-based interval counting" ] ] ]; fhir:MolecularSequence.relative.startingSequence [ fhir:MolecularSequence.relative.startingSequence.sequenceCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore" ]; fhir:Coding.code [ fhir:value "NC_000002.12" ] ] ]; fhir:MolecularSequence.relative.startingSequence.windowStart [ fhir:value "128273724"^^xsd:integer ]; fhir:MolecularSequence.relative.startingSequence.windowEnd [ fhir:value "128273754"^^xsd:integer ]; fhir:MolecularSequence.relative.startingSequence.strand [ fhir:value "watson" ] ]; fhir:MolecularSequence.relative.edit [ fhir:index 0; fhir:MolecularSequence.relative.edit.start [ fhir:value "128273724"^^xsd:integer ]; fhir:MolecularSequence.relative.edit.end [ fhir:value "128273736"^^xsd:integer ]; fhir:MolecularSequence.relative.edit.replacementSequence [ fhir:value "CTCATTGT" ]; fhir:MolecularSequence.relative.edit.replacedSequence [ fhir:value "CTCCATTGCATGCGTT" ] ] ]] . # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.