RyanNgWH / pe

0 stars 0 forks source link

Application does not allow a person to be both a doctor and a patient. #8

Open RyanNgWH opened 2 months ago

RyanNgWH commented 2 months ago

image.png

The application detects duplicates based on the NRIC of the person. This means that if the person is a doctor in the hospital, he will not be allowed to be added as a patient in the same hospital.

Considering the context of a hospital, it is possible for a doctor in that hospital to also be a patient in the hospital (seeing a different doctor for a health issue).

nus-se-script commented 2 months ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Unable to add doctor as patient

Given that Doctors are humans as well, they might also be patients at the same hospital that they work in, as such when adding the doctor as a patient, we expect to be able to add them so we can keep track of them as well.

Example: adddoctor n/Amy Smith i/S8054321B p/87654321 d/1980-12-05

However the doctor is not able to be a patient in the same hospital. This might cause issue when managing all patients and might consider differentiating contacts with respect to roles as well.

image.png


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

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

No details provided by team.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]