This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Clinical Genomics Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Simple sequence example
@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/example> a fhir:Sequence; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; 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>: example</p><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 0</p><p><b>patient</b>: <a>Patient/example</a></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_000009.11 <span>(Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000009.11' = 'NC_000009.11)</span></td><td>watson</td><td>22125500</td><td>22125510</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></tr><tr><td>*</td><td>22125503</td><td>22125504</td><td>C</td><td>G</td></tr></table><h3>Repositories</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Url</b></td><td><b>Name</b></td><td><b>VariantsetId</b></td></tr><tr><td>*</td><td>openapi</td><td><a>http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json</a></td><td>GA4GH API</td><td>3:rs1333049</td></tr></table></div>" ]; fhir:Sequence.type [ fhir:value "dna"]; fhir:Sequence.coordinateSystem [ fhir:value "0"^^xsd:integer]; fhir:Sequence.patient [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; 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_000009.11" ] ] ]; fhir:Sequence.referenceSeq.strand [ fhir:value "watson" ]; fhir:Sequence.referenceSeq.windowStart [ fhir:value "22125500"^^xsd:integer ]; fhir:Sequence.referenceSeq.windowEnd [ fhir:value "22125510"^^xsd:integer ] ]; fhir:Sequence.variant [ fhir:index 0; fhir:Sequence.variant.start [ fhir:value "22125503"^^xsd:integer ]; fhir:Sequence.variant.end [ fhir:value "22125504"^^xsd:integer ]; fhir:Sequence.variant.observedAllele [ fhir:value "C" ]; fhir:Sequence.variant.referenceAllele [ fhir:value "G" ] ]; fhir:Sequence.repository [ fhir:index 0; fhir:Sequence.repository.type [ fhir:value "openapi" ]; fhir:Sequence.repository.url [ fhir:value "http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json" ]; fhir:Sequence.repository.name [ fhir:value "GA4GH API" ]; fhir:Sequence.repository.variantsetId [ fhir:value "3:rs1333049" ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Sequence/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Sequence/example.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.