Emergency Department (ED)¶
Run the emergency department from a live board: register arrivals, triage by acuity with vitals, treat with orders and notes, and record disposition — with wait‑time breach flags and abnormal‑vitals alerts against ESI targets.
Screenshot: Emergency board — TODO
Emergency Board¶
Medical → Emergency (/medical/emergency) is a real‑time board of all active ED patients,
ordered by acuity, with KPIs: Active, Waiting, In Treatment, High Acuity. It refreshes
incrementally, and rows past their target door‑to‑provider time are flagged as breaches — a breach
raises an escalation alert. ED zones/beds (/medical/emergency/zones) define the physical spaces a
patient can be placed in.
The ED visit flow¶
Medical → Emergency → Visits (/medical/emergency/visits) drives each patient through:
- Register arrival — patient, arrival time, arrival mode (Walk‑in, Ambulance, Referral, Police/Medico‑legal, Other), chief complaint, location → status Waiting. An EMERGENCY encounter is opened automatically, and an emergency ticket charge is raised so the visit is forwarded to the billing counter. Care is never blocked on payment — triage, treatment, tests and emergency medicines proceed immediately; the counter marks Billing cleared when settled (a red Billing pending badge shows until then).
- Triage — record structured vitals (BP, pulse, resp rate, SpO₂, temperature) — out‑of‑range values are flagged and can raise an abnormal‑vitals alert — and assign an ESI level (target door‑to‑provider time):
- ESI‑1 Resuscitation — 0 min · ESI‑2 Emergent — 10 min · ESI‑3 Urgent — 30 min · ESI‑4 Less Urgent — 60 min · ESI‑5 Non‑Urgent — 120 min → status Triaged.
- Start Treatment — assign attending provider and location → In Treatment. From the visit you can place ED orders (labs/imaging) and write an ED clinical note, and the system prompts a timed reassessment based on acuity.
- Move to Observation (optional) → Observation.
- Disposition — Discharged Home, Admitted (IPD), Transferred Out, Referred, Observation Unit, LWBS (left without being seen), LAMA (left against medical advice), or Deceased → Dispositioned (leaves the board). A Discharged disposition can auto‑create a follow‑up appointment.
- Referred captures the target facility, department, reason and transport mode, and prints a referral slip on the government masthead.
- Deceased captures a death declaration (time and cause of death, certifying clinician) and automatically opens a mortuary record — flagged medico‑legal when the arrival mode was Police/Medico‑legal.
A timeline panel shows Arrived → Triaged → Treatment → Dispositioned with timestamps. A visit can be Cancelled any time before disposition.
Order sets & FHIR export¶
- Order‑set templates let a clinician apply a pre‑defined bundle of labs/imaging in one step for common presentations, rather than ordering each item.
- An ED encounter can be exported as a FHIR R5
Encounterfor interchange.
Admit creates the IPD record
Choosing Admitted (IPD) at disposition starts an inpatient admission — no re-registration needed.