@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7.fi/fhir/finnish-base-profiles/Observation/bloodglucose-data-absent> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bloodglucose-data-absent"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://phr.kanta.fi/StructureDefinition/fiphr-sd-bloodglucose"^^xsd:anyURI ;
       fhir:link <http://phr.kanta.fi/StructureDefinition/fiphr-sd-bloodglucose>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Code: Glucose [Moles/volume] in Capillary blood by Glucometer (14743-9)<br/>Time: 20.11.2017 11:46<br/> result: error</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:uuid:206fc986-517a-4054-bc0a-03eb906c9571" ]
  ] ) ; # 
  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:code [
     fhir:coding ( [
       a loinc:14743-9 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "14743-9" ] ;
       fhir:display [ fhir:v "Glucose [Moles/volume] in Capillary blood by Glucometer" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <https://hl7.fi/fhir/finnish-base-profiles/Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad> ;
     fhir:reference [ fhir:v "Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2017-11-20T11:46:00+02:00"^^xsd:dateTime
  ] ; # 
  fhir:issued [ fhir:v "2017-11-20T11:46:00+02:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:link <https://hl7.fi/fhir/finnish-base-profiles/Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad> ;
     fhir:reference [ fhir:v "Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad" ]
  ] ) ; # 
  fhir:dataAbsentReason [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "error" ] ;
       fhir:display [ fhir:v "Error" ]
     ] )
  ] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "This is an example, where measurement device has failed to measure blood glucose reading. In this case 'error' must be used in dataAbsentReason.coding.code" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

