Draw the class diagram of :
Patient registration system
A patient arrives at the hospital for some medical treatment.
The administrator asks the patient if she had been previously
treated at this hospital. Patient provides the answer.
Administrator asks patient for her personal details such as name,
address, telephone, date of birth, and emergency contact. Patient
provides details as requested. Administrator enters details into
system. System verifies details. Administrator asks patient whether
she is a public or private patient. Patient provides the answer.
[Public or Private]
[Public]
Administrator asks public patient for Medicare number. Patient
provides Medicare number. Administrator enters Medicare number into
system. System verifies patient identity with the government health
regulatory system.
[Private]
Administrator asks private patient for insurance details.
Patient provides insurance details. Administrator enters insurance
details (insurance company, patient’s insurance number) into
system. System verifies patient identity with private health
insurance company system.
System saves patient details. System confirms patient
registration.
Alternative Flow:
If the patient has visited the hospital previously, the
details are registered in the hospital’s system. The administrator
informs the patient of existing registration.>
If insufficient or incorrect details have been provided, the
patient is requested to provide the details again.>
The patient cannot be verified in the government health
regulatory system, so the administrator asks the patient for her
Medicare card details again. If no verification is possible, the
patient is conditionally registered as either a full fee–paying
patient or one who will provide Medicare details later.>
The patient cannot be verified in the private health insurance
company’s system, so the administrator asks the patient for the
private health insurance details again. If no verification is
possible, the patient is conditionally registered as either a full
fee–paying patient and her details with the health insurance
company are verified later.
Actors:
Patient
Administrator
System
Government HRS