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

Record family and household information

As a front desk clerk, I want to record the patient's parents or guardians, with their contact details, and the household's size and income, so that a minor's guardian is known and the household can be assessed for benefits.

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

Scenarios

S-REG-09.1Given a minor patient, When I record the father's name, the mother's maiden name, their relationship, phones, employer, email and place of birth, Then PATIENT (#2) holds the two names and IHS PATIENT (#9000001) holds the rest.
S-REG-09.2Given a patient with a guardian who is not a parent, When I record the guardian's name and relationship, and a second guardian if there is one, Then IHS PATIENT (#9000001) holds each guardian with their relationship and contact details.
S-REG-09.3Given a guardian's relationship but no name, or a name but no relationship, When I save, Then it is refused and names what is missing.
S-REG-09.4Given a parent or guardian name that is not `LAST,FIRST MIDDLE,SUFFIX`, When I save, Then it is refused and names the format.
S-REG-09.5Given a household size of 100 or more, or an income of 0 or of 10,000,000 or more, When I save, Then it is refused.
S-REG-09.6Given this facility requires the household income, When I save without the income or its period, Then it is refused and names the value.