Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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 R3

Observation-example-bmd.ttl

Example Observation/bmd (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

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 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 -------------------------------------------------------------------

<http://hl7.org/fhir/Observation/bmd> a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "bmd"];
  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>: bmd</p><p><b>status</b>: final</p><p><b>code</b>: BMD - Left Femur <span>(Details : {LOINC code '24701-5' = 'Femur DXA Bone density', given as 'Femur DXA Bone density'})</span></p><p><b>subject</b>: <a>Patient/pat2</a></p><p><b>performer</b>: <a>Acme Imaging Diagnostics</a></p><p><b>value</b>: 0.887 g/cm²<span> (Details: UCUM code g/cm-2 = 'g/cm-2')</span></p><p><b>bodySite</b>: Left Femur <span>(Details : {SNOMED CT code '71341001:272741003=7771000' = 'Femur where Laterality = Left)</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:link <http://hl7.org/fhir/Patient/pat2>;
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Organization/1832473e-2fe0-452d-abe9-3cdb9879522f>;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Imaging Diagnostics" ]
  ];
  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" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Left Femur" ]
  ] .

<http://hl7.org/fhir/Patient/pat2> a fhir:Patient .

<http://hl7.org/fhir/Organization/1832473e-2fe0-452d-abe9-3cdb9879522f> a fhir:Organization .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Observation/bmd.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Observation/bmd.ttl> .

[a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bmd"] ; #         BMD measurements of left femur encoded as an observation for example purposes.        
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir: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 &quot;bmd&quot; </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 &quot;Femur DXA Bone density&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</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> &quot;Clinical Lab&quot;</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:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:24701-5 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "24701-5" ] ;
       fhir:display [ fhir:v "Femur DXA Bone density" ]
     ] ) ;
     fhir:text [ fhir:v "BMD - Left Femur" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Imaging Diagnostics" ]
  ] ) ; #         well, actually. this isn't the patient, but it'll do for now        
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "0.887"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "g/cm²" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "g/cm-2" ]
  ] ; # 
  fhir:bodySite [
     fhir:coding ( [
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "71341001:272741003=7771000" ]
     ] ) ; #   example of a post coordinated term  
     fhir:text [ fhir:v "Left Femur" ]
  ]] . # 


# -------------------------------------------------------------------------------------


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.