@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

<https://fhir.slade360.co.ke/fhir/ValueSet/discharge-type> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "discharge-type"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet discharge-type</b></p><a name=\"discharge-type\"> </a><a name=\"hcdischarge-type\"> </a><ul><li>Include these codes as defined in <a href=\"CodeSystem-admission-codesystem.html\"><code>https://fhir.slade360.co.ke/fhir/CodeSystem/admission-codesystem</code></a><span title=\"Version is not explicitly stated, which means it is fixed to the version provided in this specification\"> version &#x1F4E6;0.1.0</span><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-normal\">normal</a></td><td>Normal</td><td>The patient was discharged as planned, on clinical grounds.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-transfer-out\">transfer-out</a></td><td>Transfer out</td><td>The patient was moved to another facility, which takes over their care.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-left-against-medical-advice\">left-against-medical-advice</a></td><td>Left against medical advice</td><td>The patient chose to leave before the clinician judged them ready, and signed to say so.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-absconded\">absconded</a></td><td>Absconded</td><td>The patient left unobserved. Nobody discharged them, so the record carries the last time they were seen rather than a signature.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-deceased\">deceased</a></td><td>Deceased</td><td>The stay ended in a death. The facts of it live on the record of death.</td></tr></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.slade360.co.ke/fhir/ValueSet/discharge-type"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SGHIDischargeType"] ; # 
  fhir:title [ fhir:v "SGHI Discharge Type"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-09-15T11:40:24+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Kathurima Kimathi"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Kathurima Kimathi" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.linkedin.com/in/kathurima-kimathi/" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "kathurimakimathi415@gmail.com" ]
     ] )
  ] [
     fhir:name [ fhir:v "Oscar John" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "oscarjohnotieno@gmail.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] [
     fhir:name [ fhir:v "Kennedy Omondi" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "kennankole@gmail.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "How an admission ended. Decides what the exit requires: a transfer out names the receiving facility, leaving against advice takes a signed form, an absconsion records the last sighting instead of a signature, and a death defers to the record of death."] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [ fhir:v "https://fhir.slade360.co.ke/fhir/CodeSystem/admission-codesystem"^^xsd:anyURI ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "normal" ] ;
         fhir:display [ fhir:v "Normal" ]
       ] [
         fhir:code [ fhir:v "transfer-out" ] ;
         fhir:display [ fhir:v "Transfer out" ]
       ] [
         fhir:code [ fhir:v "left-against-medical-advice" ] ;
         fhir:display [ fhir:v "Left against medical advice" ]
       ] [
         fhir:code [ fhir:v "absconded" ] ;
         fhir:display [ fhir:v "Absconded" ]
       ] [
         fhir:code [ fhir:v "deceased" ] ;
         fhir:display [ fhir:v "Deceased" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

