@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://doh.gov.ph/fhir/ph-core/Observation/observation-lab-panel-example> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-lab-panel-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-observation"^^xsd:anyURI ;
       fhir:l <http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-observation>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Basic Metabolic Panel for Juan Dela Cruz including glucose, sodium, and potassium results.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:code [
     fhir:coding ( [
       a loinc:24326-1 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "24326-1" ] ;
       fhir:display [ fhir:v "Electrolytes 1998 panel - Serum or Plasma" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Patient/patient-single-example> ;
     fhir:reference [ fhir:v "Patient/patient-single-example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Encounter/encounter-single-example> ;
     fhir:reference [ fhir:v "Encounter/encounter-single-example" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2024-01-15T08:00:00Z"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Practitioner/practitioner-single-example> ;
     fhir:reference [ fhir:v "Practitioner/practitioner-single-example" ]
  ] ) ; # 
  fhir:hasMember ( [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Observation/observation-glucose-example> ;
     fhir:reference [ fhir:v "Observation/observation-glucose-example" ]
  ] [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Observation/observation-sodium-example> ;
     fhir:reference [ fhir:v "Observation/observation-sodium-example" ]
  ] [
     fhir:l <http://doh.gov.ph/fhir/ph-core/Observation/observation-potassium-example> ;
     fhir:reference [ fhir:v "Observation/observation-potassium-example" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

