Diagnostics
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-draft-final:
Final
QA
Preview
for
R5
-
STU
see
ballot
notes
).
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
| Clinical Genomics Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Patient |
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/MolecularSequence/example> a fhir:MolecularSequence; 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</b></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 "example" </p></div><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 0</p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><h3>ReferenceSeqs</h3><table class=\"grid\"><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 style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NC_000009.11)</span></td><td>watson</td><td>22125500</td><td>22125510</td></tr></table><h3>Variants</h3><table class=\"grid\"><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 class=\"grid\"><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 href=\"http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json\">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:MolecularSequence.type [ fhir:value "dna"]; fhir:MolecularSequence.coordinateSystem [ fhir:value "0"^^xsd:integer]; fhir:MolecularSequence.patient [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:MolecularSequence.referenceSeq [ fhir:MolecularSequence.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:MolecularSequence.referenceSeq.strand [ fhir:value "watson" ]; fhir:MolecularSequence.referenceSeq.windowStart [ fhir:value "22125500"^^xsd:integer ]; fhir:MolecularSequence.referenceSeq.windowEnd [ fhir:value "22125510"^^xsd:integer ] ]; fhir:MolecularSequence.variant [ fhir:index 0; fhir:MolecularSequence.variant.start [ fhir:value "22125503"^^xsd:integer ]; fhir:MolecularSequence.variant.end [ fhir:value "22125504"^^xsd:integer ]; fhir:MolecularSequence.variant.observedAllele [ fhir:value "C" ]; fhir:MolecularSequence.variant.referenceAllele [ fhir:value "G" ] ]; fhir:MolecularSequence.repository [ fhir:index 0; fhir:MolecularSequence.repository.type [ fhir:value "openapi" ]; fhir:MolecularSequence.repository.url [ fhir:value "http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json" ]; fhir:MolecularSequence.repository.name [ fhir:value "GA4GH API" ]; fhir:MolecularSequence.repository.variantsetId [ fhir:value "3:rs1333049" ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/MolecularSequence/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/MolecularSequence/example.ttl> .[a fhir:MolecularSequence ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MolecularSequence</b><a name=\"example\"> </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 "example" </p></div><p><b>type</b>: dna</p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><h3>Formatteds</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td></tr><tr><td>*</td><td>application/json</td><td><a href=\"http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json\">http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json</a></td><td>GA4GH API</td></tr></table></div>" ] ; # fhir:type [ fhir:v "dna"] ; # fhir:subject [ fhir:reference [ fhir:v "Patient/example" ] ] ; # fhir:formatted ( [ fhir:contentType [ fhir:v "application/json" ] ; fhir:url [ fhir:v "http://grch37.rest.ensembl.org/ga4gh/variants/3:rs1333049?content-type=application/json"^^xsd:anyURI ] ; fhir:title [ fhir:v "GA4GH API" ] ] )] . # # -------------------------------------------------------------------------------------
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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0-draft-final
generated
on
Sat,
May
28,
2022
12:56+1000.
Wed,
Mar
1,
2023
23:07+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change