@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/ObservationDefinition/example-ck-panel> a fhir:ObservationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-ck-panel"] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "oo"
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  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: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:32673-6 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "32673-6" ] ;
       fhir:display [ fhir:v "Creatine kinase.MB [Enzymatic activity/volume] in Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "Creatine Kinase Panel" ]
  ] ; # 
  fhir:permittedDataType ( [ fhir:v "Quantity"] ) ; # 
  fhir:multipleResultsAllowed [ fhir:v true] ; # 
  fhir:preferredReportName [ fhir:v "Creatine Kinase, MB and Relative Percent"] ; #   <method>
#    <coding>
#      <system value="http://snomed.info/sct"/>
#      <code value="258066000"/>
#      <display value="Enzymatic measurement"/>
#    </coding>
#  </method>  
  fhir:qualifiedValue ( [
     fhir:condition [ ] ;
     fhir:context [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/referencerange-meaning>
         ] ;
         fhir:code [ fhir:v "normal" ] ;
         fhir:display [ fhir:v "Normal Range" ]
       ] )
     ] ;
     fhir:rangeCategory [ fhir:v "reference" ] ;
     fhir:validCodedValueSet [ ]
  ] ) ; #   Panel-level qualified value for cardiac assessment  
  fhir:component ( [
     fhir:code [
       fhir:coding ( [
         a loinc:2157-6 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "2157-6" ] ;
         fhir:display [ fhir:v "Creatine kinase [Enzymatic activity/volume] in Serum or Plasma" ]
       ] ) ;
       fhir:text [ fhir:v "Creatine Kinase, Total" ]
     ] ;
     fhir:permittedDataType ( [ fhir:v "Quantity" ] ) ;
     fhir:permittedUnit ( [
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "U/L" ] ;
       fhir:display [ fhir:v "U/L" ]
     ] ) ;
     fhir:qualifiedValue ( [
       fhir:condition [ ] ;
       fhir:context [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/referencerange-meaning>
           ] ;
           fhir:code [ fhir:v "normal" ] ;
           fhir:display [ fhir:v "Normal Range" ]
         ] )
       ] ;
       fhir:rangeCategory [ fhir:v "reference" ] ;
       fhir:range [
         fhir:low [
           fhir:value [ fhir:v "39"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "U/L" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "U/L" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v "308"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "U/L" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "U/L" ]
         ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:13969-1 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "13969-1" ] ;
         fhir:display [ fhir:v "Creatine kinase.MB [Mass/volume] in Serum or Plasma" ]
       ] ) ;
       fhir:text [ fhir:v "Creatine Kinase, Isoenzyme MB" ]
     ] ;
     fhir:permittedDataType ( [ fhir:v "Quantity" ] ) ;
     fhir:permittedUnit ( [
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "ng/mL" ] ;
       fhir:display [ fhir:v "ng/mL" ]
     ] ) ;
     fhir:qualifiedValue ( [
       fhir:condition [ ] ;
       fhir:context [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/referencerange-meaning>
           ] ;
           fhir:code [ fhir:v "normal" ] ;
           fhir:display [ fhir:v "Normal Range" ]
         ] )
       ] ;
       fhir:rangeCategory [ fhir:v "reference" ] ;
       fhir:range [
         fhir:low [
           fhir:value [ fhir:v 0.0 ] ;
           fhir:unit [ fhir:v "ng/mL" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "ng/mL" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v 7.7 ] ;
           fhir:unit [ fhir:v "ng/mL" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "ng/mL" ]
         ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:20569-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "20569-0" ] ;
         fhir:display [ fhir:v "Creatine kinase.MB/Creatine kinase.total in Serum or Plasma" ]
       ] ) ;
       fhir:text [ fhir:v "CK-MB Relative Percent" ]
     ] ;
     fhir:permittedDataType ( [ fhir:v "Quantity" ] ) ;
     fhir:permittedUnit ( [
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ] ;
       fhir:display [ fhir:v "%" ]
     ] ) ;
     fhir:qualifiedValue ( [
       fhir:condition [ ] ;
       fhir:context [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/referencerange-meaning"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/referencerange-meaning>
           ] ;
           fhir:code [ fhir:v "normal" ] ;
           fhir:display [ fhir:v "Normal Range" ]
         ] )
       ] ;
       fhir:rangeCategory [ fhir:v "reference" ] ;
       fhir:range [
         fhir:low [
           fhir:value [ fhir:v 0.0 ] ;
           fhir:unit [ fhir:v "%" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "%" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v 5.0 ] ;
           fhir:unit [ fhir:v "%" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "%" ]
         ]
       ]
     ] )
  ] ) . #   Component 1: Total Creatine Kinase  

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

