@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-vitamind-serum> a fhir:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-lab-service-vitamind-serum"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\">\n            <p><b>Lab Service - Vitamin D serum test:</b></p>\n            <p>Single-parameter medical biology test:</p>\n            <p>25-(OH)-Vitamin D (D2 + D3) assay</p>\n            <p>Description: Vitamin D measured on serum specimen</p>\n            <p>Orderable: yes</p>\n            <p>Turnaround time: 120 minutes</p>\n        </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/Composition/example-lab-compendium-header> ;
       fhir:reference [ fhir:v "Composition/example-lab-compendium-header" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/ChargeItemDefinition/example-lab-billing-vitamind-focus> ;
       fhir:reference [ fhir:v "ChargeItemDefinition/example-lab-billing-vitamind-focus" ]
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "textualSummary"^^xsd:anyURI ;
         fhir:l fhir:textualSummary
       ] ;
       fhir:value [
         a fhir:Markdown ;
         fhir:v "Reimbursement is subject to the patient condition in conjunction with the reason for ordering"
       ]
     ] [
       fhir:url [
         fhir:v "reimbursabilitySummary"^^xsd:anyURI ;
         fhir:l fhir:reimbursabilitySummary
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "conditional"
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/BillingSummary"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/BillingSummary>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ScheduleSummary"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ScheduleSummary>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Set up: Mon-Sat (Day shift or Night shift), Sun (Day shift); Report available: 1 day"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LimitationSummary"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LimitationSummary>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "No specific limitation for this test"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-vitamind-serum"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-vitamind-serum>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.55.34.12" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "VitaminDMeasurement"] ; # 
  fhir:title [ fhir:v "Vitamin D blood test"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/uv/order-catalog/CodeSystem/laboratory-service-definition-type"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/CodeSystem/laboratory-service-definition-type>
       ] ;
       fhir:code [ fhir:v "test" ] ;
       fhir:display [ fhir:v "unitary measurement performed on an in vitro biologic specimen" ]
     ] )
  ] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2020-02-19T20:00:00+02:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Vitamin D measured on serum specimen"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "task" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "LABOE" ] ;
         fhir:display [ fhir:v "laboratory test order entry task" ]
       ] )
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ]
     ] )
  ] ) ; # 
  fhir:topic ( [
     fhir:coding ( [
       a loinc:18719-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "18719-5" ] ;
       fhir:display [ fhir:v "Chemistry studies (set)" ]
     ] )
  ] [
     fhir:coding ( [
       a sct:166312007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "166312007" ] ;
       fhir:display [ fhir:v "Blood chemistry" ]
     ] )
  ] ) ; # 
  fhir:action ( [
     fhir:extension ( [
       fhir:extension ( [
         fhir:extension ( [
           fhir:url [
             fhir:v "Material"^^xsd:anyURI ;
             fhir:l fhir:Material
           ] ;
           fhir:value [
             a fhir:Reference ;
             fhir:l <http://hl7.org/fhir/uv/order-catalog/SpecimenDefinition/example-specimen-venous-serum-single-test> ;
             fhir:reference [ fhir:v "SpecimenDefinition/example-specimen-venous-serum-single-test" ] ;
             fhir:display [ fhir:v "example-specimen-venous-serum-single-test" ]
           ]
         ] ) ;
         fhir:url [
           fhir:v "ExclusiveGroup"^^xsd:anyURI ;
           fhir:l fhir:ExclusiveGroup
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested>
       ]
     ] ) ;
     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:timing [
       a fhir:Duration ;
       fhir:value [ fhir:v "120"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "minutes" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mn" ]
     ] ;
     fhir:definition [
       a fhir:Canonical ;
       fhir:v "http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-vitamind-serum"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-vitamind-serum>
     ]
  ] ) . # 

<http://hl7.org/fhir/uv/order-catalog/Composition/example-lab-compendium-header> a fhir:Uv .

<http://hl7.org/fhir/uv/order-catalog/ChargeItemDefinition/example-lab-billing-vitamind-focus> a fhir:Uv .

<http://hl7.org/fhir/uv/order-catalog/SpecimenDefinition/example-specimen-venous-serum-single-test> a fhir:Uv .

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

