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

<http://hl7.org/fhir/Observation/hdl> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "hdl"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "laboratory" ] ;
       fhir:display [ fhir:v "Laboratory" ]
     ] ) ;
     fhir:text [ fhir:v "Laboratory" ]
  ] [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:oid:1.2.840.114350.1.13.177.2.7.10.798268.30"^^xsd:anyURI ;
         fhir:l <urn:oid:1.2.840.114350.1.13.177.2.7.10.798268.30>
       ] ;
       fhir:code [ fhir:v "Lab" ] ;
       fhir:display [ fhir:v "Lab" ]
     ] ) ;
     fhir:text [ fhir:v "Lab" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:2085-9 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "2085-9" ] ;
       fhir:display [ fhir:v "Cholesterol in HDL [Mass/volume] in Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "HDL" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/pat2> ;
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2015-08-16T06:40:17Z"^^xsd:dateTime
  ] ; # 
  fhir:issued [ fhir:v "2015-08-16T08:40:17Z"^^xsd:dateTime] ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "46"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mg/dL" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "mg/dL" ]
  ] ; # 
  fhir:specimen [
     fhir:l <http://hl7.org/fhir/Specimen/sst> ;
     fhir:reference [ fhir:v "Specimen/sst" ] ;
     fhir:display [ fhir:v "Serum sample" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:low [
       fhir:value [ fhir:v "40"^^xsd:decimal ] ;
       fhir:comparator [ fhir:v ">" ] ;
       fhir:unit [ fhir:v "mg/dL" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mg/dL" ]
     ]
  ] ) . # 

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

<http://hl7.org/fhir/Specimen/sst> a fhir:Specimen .

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

