@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/ward-removal-reason> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ward-removal-reason"] ; # 
  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 ward-removal-reason</b></p><a name=\"ward-removal-reason\"> </a><a name=\"hcward-removal-reason\"> </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-removed-in-error\">removed-in-error</a></td><td>Created by mistake</td><td>The ward record should never have been created.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-removed-duplicate\">removed-duplicate</a></td><td>Duplicate of an existing ward</td><td>The same ward is already set up under another record.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-removed-wrong-facility\">removed-wrong-facility</a></td><td>Wrong facility</td><td>The ward was set up against the wrong facility.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-removed-test-data\">removed-test-data</a></td><td>Test or training data</td><td>The ward was created for testing or training and is not a real ward.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-removed-ward-cancelled\">removed-ward-cancelled</a></td><td>Set up before the ward was cancelled</td><td>The ward was configured in advance of opening, and the plan to open it was then dropped.</td></tr><tr><td><a href=\"CodeSystem-admission-codesystem.html#admission-codesystem-removed-other\">removed-other</a></td><td>Other</td><td>A reason none of the others covers. Expects a written explanation alongside it, since the code alone says nothing.</td></tr></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.slade360.co.ke/fhir/ValueSet/ward-removal-reason"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SGHIWardRemovalReason"] ; # 
  fhir:title [ fhir:v "SGHI Ward Removal Reason"] ; # 
  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 "Why a ward was removed from the facility setup. Recorded for audit. Removal is for a record that should never have existed; a ward that has stopped taking patients is closed rather than removed."] ; # 
  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 "removed-in-error" ] ;
         fhir:display [ fhir:v "Created by mistake" ]
       ] [
         fhir:code [ fhir:v "removed-duplicate" ] ;
         fhir:display [ fhir:v "Duplicate of an existing ward" ]
       ] [
         fhir:code [ fhir:v "removed-wrong-facility" ] ;
         fhir:display [ fhir:v "Wrong facility" ]
       ] [
         fhir:code [ fhir:v "removed-test-data" ] ;
         fhir:display [ fhir:v "Test or training data" ]
       ] [
         fhir:code [ fhir:v "removed-ward-cancelled" ] ;
         fhir:display [ fhir:v "Set up before the ward was cancelled" ]
       ] [
         fhir:code [ fhir:v "removed-other" ] ;
         fhir:display [ fhir:v "Other" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

