Open RyanNgWH opened 2 months ago
No details provided by team.
[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.
[original: nus-cs2103-AY2324S2/pe-interim#4892] [original labels: severity.Low type.FeatureFlaw]
[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]
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).