nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Easy to accidentally insert duplicate patients #3559

Open nus-pe-bot opened 6 months ago

nus-pe-bot commented 6 months ago

Having to manually enter a patient's ID that uniquely identifies them allows for accidental entry of duplicate patients due to a simple typo.

e.g. first, add a client with ID 12360

add id/ 12360 n/ John Chan p/ John f/ Curry chicken c/ Stable c/ Has 2 sons visit him regularly h/ Singing karaoke t/Diabetes

The nurse then does something else and forgets that they already added this patient.

They then enter him again, but accidentally make a typo in the ID

add id/ 12369 n/ John Chan p/ John f/ Curry chicken c/ Stable c/ Has 2 sons visit him regularly h/ Singing karaoke t/Diabetes

The result is the same patient being stored twice.

image.png


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

SherisseTJW commented 6 months ago

Team's Response

Hi, thanks for pointing this out.

However, we have already identified this issue and have also put it down in our Planned Enhancements in our DG (See: Section 4.8)

image.png

Showing the PatientHospitalId would therefore resolve this issue as the nurse can see that this patient already exists.

Duplicate status (if any):

--