This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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 | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
Example of representing complex variants in Sequence Resource
@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 ------------------------------------------------------------------- <http://hl7.org/fhir/Sequence/sequence-complex-variant> a fhir:Sequence; 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 with Details</b></p><p><b>id</b>: sequence-complex-variant</p><p><b>identifier</b>: ?? (OFFICIAL)</p><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 1</p><p><b>specimen</b>: <a>Molecular Specimen ID: MLD45-Z4-1234</a></p><p><b>device</b>: 12 lead EKG Device Metric</p><p><b>performer</b>: <a>HL7</a></p><p><b>quantity</b>: 25</p><h3>ReferenceSeqs</h3><table><tr><td>-</td><td><b>ReferenceSeqId</b></td><td><b>Strand</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NC_000002.12 <span>(Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000002.12' = 'NC_000002.12)</span></td><td>1</td><td>128273724</td><td>128273754</td></tr></table><h3>Variants</h3><table><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ObservedAllele</b></td><td><b>ReferenceAllele</b></td><td><b>Cigar</b></td></tr><tr><td>*</td><td>128273724</td><td>128273736</td><td>CTCATTGT</td><td>CTCCATTGCATGCGTT</td><td>3M1D4M6N2M</td></tr></table><p><b>readCoverage</b>: 1</p><h3>Repositories</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>DatasetId</b></td><td><b>ReadsetId</b></td></tr><tr><td>*</td><td>other</td><td>Ensembl</td><td>v1beta2</td></tr></table></div>" ]; fhir:Sequence.identifier [ fhir:index 0; fhir:Identifier.use [ fhir:value "official" ] ]; fhir:Sequence.type [ fhir:value "dna"]; fhir:Sequence.coordinateSystem [ fhir:value "1"^^xsd:integer]; fhir:Sequence.specimen [ fhir:link <http://hl7.org/fhir/Specimen/genetics-example1-somatic>; fhir:Reference.reference [ fhir:value "Specimen/genetics-example1-somatic" ]; fhir:Reference.display [ fhir:value "Molecular Specimen ID: MLD45-Z4-1234" ] ]; fhir:Sequence.device [ fhir:Reference.display [ fhir:value "12 lead EKG Device Metric" ] ]; fhir:Sequence.performer [ fhir:link <http://hl7.org/fhir/Organization/hl7>; fhir:Reference.reference [ fhir:value "Organization/hl7" ]; fhir:Reference.display [ fhir:value "HL7" ] ]; fhir:Sequence.quantity [ fhir:Quantity.value [ fhir:value "25"^^xsd:decimal ] ]; fhir:Sequence.referenceSeq [ fhir:Sequence.referenceSeq.referenceSeqId [ 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:Sequence.referenceSeq.strand [ fhir:value "1"^^xsd:integer ]; fhir:Sequence.referenceSeq.windowStart [ fhir:value "128273724"^^xsd:integer ]; fhir:Sequence.referenceSeq.windowEnd [ fhir:value "128273754"^^xsd:integer ] ]; fhir:Sequence.variant [ fhir:index 0; fhir:Sequence.variant.start [ fhir:value "128273724"^^xsd:integer ]; fhir:Sequence.variant.end [ fhir:value "128273736"^^xsd:integer ]; fhir:Sequence.variant.observedAllele [ fhir:value "CTCATTGT" ]; fhir:Sequence.variant.referenceAllele [ fhir:value "CTCCATTGCATGCGTT" ]; fhir:Sequence.variant.cigar [ fhir:value "3M1D4M6N2M" ] ]; fhir:Sequence.readCoverage [ fhir:value "1"^^xsd:integer]; fhir:Sequence.repository [ fhir:index 0; fhir:Sequence.repository.type [ fhir:value "other" ]; fhir:Sequence.repository.datasetId [ fhir:value "Ensembl" ]; fhir:Sequence.repository.readsetId [ fhir:value "v1beta2" ] ] . <http://hl7.org/fhir/Specimen/genetics-example1-somatic> a fhir:Specimen . <http://hl7.org/fhir/Organization/hl7> a fhir:Organization . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Sequence/sequence-complex-variant.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Sequence/sequence-complex-variant.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.