udsm-dhis2-lab / iCareConnect

The icare Project
GNU Lesser General Public License v2.1
3 stars 260 forks source link

List all patients with lab results in "With Laboratory Tests" tab. #231

Open Moricembiaji opened 9 months ago

Moricembiaji commented 9 months ago

Describe the bug Fix a bug by listing all names of the patients with laboratory results in the tab named "With Laboratory Tests."

To Reproduce Steps to reproduce the behavior:

  1. Go to 'clinic module'
  2. Click on 'any room, select patient name'
  3. Then add any laboratory test, then go to laboratory module.
  4. Collect the sample and fill the result.
  5. Then, click on the respective room in the clinic module to open the feedback results filled in the loboratory module.
  6. Then click on the tab named "With Laboratory Tests."
  7. Check if there is a list of names of the patients with results.
  8. Fix the error

Expected behavior It has been identified that the "With Laboratory Tests" tab is not displaying all patients with associated laboratory results. This issue requires immediate resolution.

Screenshots image

NucciNello commented 8 months ago

Hi @Ramadhani202208.

We tried to follow the procedures above to add a Lab test to a patient, but, there is no a way to achieve this procedure. Upon clicking any patient of any particular room, the app redirects to the "registration/home/" component as shown on the screenshot below; and as a result we are unable to fix the bug as we don't have patients with lab test so far.

Screenshot Screenshot 2023-12-27 182608

Moricembiaji commented 8 months ago

Please refresh the page and continue with the procedures Thanks and regards

On Wed, 27 Dec 2023 at 18:27, Nuhu Mandy @.***> wrote:

Hi @Ramadhani202208 https://github.com/Ramadhani202208.

We tried to follow the procedures above to add a Lab test to a patient, but, there is no a way to achieve this procedure. Upon clicking any patient of any particular room, the app redirects to the page in screenshot below; and as a result we are unable to fix the bug as we don't have patients with lab test so far.

Screenshot Screenshot.2023-12-27.182608.png (view on web) https://github.com/udsm-dhis2-lab/iCareConnect/assets/99115749/1f9d5385-ef70-492a-a3db-c9455b6d7cca

— Reply to this email directly, view it on GitHub https://github.com/udsm-dhis2-lab/iCareConnect/issues/231#issuecomment-1870406796, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TLCLHPRODLVIHRNFUVV2TYLQ463AVCNFSM6AAAAABAPX2VH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGQYDMNZZGY . You are receiving this because you were mentioned.Message ID: @.***>

NucciNello commented 8 months ago

The team was able to fix the bug was successfully, and now the user can view the patients with Lab tests as it can be seen in the below screenshot:

Screenshot (80)

Link to our group's (Group 10) pull request: https://github.com/udsm-dhis2-lab/iCareConnect/pull/287

Best Regards.