Release 5 Draft Ballot

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Observation-example-glasgow.ttl

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Clinical assessment tool example - GCS with individual score as components

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "glasgow"];
  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=\"glasgow\"> </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;glasgow&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: Glasgow Coma Scale , (GCS) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9269-2 &quot;Glasgow coma score total&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example: Peter James Chalmers</a> &quot;Peter CHALMERS&quot;</p><p><b>effective</b>: 2014-12-11T04:44:16Z</p><p><b>value</b>: 13 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><blockquote><p><b>referenceRange</b></p><p><b>high</b>: 8 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: Severe TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote><blockquote><p><b>referenceRange</b></p><p><b>low</b>: 9 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>high</b>: 12 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: Moderate TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote><blockquote><p><b>referenceRange</b></p><p><b>low</b>: 13 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: Mild TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: GCS Motor <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9268-4 &quot;Glasgow coma score motor&quot;)</span></p><p><b>value</b>: 5 (Localizes painful stimuli) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (codes#5 &quot;Localizes painful stimuli&quot;; <a href=\"https://loinc.org/\">LOINC</a>#LA6566-9 &quot;Localizing pain&quot;)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: GSC Verbal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9270-0 &quot;Glasgow coma score verbal&quot;)</span></p><p><b>value</b>: 4 (Confused, disoriented) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (codes#4 &quot;Confused, disoriented&quot;; <a href=\"https://loinc.org/\">LOINC</a>#LA6560-2 &quot;Confused&quot;)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Eyes <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9267-6 &quot;Glasgow coma score eye opening&quot;)</span></p><p><b>value</b>: 4 (Opens eyes spontaneously) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (codes#4 &quot;Opens eyes spontaneously&quot;; <a href=\"https://loinc.org/\">LOINC</a>#LA6556-0 &quot;Eyes open spontaneously&quot;)</span></p></blockquote></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:9269-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "9269-2" ];
       fhir:Coding.display [ fhir:value "Glasgow coma score total" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Glasgow Coma Scale , (GCS)" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2014-12-11T04:44:16Z"^^xsd:dateTime];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "13"^^xsd:decimal ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "{score}" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "8"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "{score}" ]
     ];
     fhir:Observation.referenceRange.type [
       fhir:CodeableConcept.text [ fhir:value "Severe TBI" ]
     ]
  ], [
     fhir:index 1;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "9"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "{score}" ]
     ];
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "12"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "{score}" ]
     ];
     fhir:Observation.referenceRange.type [
       fhir:CodeableConcept.text [ fhir:value "Moderate TBI" ]
     ]
  ], [
     fhir:index 2;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "13"^^xsd:decimal ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "{score}" ]
     ];
     fhir:Observation.referenceRange.type [
       fhir:CodeableConcept.text [ fhir:value "Mild TBI" ]
     ]
  ];
  fhir:Observation.component [
     fhir:index 0;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:9268-4;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "9268-4" ];
         fhir:Coding.display [ fhir:value "Glasgow coma score motor" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "GCS Motor" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://acme.ec/codes" ];
         fhir:Coding.code [ fhir:value "5" ];
         fhir:Coding.display [ fhir:value "Localizes painful stimuli" ]
       ], [
         fhir:index 1;
         a loinc:LA6566-9;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "5"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6566-9" ];
         fhir:Coding.display [ fhir:value "Localizing pain" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "5 (Localizes painful stimuli)" ]
     ]
  ], [
     fhir:index 1;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:9270-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "9270-0" ];
         fhir:Coding.display [ fhir:value "Glasgow coma score verbal" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "GSC Verbal" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://acme.ec/codes" ];
         fhir:Coding.code [ fhir:value "4" ];
         fhir:Coding.display [ fhir:value "Confused, disoriented" ]
       ], [
         fhir:index 1;
         a loinc:LA6560-2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "4"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6560-2" ];
         fhir:Coding.display [ fhir:value "Confused" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "4 (Confused, disoriented)" ]
     ]
  ], [
     fhir:index 2;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:9267-6;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "9267-6" ];
         fhir:Coding.display [ fhir:value "Glasgow coma score eye opening" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Eyes" ]
     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://acme.ec/codes" ];
         fhir:Coding.code [ fhir:value "4" ];
         fhir:Coding.display [ fhir:value "Opens eyes spontaneously" ]
       ], [
         fhir:index 1;
         a loinc:LA6556-0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/ordinalValue" ];
           fhir:Extension.valueDecimal [ fhir:value "4"^^xsd:decimal ]
         ];
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "LA6556-0" ];
         fhir:Coding.display [ fhir:value "Eyes open spontaneously" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "4 (Opens eyes spontaneously)" ]
     ]
  ]] .

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