OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: OpenMRS Observation Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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-openmrs-Observation"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/OpenMRS-observation"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/OpenMRS-observation>     ] )
  ] ; # 
  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=\"example-openmrs-Observation\"> </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-openmrs-Observation&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-OpenMRS-observation.html\">OpenMRS Observation</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Exam <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#exam)</span></p><p><b>code</b>: Arterial blood oxygen saturation (pulse oximeter) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#431314004 &quot;SpO2 - saturation of peripheral oxygen&quot;)</span></p><p><b>subject</b>: <a href=\"Patient-example-openmrs-Patient.html\">Patient/example-openmrs-Patient</a> &quot; JEANNETTE&quot;</p><p><b>encounter</b>: <a href=\"Encounter-5b829d01-34bb-47d1-b1bb-9303c3a9ebcb.html\">Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb</a></p><p><b>value</b>: 25 DEG C</p><p><b>interpretation</b>: High <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ObservationInterpretation.html\">ObservationInterpretation</a>#H)</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>10</td><td>272</td><td>absolute <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (reference-range#absolute)</span></td></tr></table></div>"
  ] ; # 
  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 "exam" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:431314004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "431314004" ] ;
fhir:display [ fhir:v "SpO2 - saturation of peripheral oxygen" ]     ] ) ;
fhir:text [ fhir:v "Arterial blood oxygen saturation (pulse oximeter)" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example-openmrs-Patient" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb" ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "25"^^xsd:decimal ] ;
fhir:unit [ fhir:v "DEG C" ]
  ] ; # 
  fhir:interpretation ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"^^xsd:anyURI ] ;
fhir:code [ fhir:v "H" ] ;
fhir:display [ fhir:v "High" ]     ] )
  ] ) ; # 
  fhir:referenceRange ( [
fhir:low [
fhir:value [ fhir:v "10"^^xsd:decimal ]     ] ;
fhir:high [
fhir:value [ fhir:v "272"^^xsd:decimal ]     ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://fhir.openmrs.org/ext/obs/reference-range"^^xsd:anyURI ] ;
fhir:code [ fhir:v "absolute" ]       ] )     ]
  ] ) . #