This page is part of the FHIR Specification (v3.0.2: STU 3). 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: R4B R4 R3
Orders and Observations Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Example of a TPMT haplotype observation
@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/Observation/example-TPMT-haplotype-one> a fhir:Observation; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-TPMT-haplotype-one"]; 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-TPMT-haplotype-one</p><p><b>status</b>: unknown</p><p><b>code</b>: Haplotype Call <span>(Details : {SNOMED CT code '363779003' = '363779003', given as 'Genotype determination'})</span></p><p><b>subject</b>: <a>E***********</a></p><p><b>issued</b>: 03/04/2013 3:30:10 PM</p><p><b>value</b>: *1 <span>(Details : {http://pharmakb.org code 'PA166128347' = 'PA166128347', given as '*1'})</span></p><h3>Relateds</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>derived-from</td><td><a>Sequence/example-TPMT-one</a></td></tr></table></div>" ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene" ]; fhir:Extension.valueCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://www.genenames.org" ]; fhir:Coding.code [ fhir:value "12014" ]; fhir:Coding.display [ fhir:value "TPMT" ] ] ] ]; fhir:Observation.status [ fhir:value "unknown"]; fhir:Observation.code [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://snomed.info" ]; fhir:Coding.code [ fhir:value "363779003" ]; fhir:Coding.display [ fhir:value "Genotype determination" ] ]; fhir:CodeableConcept.text [ fhir:value "Haplotype Call" ] ]; fhir:Observation.subject [ fhir:link <http://hl7.org/fhir/Patient/example>; fhir:Reference.reference [ fhir:value "Patient/example" ]; fhir:Reference.display [ fhir:value "E***********" ] ]; fhir:Observation.issued [ fhir:value "2013-04-03T15:30:10+01:00"^^xsd:dateTime]; fhir:Observation.valueCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://pharmakb.org" ]; fhir:Coding.code [ fhir:value "PA166128347" ]; fhir:Coding.display [ fhir:value "*1" ] ] ]; fhir:Observation.related [ fhir:index 0; fhir:Observation.related.type [ fhir:value "derived-from" ]; fhir:Observation.related.target [ fhir:link <http://hl7.org/fhir/Sequence/example-TPMT-one>; fhir:Reference.reference [ fhir:value "Sequence/example-TPMT-one" ] ] ] . <http://hl7.org/fhir/Patient/example> a fhir:Patient . <http://hl7.org/fhir/Sequence/example-TPMT-one> a fhir:Sequence . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Observation/example-TPMT-haplotype-one.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/Observation/example-TPMT-haplotype-one.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.