care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

while searching for discharged patient record using the ip/op number, multiple records are coming up along with the patient record we are searching for.

Open dpnkr1 opened this issue 10 months ago • 2 comments

Describe the bug suppose we are looking for discharge patient record in particular facility, so to find that patient record we use the ip/op number because its unique number assigned to them by the facility. so while searching for that patient record using the ip/op number multiple patient records are coming up along with that patient record.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'patient page'
  2. Click on 'click on discharge patients'
  3. Then click on advance filter.
  4. Then set the date range and select a particular facility in which you want find the patient, then apply the filter.
  5. Then search for a patient record using the ip/op number. After searching you will find multiple patient record coming up along with the patient record you were looking for.

Expected behavior

Modify the "search by OP/IP number" function in the patient tab to only provide exact matching results.

Screenshots Screenshot 2024-04-18 140519

dpnkr1 avatar Apr 18 '24 08:04 dpnkr1

@dpnkr1 I am somehow not even able to reach this

AshrafMd-1 avatar Apr 24 '24 08:04 AshrafMd-1

@AshrafMd-1 follow the below step :

  1. create multiple patient with IP/OP number 1/24 ,121/24, 211/24, 311/24
  2. in the patient tab, search the OP number field input 1/24
  3. you will be seeing search result with 4 patient card, that is the error.

Expected beahvior

we should be only seeing patient card with exact ip/op number match as 1/24

nihal467 avatar Apr 28 '24 14:04 nihal467

Closing as completed via https://github.com/coronasafe/care/pull/2136

rithviknishad avatar May 09 '24 06:05 rithviknishad