@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/uv/order-catalog/ObservationDefinition/example-observation-vitamin-d> a fhir:ObservationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-observation-vitamin-d"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabObservationDefinition"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabObservationDefinition>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n            <p><b>Observation Definition - Vitamin D serum test:</b></p>\n            <p>Medical biology test: Vitamin D assay in blood serum</p>\n            <p>Category: laboratory</p>\n            <p>Identification: 14635-7 |25-hydroxyvitamin D3 [Moles/volume] in Serum or Plasma| (http://loinc.org)</p>\n            <p>Permitted result types: quantitative, textual</p>\n            <p>Multiple results: no</p>\n            <p>Preferred report name: Vitamin D</p>\n            <p>Unit of measure: pmol/L (http://unitsofmeasure.org)</p>\n        </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  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:code [
     fhir:coding ( [
       a loinc:14635-7 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "14635-7" ] ;
       fhir:display [ fhir:v "25-hydroxyvitamin D3 [Moles/volume] in Serum or Plasma" ]
     ] )
  ] ; # 
  fhir:permittedDataType ( [ fhir:v "Quantity"] [ fhir:v "string"] ) ; # 
  fhir:multipleResultsAllowed [ fhir:v false] ; # 
  fhir:preferredReportName [ fhir:v "Vitamin D"] ; # 
  fhir:permittedUnit ( [
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "pmol/L" ]
  ] ) . # 

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

