SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

: SGHI Admission Code System - TTL Representation

Active as of 2026-09-15

Raw ttl | Download

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/admission-codesystem> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "admission-codesystem"] ; # 
  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: CodeSystem admission-codesystem</b></p><a name=\"admission-codesystem\"> </a><a name=\"hcadmission-codesystem\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>care-rank</td><td>care-rank</td><td>https://fhir.slade360.co.ke/fhir/concept-properties#care-rank</td><td>integer</td><td>Ordinal intensity of a level of care. A request outranking what a ward can nurse is a warning, not a block.</td></tr><tr><td>ours-to-fix</td><td>ours-to-fix</td><td>https://fhir.slade360.co.ke/fhir/concept-properties#ours-to-fix</td><td>boolean</td><td>True where the outcome was within the hospital's control, and so worth counting and acting on.</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>https://fhir.slade360.co.ke/fhir/CodeSystem/admission-codesystem</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>care-rank</b></td><td><b>ours-to-fix</b></td></tr><tr><td style=\"white-space:nowrap\">emergency<a name=\"admission-codesystem-emergency\"> </a></td><td>Emergency</td><td>An unplanned admission for a patient needing immediate care.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">elective<a name=\"admission-codesystem-elective\"> </a></td><td>Elective</td><td>A planned admission, usually booked in advance.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">transfer-in<a name=\"admission-codesystem-transfer-in\"> </a></td><td>Transfer in</td><td>An admission of a patient arriving from another facility or ward on a referral.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">maternity<a name=\"admission-codesystem-maternity\"> </a></td><td>Maternity</td><td>An admission for labour, delivery or antenatal care.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">newborn<a name=\"admission-codesystem-newborn\"> </a></td><td>Newborn</td><td>An admission of a baby born in, or brought in with, the mother whose stay it attaches to.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">day-case<a name=\"admission-codesystem-day-case\"> </a></td><td>Day case</td><td>An admission expected to be admitted and discharged the same day.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">inter-ward-transfer<a name=\"admission-codesystem-inter-ward-transfer\"> </a></td><td>Inter-ward transfer</td><td>The patient came from another ward within this facility.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">direct-admission<a name=\"admission-codesystem-direct-admission\"> </a></td><td>Direct admission</td><td>The patient was admitted directly, without passing through an emergency or outpatient department.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">general<a name=\"admission-codesystem-general\"> </a></td><td>General</td><td>Ward-level nursing care.</td><td>1</td><td/></tr><tr><td style=\"white-space:nowrap\">high-dependency<a name=\"admission-codesystem-high-dependency\"> </a></td><td>High dependency</td><td>Closer monitoring and nursing than a general ward provides, short of intensive care.</td><td>2</td><td/></tr><tr><td style=\"white-space:nowrap\">intensive-care<a name=\"admission-codesystem-intensive-care\"> </a></td><td>Intensive care</td><td>Organ support and continuous monitoring.</td><td>3</td><td/></tr><tr><td style=\"white-space:nowrap\">semi-private<a name=\"admission-codesystem-semi-private\"> </a></td><td>Semi private</td><td>A room shared by a small number of patients.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">private<a name=\"admission-codesystem-private\"> </a></td><td>Private</td><td>A single-occupancy room.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">isolation<a name=\"admission-codesystem-isolation\"> </a></td><td>Isolation</td><td>A room that isolates a patient for infection control.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">delivery<a name=\"admission-codesystem-delivery\"> </a></td><td>Delivery</td><td>A room equipped for labour and delivery.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">procedure<a name=\"admission-codesystem-procedure\"> </a></td><td>Procedure</td><td>A room equipped for bedside procedures.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">amenity<a name=\"admission-codesystem-amenity\"> </a></td><td>Amenity</td><td>A room offering additional comfort beyond clinical need.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">resuscitation<a name=\"admission-codesystem-resuscitation\"> </a></td><td>Resuscitation</td><td>A bay equipped for resuscitation.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">open-bay<a name=\"admission-codesystem-open-bay\"> </a></td><td>Open bay</td><td>A bed that belongs to no room.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">paediatric<a name=\"admission-codesystem-paediatric\"> </a></td><td>Paediatric</td><td>A ward that nurses children.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">theatre-recovery<a name=\"admission-codesystem-theatre-recovery\"> </a></td><td>Theatre recovery</td><td>A post-anaesthetic recovery area, where a patient is monitored after theatre before returning to a ward.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">near-nurses-station<a name=\"admission-codesystem-near-nurses-station\"> </a></td><td>Near the nurses' station</td><td>A bed within close sight of the nursing station.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">side-room<a name=\"admission-codesystem-side-room\"> </a></td><td>Side room / privacy</td><td>A side room, asked for on privacy grounds.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">step-free<a name=\"admission-codesystem-step-free\"> </a></td><td>Ground floor / step-free</td><td>A bed reachable without stairs.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">self-pay<a name=\"admission-codesystem-self-pay\"> </a></td><td>Cash</td><td>The patient pays directly.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">insurance<a name=\"admission-codesystem-insurance\"> </a></td><td>Insurance</td><td>A payer covers the admission, subject to eligibility and benefits.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">mpesa<a name=\"admission-codesystem-mpesa\"> </a></td><td>M-PESA</td><td>Mobile money.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">cash<a name=\"admission-codesystem-cash\"> </a></td><td>Cash</td><td>Physical cash.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">card<a name=\"admission-codesystem-card\"> </a></td><td>Card</td><td>Debit or credit card.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">bank-transfer<a name=\"admission-codesystem-bank-transfer\"> </a></td><td>Bank transfer</td><td>Transfer from a bank account.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">wallet<a name=\"admission-codesystem-wallet\"> </a></td><td>Wallet</td><td>A stored-value wallet held for the patient.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">no-deposit-emergency<a name=\"admission-codesystem-no-deposit-emergency\"> </a></td><td>Emergency admission, collect after stabilisation</td><td>An unresolved payer holds the bill, never the bed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">no-deposit-charity<a name=\"admission-codesystem-no-deposit-charity\"> </a></td><td>Charity or sponsored patient</td><td>A charity or sponsor is expected to settle the account.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">no-deposit-waived<a name=\"admission-codesystem-no-deposit-waived\"> </a></td><td>Deposit waived by an administrator</td><td>An administrator has waived the deposit.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">no-deposit-corporate<a name=\"admission-codesystem-no-deposit-corporate\"> </a></td><td>Corporate account on file</td><td>A corporate account will be billed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">preauth-draft<a name=\"admission-codesystem-preauth-draft\"> </a></td><td>Draft</td><td>Prepared but not sent to the payer.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">preauth-pending<a name=\"admission-codesystem-preauth-pending\"> </a></td><td>Pending</td><td>Submitted and awaiting the payer's decision.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">preauth-approved<a name=\"admission-codesystem-preauth-approved\"> </a></td><td>Approved</td><td>Approved, carrying a reference and an approved amount.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">preauth-declined<a name=\"admission-codesystem-preauth-declined\"> </a></td><td>Declined</td><td>Declined, carrying a reason.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">consent-by-patient<a name=\"admission-codesystem-consent-by-patient\"> </a></td><td>Given by the patient</td><td>The patient consented for themselves.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">consent-by-guardian<a name=\"admission-codesystem-consent-by-guardian\"> </a></td><td>Given by a guardian or next of kin</td><td>A guardian or next of kin consented on the patient's behalf.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">consent-emergency<a name=\"admission-codesystem-consent-emergency\"> </a></td><td>Treated under emergency provisions</td><td>Treatment proceeded under emergency provisions without consent.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">identified<a name=\"admission-codesystem-identified\"> </a></td><td>Identified</td><td>The patient can be named and matched to a record.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">unidentified<a name=\"admission-codesystem-unidentified\"> </a></td><td>Not identified</td><td>The patient cannot yet be named. A patient with no name is still admissible.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-infant<a name=\"admission-codesystem-age-infant\"> </a></td><td>Infant</td><td>Apparent age band: infant.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-child<a name=\"admission-codesystem-age-child\"> </a></td><td>Child</td><td>Apparent age band: child.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-teenager<a name=\"admission-codesystem-age-teenager\"> </a></td><td>Teenager</td><td>Apparent age band: teenager.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-young-adult<a name=\"admission-codesystem-age-young-adult\"> </a></td><td>Young adult</td><td>Apparent age band: young adult.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-middle-aged<a name=\"admission-codesystem-age-middle-aged\"> </a></td><td>Middle aged</td><td>Apparent age band: middle aged.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">age-elderly<a name=\"admission-codesystem-age-elderly\"> </a></td><td>Elderly</td><td>Apparent age band: elderly.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">arrived-ambulance<a name=\"admission-codesystem-arrived-ambulance\"> </a></td><td>By ambulance</td><td>Brought in by ambulance.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">arrived-carried<a name=\"admission-codesystem-arrived-carried\"> </a></td><td>Carried in</td><td>Carried in.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">arrived-walked-collapsed<a name=\"admission-codesystem-arrived-walked-collapsed\"> </a></td><td>Walked in and collapsed</td><td>Walked in under their own power and collapsed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">arrived-police<a name=\"admission-codesystem-arrived-police\"> </a></td><td>Police</td><td>Brought in by police.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">arrived-bystanders<a name=\"admission-codesystem-arrived-bystanders\"> </a></td><td>Brought by bystanders</td><td>Brought in by members of the public.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">deferred-identity<a name=\"admission-codesystem-deferred-identity\"> </a></td><td>Identity and health ID</td><td>Identity and health ID, once someone can confirm them.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">deferred-next-of-kin<a name=\"admission-codesystem-deferred-next-of-kin\"> </a></td><td>Next of kin and contact details</td><td>Next of kin and contact details.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">deferred-billing<a name=\"admission-codesystem-deferred-billing\"> </a></td><td>Billing type, payer and eligibility</td><td>Billing type, payer and eligibility.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">deferred-diagnosis<a name=\"admission-codesystem-deferred-diagnosis\"> </a></td><td>Full admitting diagnosis and care plan</td><td>Full admitting diagnosis and care plan.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">break-glass-unconscious<a name=\"admission-codesystem-break-glass-unconscious\"> </a></td><td>Patient cannot consent</td><td>The patient is unable to consent to access.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">break-glass-life-threat<a name=\"admission-codesystem-break-glass-life-threat\"> </a></td><td>Immediate threat to life</td><td>Access is needed to answer an immediate threat to life.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">break-glass-covering<a name=\"admission-codesystem-break-glass-covering\"> </a></td><td>Covering another clinician</td><td>Accessing while covering for the assigned clinician.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">break-glass-identity<a name=\"admission-codesystem-break-glass-identity\"> </a></td><td>Confirming identity</td><td>Access is needed to confirm who the patient is.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">refer<a name=\"admission-codesystem-refer\"> </a></td><td>Refer</td><td>Refer the patient onward rather than admit.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">admit<a name=\"admission-codesystem-admit\"> </a></td><td>Admit</td><td>Admit the patient.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">admit-now<a name=\"admission-codesystem-admit-now\"> </a></td><td>Admit now</td><td>Admit immediately.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">book-for-date<a name=\"admission-codesystem-book-for-date\"> </a></td><td>Book for a date</td><td>Book the admission for a future date.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">admitted-in-error<a name=\"admission-codesystem-admitted-in-error\"> </a></td><td>Admitted in error</td><td>The admission should not have been raised.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">duplicate-admission<a name=\"admission-codesystem-duplicate-admission\"> </a></td><td>Duplicate admission</td><td>A duplicate of another request.</td><td/><td>true</td></tr><tr><td style=\"white-space:nowrap\">patient-declined<a name=\"admission-codesystem-patient-declined\"> </a></td><td>Patient declined admission</td><td>The patient declined to be admitted.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">treated-and-sent-home<a name=\"admission-codesystem-treated-and-sent-home\"> </a></td><td>Treated and sent home instead</td><td>The patient was treated and discharged without admission.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">moved-to-another-facility<a name=\"admission-codesystem-moved-to-another-facility\"> </a></td><td>Moved to another facility</td><td>The patient was moved to another facility.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">ward-cannot-receive<a name=\"admission-codesystem-ward-cannot-receive\"> </a></td><td>Ward cannot receive the patient</td><td>The receiving ward could not take the patient.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">improved<a name=\"admission-codesystem-improved\"> </a></td><td>Treated and improved</td><td>The patient improved and no longer needs admitting.</td><td/><td>false</td></tr><tr><td style=\"white-space:nowrap\">referred-out<a name=\"admission-codesystem-referred-out\"> </a></td><td>Referred out instead</td><td>The patient was referred elsewhere instead.</td><td/><td>false</td></tr><tr><td style=\"white-space:nowrap\">went-elsewhere<a name=\"admission-codesystem-went-elsewhere\"> </a></td><td>Went to another hospital</td><td>The patient went to another hospital while waiting.</td><td/><td>true</td></tr><tr><td style=\"white-space:nowrap\">refused<a name=\"admission-codesystem-refused\"> </a></td><td>Patient refused admission</td><td>The patient refused admission.</td><td/><td>false</td></tr><tr><td style=\"white-space:nowrap\">died-waiting<a name=\"admission-codesystem-died-waiting\"> </a></td><td>Died while waiting</td><td>The patient died before a bed was found. A closed record, not a reversible decision.</td><td/><td>true</td></tr><tr><td style=\"white-space:nowrap\">defer-no-bed<a name=\"admission-codesystem-defer-no-bed\"> </a></td><td>No bed available</td><td>Deferred because no bed was available.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">defer-patient-not-ready<a name=\"admission-codesystem-defer-patient-not-ready\"> </a></td><td>Patient not ready</td><td>Deferred because the patient was not ready.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">defer-theatre<a name=\"admission-codesystem-defer-theatre\"> </a></td><td>Surgeon or theatre unavailable</td><td>Deferred because the surgeon or theatre was unavailable.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">defer-payer<a name=\"admission-codesystem-defer-payer\"> </a></td><td>Payer approval outstanding</td><td>Deferred pending payer approval.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">defer-patient-requested<a name=\"admission-codesystem-defer-patient-requested\"> </a></td><td>Patient requested</td><td>Deferred at the patient's request.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-emergency-department<a name=\"admission-codesystem-at-emergency-department\"> </a></td><td>Emergency department</td><td>Waiting in the emergency department.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-outpatient<a name=\"admission-codesystem-at-outpatient\"> </a></td><td>Outpatient area</td><td>Waiting in an outpatient area.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-corridor-trolley<a name=\"admission-codesystem-at-corridor-trolley\"> </a></td><td>Corridor trolley</td><td>Waiting on a trolley in a corridor.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-another-ward<a name=\"admission-codesystem-at-another-ward\"> </a></td><td>Another ward</td><td>Waiting on another ward.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-home<a name=\"admission-codesystem-at-home\"> </a></td><td>At home</td><td>Waiting at home.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-theatre<a name=\"admission-codesystem-at-theatre\"> </a></td><td>In theatre</td><td>In theatre.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">at-another-facility<a name=\"admission-codesystem-at-another-facility\"> </a></td><td>Another facility</td><td>At another facility.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">ready<a name=\"admission-codesystem-ready\"> </a></td><td>Ready</td><td>Nothing outstanding.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">needs-attention<a name=\"admission-codesystem-needs-attention\"> </a></td><td>Needs attention</td><td>Something is outstanding but the admission can proceed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">not-ready<a name=\"admission-codesystem-not-ready\"> </a></td><td>Not ready</td><td>Blocked until something is resolved.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">requested<a name=\"admission-codesystem-requested\"> </a></td><td>Waiting admission</td><td>Requested and waiting for a bed or a decision.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">scheduled<a name=\"admission-codesystem-scheduled\"> </a></td><td>Scheduled</td><td>Booked for a future date and not yet arrived.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">admitted<a name=\"admission-codesystem-admitted\"> </a></td><td>Admitted</td><td>Admitted. A patient admitted before a bed is free waits under 'needs bed', which is a view over this state rather than a state of its own.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">discharge-pending<a name=\"admission-codesystem-discharge-pending\"> </a></td><td>Discharge pending</td><td>Discharge decided and in progress.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">discharged<a name=\"admission-codesystem-discharged\"> </a></td><td>Discharged</td><td>The stay has ended.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"admission-codesystem-cancelled\"> </a></td><td>Cancelled</td><td>The request left the queue without an admission.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-in-error<a name=\"admission-codesystem-removed-in-error\"> </a></td><td>Created by mistake</td><td>The ward record should never have been created.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-duplicate<a name=\"admission-codesystem-removed-duplicate\"> </a></td><td>Duplicate of an existing ward</td><td>The same ward is already set up under another record.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-wrong-facility<a name=\"admission-codesystem-removed-wrong-facility\"> </a></td><td>Wrong facility</td><td>The ward was set up against the wrong facility.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-test-data<a name=\"admission-codesystem-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><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-ward-cancelled<a name=\"admission-codesystem-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><td/><td/></tr><tr><td style=\"white-space:nowrap\">removed-other<a name=\"admission-codesystem-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><td/><td/></tr><tr><td style=\"white-space:nowrap\">eating-drinking-normally<a name=\"admission-codesystem-eating-drinking-normally\"> </a></td><td>Eating and drinking normally</td><td>The patient is taking food and fluid as they normally would.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">fluids-only<a name=\"admission-codesystem-fluids-only\"> </a></td><td>Taking fluids only</td><td>The patient is tolerating fluids but not yet solid food.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">small-amounts<a name=\"admission-codesystem-small-amounts\"> </a></td><td>Taking small amounts</td><td>The patient is taking some food and fluid, below what they need.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">not-tolerating-oral-intake<a name=\"admission-codesystem-not-tolerating-oral-intake\"> </a></td><td>Not tolerating oral intake</td><td>The patient is not keeping food or fluid down, which is a reason to question the discharge.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">independent<a name=\"admission-codesystem-independent\"> </a></td><td>Independent</td><td>The patient moves without help and without an aid.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">walking-aid<a name=\"admission-codesystem-walking-aid\"> </a></td><td>Walking with a stick or frame</td><td>The patient moves without another person but relies on an aid.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">needs-one-assist<a name=\"admission-codesystem-needs-one-assist\"> </a></td><td>Needs one person to assist</td><td>One person is needed to move the patient safely, which is what home has to provide.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">needs-two-assist<a name=\"admission-codesystem-needs-two-assist\"> </a></td><td>Needs two people to assist</td><td>Two people are needed to move the patient safely.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">bed-bound<a name=\"admission-codesystem-bed-bound\"> </a></td><td>Bed bound</td><td>The patient cannot be got out of bed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">pain-free<a name=\"admission-codesystem-pain-free\"> </a></td><td>Pain free</td><td>The patient reports no pain.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">controlled-on-oral-analgesia<a name=\"admission-codesystem-controlled-on-oral-analgesia\"> </a></td><td>Controlled on oral analgesia</td><td>Pain is held by medicine the patient can take at home.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">controlled-needs-review<a name=\"admission-codesystem-controlled-needs-review\"> </a></td><td>Controlled but needs review</td><td>Pain is held for now, but the regimen is expected to need changing.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">not-controlled<a name=\"admission-codesystem-not-controlled\"> </a></td><td>Not controlled</td><td>Pain is not held, which is a reason to question the discharge.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">condition-recovered<a name=\"admission-codesystem-condition-recovered\"> </a></td><td>Recovered</td><td>The problem the patient was admitted for has resolved.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">condition-improved<a name=\"admission-codesystem-condition-improved\"> </a></td><td>Improved</td><td>The patient is better than on admission without having fully recovered.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">condition-unchanged<a name=\"admission-codesystem-condition-unchanged\"> </a></td><td>Unchanged</td><td>The patient is no different from how they arrived.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">condition-worse<a name=\"admission-codesystem-condition-worse\"> </a></td><td>Worse</td><td>The patient is worse than on admission.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">condition-palliative<a name=\"admission-codesystem-condition-palliative\"> </a></td><td>Palliative</td><td>Care has moved to comfort rather than cure.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">spouse<a name=\"admission-codesystem-spouse\"> </a></td><td>Spouse</td><td>The patient's husband or wife.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">parent<a name=\"admission-codesystem-parent\"> </a></td><td>Parent</td><td>The patient's mother or father.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">child<a name=\"admission-codesystem-child\"> </a></td><td>Child</td><td>The patient's son or daughter.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">sibling<a name=\"admission-codesystem-sibling\"> </a></td><td>Sibling</td><td>The patient's brother or sister.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">guardian<a name=\"admission-codesystem-guardian\"> </a></td><td>Guardian</td><td>Somebody with legal responsibility for the patient.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">other-relative<a name=\"admission-codesystem-other-relative\"> </a></td><td>Other relative</td><td>A relative none of the narrower codes name.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">neighbour-or-friend<a name=\"admission-codesystem-neighbour-or-friend\"> </a></td><td>Neighbour or friend</td><td>Somebody close to the patient who is not a relative, and routinely the person actually taking them home.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">explained-to-patient<a name=\"admission-codesystem-explained-to-patient\"> </a></td><td>Explained to the patient</td><td>The medicines were gone through with the patient alone.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">explained-to-next-of-kin<a name=\"admission-codesystem-explained-to-next-of-kin\"> </a></td><td>Explained to the next of kin</td><td>The medicines were gone through with the next of kin, which is what happens where the patient cannot take it in.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">explained-to-both<a name=\"admission-codesystem-explained-to-both\"> </a></td><td>Explained to both</td><td>The medicines were gone through with the patient and the next of kin together.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">not-explained<a name=\"admission-codesystem-not-explained\"> </a></td><td>Not explained</td><td>Nobody was taken through the medicines. A stated answer rather than a blank, because a blank reads as an oversight and this may be a decision.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">settled-in-full<a name=\"admission-codesystem-settled-in-full\"> </a></td><td>Settled in full</td><td>Nothing is owed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">scheme-covered<a name=\"admission-codesystem-scheme-covered\"> </a></td><td>Covered by insurance or scheme</td><td>The account sits with a payer rather than with the patient.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">part-payment-balance-on-account<a name=\"admission-codesystem-part-payment-balance-on-account\"> </a></td><td>Part payment taken, balance on account</td><td>Something was paid at the counter and the rest is carried against the account.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">waiver-approved<a name=\"admission-codesystem-waiver-approved\"> </a></td><td>Waiver approved</td><td>The balance was written off, with approval.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">referred-to-credit-control<a name=\"admission-codesystem-referred-to-credit-control\"> </a></td><td>Referred to credit control</td><td>The account was passed to credit control to pursue, and the patient is not held for it.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">normal<a name=\"admission-codesystem-normal\"> </a></td><td>Normal</td><td>The patient was discharged as planned, on clinical grounds.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">transfer-out<a name=\"admission-codesystem-transfer-out\"> </a></td><td>Transfer out</td><td>The patient was moved to another facility, which takes over their care.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">left-against-medical-advice<a name=\"admission-codesystem-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><td/><td/></tr><tr><td style=\"white-space:nowrap\">absconded<a name=\"admission-codesystem-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><td/><td/></tr><tr><td style=\"white-space:nowrap\">deceased<a name=\"admission-codesystem-deceased\"> </a></td><td>Deceased</td><td>The stay ended in a death. The facts of it live on the record of death.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">home-with-community-follow-up<a name=\"admission-codesystem-home-with-community-follow-up\"> </a></td><td>Home with community follow-up</td><td>The patient went home with a community health worker or a home visit arranged.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">outpatient-clinic-follow-up<a name=\"admission-codesystem-outpatient-clinic-follow-up\"> </a></td><td>Outpatient clinic follow-up</td><td>The patient went home with a clinic appointment arranged to continue their care.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-cashier-off-duty<a name=\"admission-codesystem-override-cashier-off-duty\"> </a></td><td>Cashier off duty, out of hours</td><td>Nobody was at the counter to clear the account, and the patient is not being held for it.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-leaving-against-advice<a name=\"admission-codesystem-override-leaving-against-advice\"> </a></td><td>Patient leaving against advice and will not wait</td><td>The patient is going regardless, so the check cannot be completed first.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-transfer-time-critical<a name=\"admission-codesystem-override-transfer-time-critical\"> </a></td><td>Transfer is time-critical</td><td>The patient has to move now, and waiting for the check would cost more than skipping it.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-signer-unavailable<a name=\"admission-codesystem-override-signer-unavailable\"> </a></td><td>Signing person unavailable and patient must not be held</td><td>Whoever normally signs this could not be reached, and holding the patient was judged the greater harm.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-system-unavailable<a name=\"admission-codesystem-override-system-unavailable\"> </a></td><td>System or record unavailable at the time</td><td>The information the check needs could not be reached when it was needed.</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">override-other<a name=\"admission-codesystem-override-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><td/><td/></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.slade360.co.ke/fhir/CodeSystem/admission-codesystem"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SGHIAdmissionCodeSystem"] ; # 
  fhir:title [ fhir:v "SGHI Admission Code System"] ; # 
  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 "A code system enumerating the concepts used to request, triage, place and track an inpatient admission across SGHI's environment."] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "152"^^xsd:nonNegativeInteger] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "care-rank" ] ;
     fhir:uri [ fhir:v "https://fhir.slade360.co.ke/fhir/concept-properties#care-rank"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Ordinal intensity of a level of care. A request outranking what a ward can nurse is a warning, not a block." ] ;
     fhir:type [ fhir:v "integer" ]
  ] [
     fhir:code [ fhir:v "ours-to-fix" ] ;
     fhir:uri [ fhir:v "https://fhir.slade360.co.ke/fhir/concept-properties#ours-to-fix"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "True where the outcome was within the hospital's control, and so worth counting and acting on." ] ;
     fhir:type [ fhir:v "boolean" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "emergency" ] ;
     fhir:display [ fhir:v "Emergency" ] ;
     fhir:definition [ fhir:v "An unplanned admission for a patient needing immediate care." ]
  ] [
     fhir:code [ fhir:v "elective" ] ;
     fhir:display [ fhir:v "Elective" ] ;
     fhir:definition [ fhir:v "A planned admission, usually booked in advance." ]
  ] [
     fhir:code [ fhir:v "transfer-in" ] ;
     fhir:display [ fhir:v "Transfer in" ] ;
     fhir:definition [ fhir:v "An admission of a patient arriving from another facility or ward on a referral." ]
  ] [
     fhir:code [ fhir:v "maternity" ] ;
     fhir:display [ fhir:v "Maternity" ] ;
     fhir:definition [ fhir:v "An admission for labour, delivery or antenatal care." ]
  ] [
     fhir:code [ fhir:v "newborn" ] ;
     fhir:display [ fhir:v "Newborn" ] ;
     fhir:definition [ fhir:v "An admission of a baby born in, or brought in with, the mother whose stay it attaches to." ]
  ] [
     fhir:code [ fhir:v "day-case" ] ;
     fhir:display [ fhir:v "Day case" ] ;
     fhir:definition [ fhir:v "An admission expected to be admitted and discharged the same day." ]
  ] [
     fhir:code [ fhir:v "inter-ward-transfer" ] ;
     fhir:display [ fhir:v "Inter-ward transfer" ] ;
     fhir:definition [ fhir:v "The patient came from another ward within this facility." ]
  ] [
     fhir:code [ fhir:v "direct-admission" ] ;
     fhir:display [ fhir:v "Direct admission" ] ;
     fhir:definition [ fhir:v "The patient was admitted directly, without passing through an emergency or outpatient department." ]
  ] [
     fhir:code [ fhir:v "general" ] ;
     fhir:display [ fhir:v "General" ] ;
     fhir:definition [ fhir:v "Ward-level nursing care." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "care-rank" ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 1
       ]
     ] )
  ] [
     fhir:code [ fhir:v "high-dependency" ] ;
     fhir:display [ fhir:v "High dependency" ] ;
     fhir:definition [ fhir:v "Closer monitoring and nursing than a general ward provides, short of intensive care." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "care-rank" ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 2
       ]
     ] )
  ] [
     fhir:code [ fhir:v "intensive-care" ] ;
     fhir:display [ fhir:v "Intensive care" ] ;
     fhir:definition [ fhir:v "Organ support and continuous monitoring." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "care-rank" ] ;
       fhir:value [
         a fhir:integer ;
         fhir:v 3
       ]
     ] )
  ] [
     fhir:code [ fhir:v "semi-private" ] ;
     fhir:display [ fhir:v "Semi private" ] ;
     fhir:definition [ fhir:v "A room shared by a small number of patients." ]
  ] [
     fhir:code [ fhir:v "private" ] ;
     fhir:display [ fhir:v "Private" ] ;
     fhir:definition [ fhir:v "A single-occupancy room." ]
  ] [
     fhir:code [ fhir:v "isolation" ] ;
     fhir:display [ fhir:v "Isolation" ] ;
     fhir:definition [ fhir:v "A room that isolates a patient for infection control." ]
  ] [
     fhir:code [ fhir:v "delivery" ] ;
     fhir:display [ fhir:v "Delivery" ] ;
     fhir:definition [ fhir:v "A room equipped for labour and delivery." ]
  ] [
     fhir:code [ fhir:v "procedure" ] ;
     fhir:display [ fhir:v "Procedure" ] ;
     fhir:definition [ fhir:v "A room equipped for bedside procedures." ]
  ] [
     fhir:code [ fhir:v "amenity" ] ;
     fhir:display [ fhir:v "Amenity" ] ;
     fhir:definition [ fhir:v "A room offering additional comfort beyond clinical need." ]
  ] [
     fhir:code [ fhir:v "resuscitation" ] ;
     fhir:display [ fhir:v "Resuscitation" ] ;
     fhir:definition [ fhir:v "A bay equipped for resuscitation." ]
  ] [
     fhir:code [ fhir:v "open-bay" ] ;
     fhir:display [ fhir:v "Open bay" ] ;
     fhir:definition [ fhir:v "A bed that belongs to no room." ]
  ] [
     fhir:code [ fhir:v "paediatric" ] ;
     fhir:display [ fhir:v "Paediatric" ] ;
     fhir:definition [ fhir:v "A ward that nurses children." ]
  ] [
     fhir:code [ fhir:v "theatre-recovery" ] ;
     fhir:display [ fhir:v "Theatre recovery" ] ;
     fhir:definition [ fhir:v "A post-anaesthetic recovery area, where a patient is monitored after theatre before returning to a ward." ]
  ] [
     fhir:code [ fhir:v "near-nurses-station" ] ;
     fhir:display [ fhir:v "Near the nurses' station" ] ;
     fhir:definition [ fhir:v "A bed within close sight of the nursing station." ]
  ] [
     fhir:code [ fhir:v "side-room" ] ;
     fhir:display [ fhir:v "Side room / privacy" ] ;
     fhir:definition [ fhir:v "A side room, asked for on privacy grounds." ]
  ] [
     fhir:code [ fhir:v "step-free" ] ;
     fhir:display [ fhir:v "Ground floor / step-free" ] ;
     fhir:definition [ fhir:v "A bed reachable without stairs." ]
  ] [
     fhir:code [ fhir:v "self-pay" ] ;
     fhir:display [ fhir:v "Cash" ] ;
     fhir:definition [ fhir:v "The patient pays directly." ]
  ] [
     fhir:code [ fhir:v "insurance" ] ;
     fhir:display [ fhir:v "Insurance" ] ;
     fhir:definition [ fhir:v "A payer covers the admission, subject to eligibility and benefits." ]
  ] [
     fhir:code [ fhir:v "mpesa" ] ;
     fhir:display [ fhir:v "M-PESA" ] ;
     fhir:definition [ fhir:v "Mobile money." ]
  ] [
     fhir:code [ fhir:v "cash" ] ;
     fhir:display [ fhir:v "Cash" ] ;
     fhir:definition [ fhir:v "Physical cash." ]
  ] [
     fhir:code [ fhir:v "card" ] ;
     fhir:display [ fhir:v "Card" ] ;
     fhir:definition [ fhir:v "Debit or credit card." ]
  ] [
     fhir:code [ fhir:v "bank-transfer" ] ;
     fhir:display [ fhir:v "Bank transfer" ] ;
     fhir:definition [ fhir:v "Transfer from a bank account." ]
  ] [
     fhir:code [ fhir:v "wallet" ] ;
     fhir:display [ fhir:v "Wallet" ] ;
     fhir:definition [ fhir:v "A stored-value wallet held for the patient." ]
  ] [
     fhir:code [ fhir:v "no-deposit-emergency" ] ;
     fhir:display [ fhir:v "Emergency admission, collect after stabilisation" ] ;
     fhir:definition [ fhir:v "An unresolved payer holds the bill, never the bed." ]
  ] [
     fhir:code [ fhir:v "no-deposit-charity" ] ;
     fhir:display [ fhir:v "Charity or sponsored patient" ] ;
     fhir:definition [ fhir:v "A charity or sponsor is expected to settle the account." ]
  ] [
     fhir:code [ fhir:v "no-deposit-waived" ] ;
     fhir:display [ fhir:v "Deposit waived by an administrator" ] ;
     fhir:definition [ fhir:v "An administrator has waived the deposit." ]
  ] [
     fhir:code [ fhir:v "no-deposit-corporate" ] ;
     fhir:display [ fhir:v "Corporate account on file" ] ;
     fhir:definition [ fhir:v "A corporate account will be billed." ]
  ] [
     fhir:code [ fhir:v "preauth-draft" ] ;
     fhir:display [ fhir:v "Draft" ] ;
     fhir:definition [ fhir:v "Prepared but not sent to the payer." ]
  ] [
     fhir:code [ fhir:v "preauth-pending" ] ;
     fhir:display [ fhir:v "Pending" ] ;
     fhir:definition [ fhir:v "Submitted and awaiting the payer's decision." ]
  ] [
     fhir:code [ fhir:v "preauth-approved" ] ;
     fhir:display [ fhir:v "Approved" ] ;
     fhir:definition [ fhir:v "Approved, carrying a reference and an approved amount." ]
  ] [
     fhir:code [ fhir:v "preauth-declined" ] ;
     fhir:display [ fhir:v "Declined" ] ;
     fhir:definition [ fhir:v "Declined, carrying a reason." ]
  ] [
     fhir:code [ fhir:v "consent-by-patient" ] ;
     fhir:display [ fhir:v "Given by the patient" ] ;
     fhir:definition [ fhir:v "The patient consented for themselves." ]
  ] [
     fhir:code [ fhir:v "consent-by-guardian" ] ;
     fhir:display [ fhir:v "Given by a guardian or next of kin" ] ;
     fhir:definition [ fhir:v "A guardian or next of kin consented on the patient's behalf." ]
  ] [
     fhir:code [ fhir:v "consent-emergency" ] ;
     fhir:display [ fhir:v "Treated under emergency provisions" ] ;
     fhir:definition [ fhir:v "Treatment proceeded under emergency provisions without consent." ]
  ] [
     fhir:code [ fhir:v "identified" ] ;
     fhir:display [ fhir:v "Identified" ] ;
     fhir:definition [ fhir:v "The patient can be named and matched to a record." ]
  ] [
     fhir:code [ fhir:v "unidentified" ] ;
     fhir:display [ fhir:v "Not identified" ] ;
     fhir:definition [ fhir:v "The patient cannot yet be named. A patient with no name is still admissible." ]
  ] [
     fhir:code [ fhir:v "age-infant" ] ;
     fhir:display [ fhir:v "Infant" ] ;
     fhir:definition [ fhir:v "Apparent age band: infant." ]
  ] [
     fhir:code [ fhir:v "age-child" ] ;
     fhir:display [ fhir:v "Child" ] ;
     fhir:definition [ fhir:v "Apparent age band: child." ]
  ] [
     fhir:code [ fhir:v "age-teenager" ] ;
     fhir:display [ fhir:v "Teenager" ] ;
     fhir:definition [ fhir:v "Apparent age band: teenager." ]
  ] [
     fhir:code [ fhir:v "age-young-adult" ] ;
     fhir:display [ fhir:v "Young adult" ] ;
     fhir:definition [ fhir:v "Apparent age band: young adult." ]
  ] [
     fhir:code [ fhir:v "age-middle-aged" ] ;
     fhir:display [ fhir:v "Middle aged" ] ;
     fhir:definition [ fhir:v "Apparent age band: middle aged." ]
  ] [
     fhir:code [ fhir:v "age-elderly" ] ;
     fhir:display [ fhir:v "Elderly" ] ;
     fhir:definition [ fhir:v "Apparent age band: elderly." ]
  ] [
     fhir:code [ fhir:v "arrived-ambulance" ] ;
     fhir:display [ fhir:v "By ambulance" ] ;
     fhir:definition [ fhir:v "Brought in by ambulance." ]
  ] [
     fhir:code [ fhir:v "arrived-carried" ] ;
     fhir:display [ fhir:v "Carried in" ] ;
     fhir:definition [ fhir:v "Carried in." ]
  ] [
     fhir:code [ fhir:v "arrived-walked-collapsed" ] ;
     fhir:display [ fhir:v "Walked in and collapsed" ] ;
     fhir:definition [ fhir:v "Walked in under their own power and collapsed." ]
  ] [
     fhir:code [ fhir:v "arrived-police" ] ;
     fhir:display [ fhir:v "Police" ] ;
     fhir:definition [ fhir:v "Brought in by police." ]
  ] [
     fhir:code [ fhir:v "arrived-bystanders" ] ;
     fhir:display [ fhir:v "Brought by bystanders" ] ;
     fhir:definition [ fhir:v "Brought in by members of the public." ]
  ] [
     fhir:code [ fhir:v "deferred-identity" ] ;
     fhir:display [ fhir:v "Identity and health ID" ] ;
     fhir:definition [ fhir:v "Identity and health ID, once someone can confirm them." ]
  ] [
     fhir:code [ fhir:v "deferred-next-of-kin" ] ;
     fhir:display [ fhir:v "Next of kin and contact details" ] ;
     fhir:definition [ fhir:v "Next of kin and contact details." ]
  ] [
     fhir:code [ fhir:v "deferred-billing" ] ;
     fhir:display [ fhir:v "Billing type, payer and eligibility" ] ;
     fhir:definition [ fhir:v "Billing type, payer and eligibility." ]
  ] [
     fhir:code [ fhir:v "deferred-diagnosis" ] ;
     fhir:display [ fhir:v "Full admitting diagnosis and care plan" ] ;
     fhir:definition [ fhir:v "Full admitting diagnosis and care plan." ]
  ] [
     fhir:code [ fhir:v "break-glass-unconscious" ] ;
     fhir:display [ fhir:v "Patient cannot consent" ] ;
     fhir:definition [ fhir:v "The patient is unable to consent to access." ]
  ] [
     fhir:code [ fhir:v "break-glass-life-threat" ] ;
     fhir:display [ fhir:v "Immediate threat to life" ] ;
     fhir:definition [ fhir:v "Access is needed to answer an immediate threat to life." ]
  ] [
     fhir:code [ fhir:v "break-glass-covering" ] ;
     fhir:display [ fhir:v "Covering another clinician" ] ;
     fhir:definition [ fhir:v "Accessing while covering for the assigned clinician." ]
  ] [
     fhir:code [ fhir:v "break-glass-identity" ] ;
     fhir:display [ fhir:v "Confirming identity" ] ;
     fhir:definition [ fhir:v "Access is needed to confirm who the patient is." ]
  ] [
     fhir:code [ fhir:v "refer" ] ;
     fhir:display [ fhir:v "Refer" ] ;
     fhir:definition [ fhir:v "Refer the patient onward rather than admit." ]
  ] [
     fhir:code [ fhir:v "admit" ] ;
     fhir:display [ fhir:v "Admit" ] ;
     fhir:definition [ fhir:v "Admit the patient." ]
  ] [
     fhir:code [ fhir:v "admit-now" ] ;
     fhir:display [ fhir:v "Admit now" ] ;
     fhir:definition [ fhir:v "Admit immediately." ]
  ] [
     fhir:code [ fhir:v "book-for-date" ] ;
     fhir:display [ fhir:v "Book for a date" ] ;
     fhir:definition [ fhir:v "Book the admission for a future date." ]
  ] [
     fhir:code [ fhir:v "admitted-in-error" ] ;
     fhir:display [ fhir:v "Admitted in error" ] ;
     fhir:definition [ fhir:v "The admission should not have been raised." ]
  ] [
     fhir:code [ fhir:v "duplicate-admission" ] ;
     fhir:display [ fhir:v "Duplicate admission" ] ;
     fhir:definition [ fhir:v "A duplicate of another request." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v true
       ]
     ] )
  ] [
     fhir:code [ fhir:v "patient-declined" ] ;
     fhir:display [ fhir:v "Patient declined admission" ] ;
     fhir:definition [ fhir:v "The patient declined to be admitted." ]
  ] [
     fhir:code [ fhir:v "treated-and-sent-home" ] ;
     fhir:display [ fhir:v "Treated and sent home instead" ] ;
     fhir:definition [ fhir:v "The patient was treated and discharged without admission." ]
  ] [
     fhir:code [ fhir:v "moved-to-another-facility" ] ;
     fhir:display [ fhir:v "Moved to another facility" ] ;
     fhir:definition [ fhir:v "The patient was moved to another facility." ]
  ] [
     fhir:code [ fhir:v "ward-cannot-receive" ] ;
     fhir:display [ fhir:v "Ward cannot receive the patient" ] ;
     fhir:definition [ fhir:v "The receiving ward could not take the patient." ]
  ] [
     fhir:code [ fhir:v "improved" ] ;
     fhir:display [ fhir:v "Treated and improved" ] ;
     fhir:definition [ fhir:v "The patient improved and no longer needs admitting." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v false
       ]
     ] )
  ] [
     fhir:code [ fhir:v "referred-out" ] ;
     fhir:display [ fhir:v "Referred out instead" ] ;
     fhir:definition [ fhir:v "The patient was referred elsewhere instead." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v false
       ]
     ] )
  ] [
     fhir:code [ fhir:v "went-elsewhere" ] ;
     fhir:display [ fhir:v "Went to another hospital" ] ;
     fhir:definition [ fhir:v "The patient went to another hospital while waiting." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v true
       ]
     ] )
  ] [
     fhir:code [ fhir:v "refused" ] ;
     fhir:display [ fhir:v "Patient refused admission" ] ;
     fhir:definition [ fhir:v "The patient refused admission." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v false
       ]
     ] )
  ] [
     fhir:code [ fhir:v "died-waiting" ] ;
     fhir:display [ fhir:v "Died while waiting" ] ;
     fhir:definition [ fhir:v "The patient died before a bed was found. A closed record, not a reversible decision." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "ours-to-fix" ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v true
       ]
     ] )
  ] [
     fhir:code [ fhir:v "defer-no-bed" ] ;
     fhir:display [ fhir:v "No bed available" ] ;
     fhir:definition [ fhir:v "Deferred because no bed was available." ]
  ] [
     fhir:code [ fhir:v "defer-patient-not-ready" ] ;
     fhir:display [ fhir:v "Patient not ready" ] ;
     fhir:definition [ fhir:v "Deferred because the patient was not ready." ]
  ] [
     fhir:code [ fhir:v "defer-theatre" ] ;
     fhir:display [ fhir:v "Surgeon or theatre unavailable" ] ;
     fhir:definition [ fhir:v "Deferred because the surgeon or theatre was unavailable." ]
  ] [
     fhir:code [ fhir:v "defer-payer" ] ;
     fhir:display [ fhir:v "Payer approval outstanding" ] ;
     fhir:definition [ fhir:v "Deferred pending payer approval." ]
  ] [
     fhir:code [ fhir:v "defer-patient-requested" ] ;
     fhir:display [ fhir:v "Patient requested" ] ;
     fhir:definition [ fhir:v "Deferred at the patient's request." ]
  ] [
     fhir:code [ fhir:v "at-emergency-department" ] ;
     fhir:display [ fhir:v "Emergency department" ] ;
     fhir:definition [ fhir:v "Waiting in the emergency department." ]
  ] [
     fhir:code [ fhir:v "at-outpatient" ] ;
     fhir:display [ fhir:v "Outpatient area" ] ;
     fhir:definition [ fhir:v "Waiting in an outpatient area." ]
  ] [
     fhir:code [ fhir:v "at-corridor-trolley" ] ;
     fhir:display [ fhir:v "Corridor trolley" ] ;
     fhir:definition [ fhir:v "Waiting on a trolley in a corridor." ]
  ] [
     fhir:code [ fhir:v "at-another-ward" ] ;
     fhir:display [ fhir:v "Another ward" ] ;
     fhir:definition [ fhir:v "Waiting on another ward." ]
  ] [
     fhir:code [ fhir:v "at-home" ] ;
     fhir:display [ fhir:v "At home" ] ;
     fhir:definition [ fhir:v "Waiting at home." ]
  ] [
     fhir:code [ fhir:v "at-theatre" ] ;
     fhir:display [ fhir:v "In theatre" ] ;
     fhir:definition [ fhir:v "In theatre." ]
  ] [
     fhir:code [ fhir:v "at-another-facility" ] ;
     fhir:display [ fhir:v "Another facility" ] ;
     fhir:definition [ fhir:v "At another facility." ]
  ] [
     fhir:code [ fhir:v "ready" ] ;
     fhir:display [ fhir:v "Ready" ] ;
     fhir:definition [ fhir:v "Nothing outstanding." ]
  ] [
     fhir:code [ fhir:v "needs-attention" ] ;
     fhir:display [ fhir:v "Needs attention" ] ;
     fhir:definition [ fhir:v "Something is outstanding but the admission can proceed." ]
  ] [
     fhir:code [ fhir:v "not-ready" ] ;
     fhir:display [ fhir:v "Not ready" ] ;
     fhir:definition [ fhir:v "Blocked until something is resolved." ]
  ] [
     fhir:code [ fhir:v "requested" ] ;
     fhir:display [ fhir:v "Waiting admission" ] ;
     fhir:definition [ fhir:v "Requested and waiting for a bed or a decision." ]
  ] [
     fhir:code [ fhir:v "scheduled" ] ;
     fhir:display [ fhir:v "Scheduled" ] ;
     fhir:definition [ fhir:v "Booked for a future date and not yet arrived." ]
  ] [
     fhir:code [ fhir:v "admitted" ] ;
     fhir:display [ fhir:v "Admitted" ] ;
     fhir:definition [ fhir:v "Admitted. A patient admitted before a bed is free waits under 'needs bed', which is a view over this state rather than a state of its own." ]
  ] [
     fhir:code [ fhir:v "discharge-pending" ] ;
     fhir:display [ fhir:v "Discharge pending" ] ;
     fhir:definition [ fhir:v "Discharge decided and in progress." ]
  ] [
     fhir:code [ fhir:v "discharged" ] ;
     fhir:display [ fhir:v "Discharged" ] ;
     fhir:definition [ fhir:v "The stay has ended." ]
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The request left the queue without an admission." ]
  ] [
     fhir:code [ fhir:v "removed-in-error" ] ;
     fhir:display [ fhir:v "Created by mistake" ] ;
     fhir:definition [ fhir:v "The ward record should never have been created." ]
  ] [
     fhir:code [ fhir:v "removed-duplicate" ] ;
     fhir:display [ fhir:v "Duplicate of an existing ward" ] ;
     fhir:definition [ fhir:v "The same ward is already set up under another record." ]
  ] [
     fhir:code [ fhir:v "removed-wrong-facility" ] ;
     fhir:display [ fhir:v "Wrong facility" ] ;
     fhir:definition [ fhir:v "The ward was set up against the wrong facility." ]
  ] [
     fhir:code [ fhir:v "removed-test-data" ] ;
     fhir:display [ fhir:v "Test or training data" ] ;
     fhir:definition [ fhir:v "The ward was created for testing or training and is not a real ward." ]
  ] [
     fhir:code [ fhir:v "removed-ward-cancelled" ] ;
     fhir:display [ fhir:v "Set up before the ward was cancelled" ] ;
     fhir:definition [ fhir:v "The ward was configured in advance of opening, and the plan to open it was then dropped." ]
  ] [
     fhir:code [ fhir:v "removed-other" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "A reason none of the others covers. Expects a written explanation alongside it, since the code alone says nothing." ]
  ] [
     fhir:code [ fhir:v "eating-drinking-normally" ] ;
     fhir:display [ fhir:v "Eating and drinking normally" ] ;
     fhir:definition [ fhir:v "The patient is taking food and fluid as they normally would." ]
  ] [
     fhir:code [ fhir:v "fluids-only" ] ;
     fhir:display [ fhir:v "Taking fluids only" ] ;
     fhir:definition [ fhir:v "The patient is tolerating fluids but not yet solid food." ]
  ] [
     fhir:code [ fhir:v "small-amounts" ] ;
     fhir:display [ fhir:v "Taking small amounts" ] ;
     fhir:definition [ fhir:v "The patient is taking some food and fluid, below what they need." ]
  ] [
     fhir:code [ fhir:v "not-tolerating-oral-intake" ] ;
     fhir:display [ fhir:v "Not tolerating oral intake" ] ;
     fhir:definition [ fhir:v "The patient is not keeping food or fluid down, which is a reason to question the discharge." ]
  ] [
     fhir:code [ fhir:v "independent" ] ;
     fhir:display [ fhir:v "Independent" ] ;
     fhir:definition [ fhir:v "The patient moves without help and without an aid." ]
  ] [
     fhir:code [ fhir:v "walking-aid" ] ;
     fhir:display [ fhir:v "Walking with a stick or frame" ] ;
     fhir:definition [ fhir:v "The patient moves without another person but relies on an aid." ]
  ] [
     fhir:code [ fhir:v "needs-one-assist" ] ;
     fhir:display [ fhir:v "Needs one person to assist" ] ;
     fhir:definition [ fhir:v "One person is needed to move the patient safely, which is what home has to provide." ]
  ] [
     fhir:code [ fhir:v "needs-two-assist" ] ;
     fhir:display [ fhir:v "Needs two people to assist" ] ;
     fhir:definition [ fhir:v "Two people are needed to move the patient safely." ]
  ] [
     fhir:code [ fhir:v "bed-bound" ] ;
     fhir:display [ fhir:v "Bed bound" ] ;
     fhir:definition [ fhir:v "The patient cannot be got out of bed." ]
  ] [
     fhir:code [ fhir:v "pain-free" ] ;
     fhir:display [ fhir:v "Pain free" ] ;
     fhir:definition [ fhir:v "The patient reports no pain." ]
  ] [
     fhir:code [ fhir:v "controlled-on-oral-analgesia" ] ;
     fhir:display [ fhir:v "Controlled on oral analgesia" ] ;
     fhir:definition [ fhir:v "Pain is held by medicine the patient can take at home." ]
  ] [
     fhir:code [ fhir:v "controlled-needs-review" ] ;
     fhir:display [ fhir:v "Controlled but needs review" ] ;
     fhir:definition [ fhir:v "Pain is held for now, but the regimen is expected to need changing." ]
  ] [
     fhir:code [ fhir:v "not-controlled" ] ;
     fhir:display [ fhir:v "Not controlled" ] ;
     fhir:definition [ fhir:v "Pain is not held, which is a reason to question the discharge." ]
  ] [
     fhir:code [ fhir:v "condition-recovered" ] ;
     fhir:display [ fhir:v "Recovered" ] ;
     fhir:definition [ fhir:v "The problem the patient was admitted for has resolved." ]
  ] [
     fhir:code [ fhir:v "condition-improved" ] ;
     fhir:display [ fhir:v "Improved" ] ;
     fhir:definition [ fhir:v "The patient is better than on admission without having fully recovered." ]
  ] [
     fhir:code [ fhir:v "condition-unchanged" ] ;
     fhir:display [ fhir:v "Unchanged" ] ;
     fhir:definition [ fhir:v "The patient is no different from how they arrived." ]
  ] [
     fhir:code [ fhir:v "condition-worse" ] ;
     fhir:display [ fhir:v "Worse" ] ;
     fhir:definition [ fhir:v "The patient is worse than on admission." ]
  ] [
     fhir:code [ fhir:v "condition-palliative" ] ;
     fhir:display [ fhir:v "Palliative" ] ;
     fhir:definition [ fhir:v "Care has moved to comfort rather than cure." ]
  ] [
     fhir:code [ fhir:v "spouse" ] ;
     fhir:display [ fhir:v "Spouse" ] ;
     fhir:definition [ fhir:v "The patient's husband or wife." ]
  ] [
     fhir:code [ fhir:v "parent" ] ;
     fhir:display [ fhir:v "Parent" ] ;
     fhir:definition [ fhir:v "The patient's mother or father." ]
  ] [
     fhir:code [ fhir:v "child" ] ;
     fhir:display [ fhir:v "Child" ] ;
     fhir:definition [ fhir:v "The patient's son or daughter." ]
  ] [
     fhir:code [ fhir:v "sibling" ] ;
     fhir:display [ fhir:v "Sibling" ] ;
     fhir:definition [ fhir:v "The patient's brother or sister." ]
  ] [
     fhir:code [ fhir:v "guardian" ] ;
     fhir:display [ fhir:v "Guardian" ] ;
     fhir:definition [ fhir:v "Somebody with legal responsibility for the patient." ]
  ] [
     fhir:code [ fhir:v "other-relative" ] ;
     fhir:display [ fhir:v "Other relative" ] ;
     fhir:definition [ fhir:v "A relative none of the narrower codes name." ]
  ] [
     fhir:code [ fhir:v "neighbour-or-friend" ] ;
     fhir:display [ fhir:v "Neighbour or friend" ] ;
     fhir:definition [ fhir:v "Somebody close to the patient who is not a relative, and routinely the person actually taking them home." ]
  ] [
     fhir:code [ fhir:v "explained-to-patient" ] ;
     fhir:display [ fhir:v "Explained to the patient" ] ;
     fhir:definition [ fhir:v "The medicines were gone through with the patient alone." ]
  ] [
     fhir:code [ fhir:v "explained-to-next-of-kin" ] ;
     fhir:display [ fhir:v "Explained to the next of kin" ] ;
     fhir:definition [ fhir:v "The medicines were gone through with the next of kin, which is what happens where the patient cannot take it in." ]
  ] [
     fhir:code [ fhir:v "explained-to-both" ] ;
     fhir:display [ fhir:v "Explained to both" ] ;
     fhir:definition [ fhir:v "The medicines were gone through with the patient and the next of kin together." ]
  ] [
     fhir:code [ fhir:v "not-explained" ] ;
     fhir:display [ fhir:v "Not explained" ] ;
     fhir:definition [ fhir:v "Nobody was taken through the medicines. A stated answer rather than a blank, because a blank reads as an oversight and this may be a decision." ]
  ] [
     fhir:code [ fhir:v "settled-in-full" ] ;
     fhir:display [ fhir:v "Settled in full" ] ;
     fhir:definition [ fhir:v "Nothing is owed." ]
  ] [
     fhir:code [ fhir:v "scheme-covered" ] ;
     fhir:display [ fhir:v "Covered by insurance or scheme" ] ;
     fhir:definition [ fhir:v "The account sits with a payer rather than with the patient." ]
  ] [
     fhir:code [ fhir:v "part-payment-balance-on-account" ] ;
     fhir:display [ fhir:v "Part payment taken, balance on account" ] ;
     fhir:definition [ fhir:v "Something was paid at the counter and the rest is carried against the account." ]
  ] [
     fhir:code [ fhir:v "waiver-approved" ] ;
     fhir:display [ fhir:v "Waiver approved" ] ;
     fhir:definition [ fhir:v "The balance was written off, with approval." ]
  ] [
     fhir:code [ fhir:v "referred-to-credit-control" ] ;
     fhir:display [ fhir:v "Referred to credit control" ] ;
     fhir:definition [ fhir:v "The account was passed to credit control to pursue, and the patient is not held for it." ]
  ] [
     fhir:code [ fhir:v "normal" ] ;
     fhir:display [ fhir:v "Normal" ] ;
     fhir:definition [ fhir:v "The patient was discharged as planned, on clinical grounds." ]
  ] [
     fhir:code [ fhir:v "transfer-out" ] ;
     fhir:display [ fhir:v "Transfer out" ] ;
     fhir:definition [ fhir:v "The patient was moved to another facility, which takes over their care." ]
  ] [
     fhir:code [ fhir:v "left-against-medical-advice" ] ;
     fhir:display [ fhir:v "Left against medical advice" ] ;
     fhir:definition [ fhir:v "The patient chose to leave before the clinician judged them ready, and signed to say so." ]
  ] [
     fhir:code [ fhir:v "absconded" ] ;
     fhir:display [ fhir:v "Absconded" ] ;
     fhir:definition [ fhir:v "The patient left unobserved. Nobody discharged them, so the record carries the last time they were seen rather than a signature." ]
  ] [
     fhir:code [ fhir:v "deceased" ] ;
     fhir:display [ fhir:v "Deceased" ] ;
     fhir:definition [ fhir:v "The stay ended in a death. The facts of it live on the record of death." ]
  ] [
     fhir:code [ fhir:v "home-with-community-follow-up" ] ;
     fhir:display [ fhir:v "Home with community follow-up" ] ;
     fhir:definition [ fhir:v "The patient went home with a community health worker or a home visit arranged." ]
  ] [
     fhir:code [ fhir:v "outpatient-clinic-follow-up" ] ;
     fhir:display [ fhir:v "Outpatient clinic follow-up" ] ;
     fhir:definition [ fhir:v "The patient went home with a clinic appointment arranged to continue their care." ]
  ] [
     fhir:code [ fhir:v "override-cashier-off-duty" ] ;
     fhir:display [ fhir:v "Cashier off duty, out of hours" ] ;
     fhir:definition [ fhir:v "Nobody was at the counter to clear the account, and the patient is not being held for it." ]
  ] [
     fhir:code [ fhir:v "override-leaving-against-advice" ] ;
     fhir:display [ fhir:v "Patient leaving against advice and will not wait" ] ;
     fhir:definition [ fhir:v "The patient is going regardless, so the check cannot be completed first." ]
  ] [
     fhir:code [ fhir:v "override-transfer-time-critical" ] ;
     fhir:display [ fhir:v "Transfer is time-critical" ] ;
     fhir:definition [ fhir:v "The patient has to move now, and waiting for the check would cost more than skipping it." ]
  ] [
     fhir:code [ fhir:v "override-signer-unavailable" ] ;
     fhir:display [ fhir:v "Signing person unavailable and patient must not be held" ] ;
     fhir:definition [ fhir:v "Whoever normally signs this could not be reached, and holding the patient was judged the greater harm." ]
  ] [
     fhir:code [ fhir:v "override-system-unavailable" ] ;
     fhir:display [ fhir:v "System or record unavailable at the time" ] ;
     fhir:definition [ fhir:v "The information the check needs could not be reached when it was needed." ]
  ] [
     fhir:code [ fhir:v "override-other" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "A reason none of the others covers. Expects a written explanation alongside it, since the code alone says nothing." ]
  ] ) . #