Skip to content
Event storming templates

Event Storm — Emergency Admission

Emergency department arrival through bed management to the ward, with the discharge event nobody commands and two hotspots concentrated on the bed-request boundary.

Template previewEvent storming
Emergency admission — arrival to wardBounded contexts3Domain events6Event coverage83.3%Hotspots4Model smells1Domain eventCommandActorAggregatePolicyRead modelExternal systemHotspotEmergency department2 events · 2 commands · 1 policy · 1 hotspotAttendanceBed management2 events · 1 command · 1 policy · 2 hotspotsBed requestWard2 events · 1 command · 0 policies · 1 hotspotAdmissionParamedicRegister arrivalPatient registeredAmbulance pre-alertfeedTriage nurseTriage patientPatient triagedDepartment statusboardMental-healthpresentations have notriage categoryWhen patient triaged,request bedFlow coordinatorRequest bedBed requestedBed allocatedPatientadministration systemEscalation beds arecounted twice at the8am huddleNobody owns therequest once thecoordinator goes off…When bed allocated,admit patientWard sisterAdmit patientPatient admittedWard handover listPatient dischargedThe discharge summaryis written after thepatient leavesWorkshop checksEvents with no producing command1Patient dischargedCommands with no resulting event0noneCommands with no aggregate0noneAggregates with no events0nonePolicies with a missing trigger event0nonePolicies with a missing command0noneHotspots per context4Emergency department 1 · Bed management 2 · Ward 1Cross-context flows2Emergency department → Bed management · Bed management → Ward

Make it your own.

title "Emergency admission — arrival to ward"

context "Emergency department"
  actor Paramedic
  aggregate Attendance
  command "Register arrival" by Paramedic on Attendance
  event "Patient registered" from "Register arrival"
  external "Ambulance pre-alert feed"
  command "Triage patient" by "Triage nurse" on Attendance
  event "Patient triaged" from "Triage patient"
  readmodel "Department status board"
  hotspot "Mental-health presentations have no triage category"
  policy "When patient triaged, request bed" then "Request bed"

context "Bed management"
  aggregate "Bed request"
  command "Request bed" by "Flow coordinator" on "Bed request"
  event "Bed requested" from "Request bed"
  event "Bed allocated" from "Request bed"
  external "Patient administration system"
  hotspot "Escalation beds are counted twice at the 8am huddle"
  hotspot "Nobody owns the request once the coordinator goes off shift"
  policy "When bed allocated, admit patient" then "Admit patient"

context "Ward"
  aggregate Admission
  command "Admit patient" by "Ward sister" on Admission
  event "Patient admitted" from "Admit patient"
  readmodel "Ward handover list"
  event "Patient discharged"
  hotspot "The discharge summary is written after the patient leaves"