QI-Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0: STU6 (v6.0.0)) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Observation example - TTL Representation

Raw ttl | Download


@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 "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation>     ] )
  ] ; # 
  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=\"example\"> </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;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-simple-observation.html\">QICore Simple Observation</a></p></div><p><b>bodyPosition</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>status</b>: final</p><p><b>category</b>: Vital Signs <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#vital-signs)</span></p><p><b>code</b>: Hemoglobin [Mass/volume] in Venous blood <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#30350-3)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter/example</a></p><p><b>effective</b>: 2013-04-02 10:30:10+0100 --&gt; 2013-04-05 10:30:10+0100</p><p><b>issued</b>: Apr 3, 2013, 2:30:10 PM</p><p><b>performer</b>: <a href=\"Practitioner-example.html\">Practitioner/example: Practitioner</a> &quot; CAREFUL&quot;</p><p><b>value</b>: 7.2 g/dl<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g/dL = 'g/dL')</span></p><p><b>interpretation</b>: Below low normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#L &quot;Low&quot;)</span></p><p><b>bodySite</b>: Superficial forearm vein <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#308046002)</span></p><p><b>method</b>: Injection to forearm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#120220003)</span></p><p><b>derivedFrom</b>: <a href=\"Observation-example.html\">Observation/example</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Systolic blood pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8480-6; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#271649006)</span></p><p><b>value</b>: 107 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p><p><b>interpretation</b>: Normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#N &quot;normal&quot;)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Diastolic blood pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8462-4)</span></p><p><b>value</b>: 60 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p><p><b>interpretation</b>: Below low normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/v2/0078/index.html\">v2 ABNORMAL FLAGS</a>#L &quot;low&quot;)</span></p></blockquote></div>"
  ] ; # 
  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: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 "vital-signs" ] ;
fhir:display [ fhir:v "Vital Signs" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a loinc:30350-3 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "30350-3" ] ;
fhir:display [ fhir:v "Hemoglobin [Mass/volume] in Venous blood" ]     ] )
  ] ; # 
  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 "2013-04-02T10:30:10+01:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2013-04-05T10:30:10+01:00"^^xsd:dateTime ]
  ] ; # 
  fhir:issued [ fhir:v "2013-04-03T15:30:10+01:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
fhir:reference [ fhir:v "Practitioner/example" ] ;
fhir:display [ fhir:v "Practitioner" ]
  ] ) ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "7.2"^^xsd:decimal ] ;
fhir:unit [ fhir:v "g/dl" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "g/dL" ]
  ] ; # 
  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" ]
  ] ) ; # 
  fhir:bodySite [
    ( fhir:coding [
a sct:308046002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "308046002" ] ;
fhir:display [ fhir:v "Superficial forearm vein" ]     ] )
  ] ; # 
  fhir:method [
    ( fhir:coding [
a sct:120220003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "120220003" ] ;
fhir:display [ fhir:v "Injection to forearm" ]     ] )
  ] ; # 
  fhir:derivedFrom ( [
fhir:reference [ fhir:v "Observation/example" ]
  ] ) ; # 
  fhir:component ( [
fhir:code [
      ( fhir:coding [
a loinc:8480-6 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8480-6" ] ;
fhir:display [ fhir:v "Systolic blood pressure" ]       ] [
a sct:271649006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "271649006" ] ;
fhir:display [ fhir:v "Systolic blood pressure" ]       ] ) #       LOINC -code           ] ; # \n           Observations are often coded in multiple code systems.\n           - LOINC provides a very specific code (though not more specific in this particular\n     case)\n           - snomed provides a clinically relevant code that is usually less granular\n     than LOINC\n           - the source system provides its own code, which may be less or more granular\n     than LOINC\n\nthis is shown here to demonstrate  the concept of translations within the codeableConcept\n     datatype. The diastolic code below only has a LOINC code\n              
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "107"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mmHg" ] ;
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 "N" ] ;
fhir:display [ fhir:v "normal" ]       ] ) ;
fhir:text [ fhir:v "Normal" ]     ] ) #       an interpretation for the individual composite observation    
  ] [
fhir:code [
      ( fhir:coding [
a loinc:8462-4 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8462-4" ] ;
fhir:display [ fhir:v "Diastolic blood pressure" ]       ] )     ] ; #       this codes only has a LOINC code      
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "60"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mmHg" ] ;
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" ]     ] ) #       an interpretation for the individual composite observation    
  ] ) . #        Should have a refrange as well