AprupKale / pe

0 stars 0 forks source link

Editing the IC number for a patient is not possible #10

Open AprupKale opened 10 months ago

AprupKale commented 10 months ago

The app assumes that the IC number entered for the patient initially is correct.

However, if a user enters an incorrect IC number, the only way to edit it is to delete the patient and then add all the details of the patient manually back again.

This can cause loss of data due to human error in manually entering all the data again for patients with a lot of history, but only a slight mistake in the IC number that needs to be rectified.

The user should thus be able to edit the IC number of a patient if they want to.

nus-pe-script commented 10 months ago

Team's Response

Hi, thanks for this suggestion! As shown in our user guide, we mentioned IC number cannot be edited.

image.png

And this is for a specific reason. IC number is a specific unique identifier for a patient. It is like a memory address index of a storage. If you store something wrongly at index A, it does not make sense to replace that index A to index B. Instead, you will have to relocate all that data to the other index. This is important because this system, though it is used by a single user (an ED doctor), involves a central database shared by many others. If you were to change the unique identifier which is the IC number, then other users (other ED doctors) would not be able to find that patient anymore. As such, all this is part of the design and we will reject this bug.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]