Example Observation/bmd (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of an encoded BMD measurements of left femur
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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:Resource.id [ fhir:value "bmd"]; # BMD measurements of left femur encoded as an observation for example purposes.
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"bmd\"> </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 "bmd" </p></div><p><b>status</b>: final</p><p><b>code</b>: BMD - Left Femur <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#24701-5 "Femur DXA Bone density")</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> "Duck DONALD"</p><p><b>performer</b>: <span title=\" well, actually. this isn't the patient, but it'll do for now \"><a href=\"organization-example-lab.html\">Organization/1832473e-2fe0-452d-abe9-3cdb9879522f: Acme Imaging Diagnostics</a> "Clinical Lab"</span></p><p><b>value</b>: 0.887 g/cm²<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g/cm-2 = 'g/cm-2')</span></p><p><b>bodySite</b>: Left Femur <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#71341001:272741003=7771000)</span></p></div>"
]; #
fhir:Observation.status [ fhir:value "final"]; #
fhir:Observation.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:24701-5;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "24701-5" ];
fhir:Coding.display [ fhir:value "Femur DXA Bone density" ]
];
fhir:CodeableConcept.text [ fhir:value "BMD - Left Femur" ]
]; #
fhir:Observation.subject [
fhir:Reference.reference [ fhir:value "Patient/pat2" ]
]; #
fhir:Observation.performer [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
fhir:Reference.display [ fhir:value "Acme Imaging Diagnostics" ]
]; # well, actually. this isn't the patient, but it'll do for now
fhir:Observation.valueQuantity [
fhir:Quantity.value [ fhir:value "0.887"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "g/cm²" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "g/cm-2" ]
]; #
fhir:Observation.bodySite [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "71341001:272741003=7771000" ]
]; # example of a post coordinated term
fhir:CodeableConcept.text [ fhir:value "Left Femur" ]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.