nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Phone number and emergency contact can be the same #5510

Open nus-se-script opened 11 months ago

nus-se-script commented 11 months ago

In the real world, phone number and emergency contact should not be the same as it does not make sense to call the person who might be having an emergency.

image.png


[original: nus-cs2103-AY2324S1/pe-interim#5209] [original labels: severity.Low type.FeatureFlaw]

chonguschonguschongus commented 11 months ago

Team's Response

We allow for phone numbers to be the same. There might be a situation where a person does not have a distinct emergency contact. Consider the following: A 5 year old patient who does not have a phone. In this case, both the phone number and emergency contact can be the same one (i.e the parent's).

Duplicate status (if any):

--