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

Record legal sex, gender identity, sexual orientation and pronouns

As a front desk clerk, I want to record the patient's legal sex with the document it rests on, their gender identity, sexual orientation and pronouns, so that the chart reflects the patient and each answer is dated.

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

Scenarios

S-REG-13.1Given a patient, When I record a legal sex with its effective date and the document that is the source, Then the LEGAL SEX multiple (#9000001.9201) of IHS PATIENT holds that entry with the date it was entered, and an earlier entry with another effective date is kept.
S-REG-13.2Given two legal sex entries with the same effective date, When I save, Then it is refused.
S-REG-13.3Given a patient, When I record one or more gender identities and sexual orientations, Then the GENDER IDENTITY (#9000001.9401) and SEXUAL ORIENTATION (#9000001.9301) multiples of IHS PATIENT each hold today's entry with every choice, and an entry from an earlier date is kept.
S-REG-13.4Given a gender identity, sexual orientation or pronoun of other, When I save without saying what, Then it is refused.
S-REG-13.5Given a patient, When I record their pronouns, Then IHS PATIENT (#9000001) holds the pronouns and, for other, the text.