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

Record the emergency contact and next of kin

As a front desk clerk, I want to record who to call for the patient and who their next of kin is, with how they are related and how to reach them, so that the clinic can reach someone in an emergency.

Personafront_desk_clerk
JourneyA patient is registered
StepRecords the patient's details after registration Task_08_RecordsThePatientsDetails

Scenarios

S-REG-08.1Given a patient, When I record an emergency contact's name, relationship, address and phones, Then PATIENT (#2) holds the emergency contact's name, address and phones and IHS PATIENT (#9000001) holds the relationship; the same holds for the next of kin.
S-REG-08.2Given an emergency contact on file with an address and phones, When I change the contact's name and save nothing else, Then the previous contact's address and phones are cleared, not carried over to the new person.
S-REG-08.3Given a contact name that is not `LAST,FIRST MIDDLE,SUFFIX`, or shorter than 3 characters, When I save, Then it is refused and names the format.
S-REG-08.4Given a relationship, address or phone for a contact but no name, When I save, Then it is refused and asks for the name.