@prefix fhir: <http://hl7.org/fhir/> .
@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://nshr-uat.sha.go.ke/fhir/CodeSystem/em-caller-relationship> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "em-caller-relationship"] ;
  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: CodeSystem em-caller-relationship</b></p><a name=\"em-caller-relationship\"> </a><a name=\"hcem-caller-relationship\"> </a><p>This case-sensitive code system <code>https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-caller-relationship</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">self<a name=\"em-caller-relationship-self\"> </a></td><td>Self</td></tr><tr><td style=\"white-space:nowrap\">parent<a name=\"em-caller-relationship-parent\"> </a></td><td>Parent</td></tr><tr><td style=\"white-space:nowrap\">spouse<a name=\"em-caller-relationship-spouse\"> </a></td><td>Spouse</td></tr><tr><td style=\"white-space:nowrap\">sibling<a name=\"em-caller-relationship-sibling\"> </a></td><td>Sibling</td></tr><tr><td style=\"white-space:nowrap\">relative<a name=\"em-caller-relationship-relative\"> </a></td><td>Other relative</td></tr><tr><td style=\"white-space:nowrap\">caregiver<a name=\"em-caller-relationship-caregiver\"> </a></td><td>Caregiver</td></tr><tr><td style=\"white-space:nowrap\">bystander<a name=\"em-caller-relationship-bystander\"> </a></td><td>Bystander</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"em-caller-relationship-other\"> </a></td><td>Other</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"em-caller-relationship-unknown\"> </a></td><td>Unknown</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-caller-relationship"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "EMCallerRelationshipCS"] ;
  fhir:CodeSystem.title [ fhir:value "Emergency Caller Relationship"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-20T11:03:05+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Digital Health Agency (DHA), Kenya"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency (DHA), Kenya" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency Kenya – FHIR Team" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Relationship of an emergency caller to the patient."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "KE" ] ;
       fhir:Coding.display [ fhir:value "Kenya" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "9"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "self" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Self" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "parent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Parent" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "spouse" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Spouse" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "sibling" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Sibling" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "relative" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other relative" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "caregiver" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Caregiver" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "bystander" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Bystander" ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "other" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other" ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "unknown" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Unknown" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-caller-relationship.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

