@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://fhir.kisumuhealth.co.ke/Observation/KCHIPLabResultsExample> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "KCHIPLabResultsExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.kisumuhealth.co.ke/StructureDefinition/kchip-lab-results"^^xsd:anyURI ;
       fhir:link <http://fhir.kisumuhealth.co.ke/StructureDefinition/kchip-lab-results>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation KCHIPLabResultsExample</b></p><a name=\"KCHIPLabResultsExample\"> </a><a name=\"hcKCHIPLabResultsExample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-kchip-lab-results.html\">KCHIP Key Laboratory Results</a></p></div><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 26436-6}\">Laboratory studies (set)</span></p><p><b>subject</b>: <a href=\"Patient-KisumuPatientExample.html\">Achieng Grace Odhiambo  Female, DoB: 1990-04-23 ( http://moh.kenya/identifier/nationalID-no#12345678)</a></p><p><b>encounter</b>: <a href=\"Encounter-KisumuEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); serviceType = ANC Encounter; period = 2026-05-10 09:00:00+0300 --&gt; 2026-05-10 10:00:00+0300</a></p><p><b>effective</b>: 2026-05-10 09:30:00+0300</p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 718-7}\">Hemoglobin [Mass/volume] in Blood</span></p><p><b>value</b>: 10.2 g/dL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeg/dL = 'g/dL')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 75622-1}\">HIV 1 and 2 tests - Meaningful Use set</span></p><p><b>value</b>: <span title=\"Codes:{http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes hiv-negative}\">HIV Negative</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 20507-0}\">Reagin Ab [Units/volume] in Serum</span></p><p><b>value</b>: <span title=\"Codes:{http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes syphilis-non-reactive}\">Syphilis Non-Reactive</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 882-2}\">ABO and Rh group [Type] in Blood</span></p><p><b>value</b>: <span title=\"Codes:{http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes blood-group-o-pos}\">O Positive (O+)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 5804-0}\">Protein [Mass/volume] in Urine</span></p><p><b>value</b>: <span title=\"Codes:{http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes urine-protein-negative}\">Negative</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:26436-6 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "26436-6" ] ;
       fhir:display [ fhir:v "Laboratory studies (set)" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.kisumuhealth.co.ke/Patient/KisumuPatientExample> ;
     fhir:reference [ fhir:v "Patient/KisumuPatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.kisumuhealth.co.ke/Encounter/KisumuEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/KisumuEncounterExample" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2026-05-10T09:30:00+03:00"^^xsd:dateTime
  ] ; # 
  fhir:component ( [
     fhir:code [
       fhir:coding ( [
         a loinc:718-7 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "718-7" ] ;
         fhir:display [ fhir:v "Hemoglobin [Mass/volume] in Blood" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v 10.2 ] ;
       fhir:unit [ fhir:v "g/dL" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "g/dL" ]
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:75622-1 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "75622-1" ] ;
         fhir:display [ fhir:v "HIV 1 and 2 tests - Meaningful Use set" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "hiv-negative" ] ;
         fhir:display [ fhir:v "HIV Negative" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:20507-0 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "20507-0" ] ;
         fhir:display [ fhir:v "Reagin Ab [Units/volume] in Serum" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "syphilis-non-reactive" ] ;
         fhir:display [ fhir:v "Syphilis Non-Reactive" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:882-2 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "882-2" ] ;
         fhir:display [ fhir:v "ABO and Rh group [Type] in Blood" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "blood-group-o-pos" ] ;
         fhir:display [ fhir:v "O Positive (O+)" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:5804-0 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "5804-0" ] ;
         fhir:display [ fhir:v "Protein [Mass/volume] in Urine" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.kisumuhealth.co.ke/CodeSystem/KCHIPCodes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "urine-protein-negative" ] ;
         fhir:display [ fhir:v "Negative" ]
       ] )
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

