@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.dha.go.ke/ig/core/Observation/example-observation-amina-hgb> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-observation-amina-hgb"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.dha.go.ke/ig/core/StructureDefinition/kenya-core-observation" ;
       fhir:index 0 ;
       fhir:link <https://fhir.dha.go.ke/ig/core/StructureDefinition/kenya-core-observation>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation example-observation-amina-hgb</b></p><a name=\"example-observation-amina-hgb\"> </a><a name=\"hcexample-observation-amina-hgb\"> </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-kenya-core-observation.html\">Kenya Core Observation Profile</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 718-7}\">Hemoglobin [Mass/volume] in Blood</span></p><p><b>subject</b>: <a href=\"Patient-CR2026080100001-1.html\">Amina Hassan Female, DoB: 1990-05-14 ( https://fhir.sha.go.ke/fhir/identifier/phonenumber#+254712345678 (use: official, ))</a></p><p><b>encounter</b>: <a href=\"Encounter-example-encounter-amina-outpatient.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2026-08-01 08:30:00+0300 --&gt; 2026-08-01 09:15:00+0300</a></p><p><b>effective</b>: 2026-08-03 09:40:00+0300</p><p><b>performer</b>: <a href=\"Practitioner-example-practitioner-njoroge.html\">Practitioner Dr. Sarah Njoroge</a></p><p><b>value</b>: 10.2 g/dL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeg/dL = 'g/dL')</span></p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "laboratory" ] ;
       fhir:Coding.display [ fhir:value "Laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:718-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "718-7" ] ;
       fhir:Coding.display [ fhir:value "Hemoglobin [Mass/volume] in Blood" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://fhir.dha.go.ke/ig/core/Patient/CR2026080100001-1> ;
     fhir:Reference.reference [ fhir:value "Patient/CR2026080100001-1" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <https://fhir.dha.go.ke/ig/core/Encounter/example-encounter-amina-outpatient> ;
     fhir:Reference.reference [ fhir:value "Encounter/example-encounter-amina-outpatient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-08-03T09:40:00+03:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <https://fhir.dha.go.ke/ig/core/Practitioner/example-practitioner-njoroge> ;
     fhir:Reference.reference [ fhir:value "Practitioner/example-practitioner-njoroge" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "10.2"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "g/dL" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "g/dL" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.dha.go.ke/ig/core/Observation/example-observation-amina-hgb.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

