S-REG-27 · W01 Patient Registration · fit: unknown

Record a patient's death

As a registration supervisor, I want to record that a patient has died, with the date and time, state, certificate number and preliminary cause, or clear a death entered in error, so that the chart is closed to further registration and the clinic stops contacting them.

Personaregistration_supervisor
JourneyA patient's record is maintained
StepRecords the patient's death Task_08_RecordsThePatientsDeath

Scenarios

S-REG-27.1Given a living patient, When I record the date and time of death, the state, the certificate number and the preliminary cause, Then PATIENT (#2) holds the date of death and me as the user who entered it, IHS PATIENT (#9000001) holds the state, certificate number and the date edited, and the patient is listed as deceased.
S-REG-27.2Given a date of death before the patient's date of birth, or in the future, When I save, Then it is refused.
S-REG-27.3Given a death on file, When any user opens the patient, Then the registration can be seen and nothing in it changed.
S-REG-27.4Given a death entered in error, When I clear it, Then PATIENT (#2) holds no date of death and the registration can be edited again.
S-REG-27.5Given I do not hold the registration manager key (AGZMGR), When I open a patient, Then I cannot record or clear a death.