This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - 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
Example Observation/map-sitting (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
An example to demonstrate using the bodyPosition and delta extensions
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Observation ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "map-sitting"] ; #
fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"map-sitting\"> </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 Observation "map-sitting" </p></div><p><b>Observation Body Position</b>: Sitting position (finding) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#33586001)</span></p><p><b>Observation Delta</b>: Decreased (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1250004)</span></p><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Mean blood pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8478-0)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><p><b>encounter</b>: <a href=\"encounter-example.html\">Encounter/example</a></p><p><b>effective</b>: 2018-04-02T10:30:10+01:00 --> 2018-04-05T10:30:10+01:00</p><p><b>issued</b>: 4 Apr 2018, 12:30:10 am</p><p><b>value</b>: 60 mm Hg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mmHg')</span></p><p><b>interpretation</b>: Below low normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (v2-0078#L "Low")</span></p></div>"
] ; # To be used only when the body position in not precoordinated in the observation code.
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:coding ( [
a sct:33586001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "33586001" ] ;
fhir:display [ fhir:v "Sitting position (finding)" ]
] )
]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/observation-delta"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:coding ( [
a sct:1250004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1250004" ] ;
fhir:display [ fhir:v "Decreased (qualifier value)" ]
] )
]
] ) ; #
fhir:status [ fhir:v "final"] ; #
fhir:category ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ] ;
fhir:display [ fhir:v "Laboratory" ]
] )
] ) ; #
fhir:code [
fhir:coding ( [
a loinc:8478-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8478-0" ] ;
fhir:display [ fhir:v "Mean blood pressure" ]
] )
] ; #
fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:encounter [
fhir:reference [ fhir:v "Encounter/example" ]
] ; #
fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2018-04-02T10:30:10+01:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2018-04-05T10:30:10+01:00"^^xsd:dateTime ]
] ; #
fhir:issued [ fhir:v "2018-04-03T15:30:10+01:00"^^xsd:dateTime] ; #
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "60"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mm Hg" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mm[Hg]" ]
] ; #
fhir:interpretation ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0078"^^xsd:anyURI ] ;
fhir:code [ fhir:v "L" ] ;
fhir:display [ fhir:v "Low" ]
] ) ;
fhir:text [ fhir:v "Below low normal" ]
] )] . #
# -------------------------------------------------------------------------------------
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.