Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the malfunction that filters out some medicated patients from the 'with medications' tab, creating an incomplete view. #258

Open
Moricembiaji opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Moricembiaji
Copy link
Collaborator

Describe the bug
Implement a fix to ensure the 'with medications' tab accurately reflects the complete list of patients with any medications.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'the'clinic module'
  2. Click on 'tab named as "with medications"'
  3. See error where there is no list of patients

Expected behavior
Resolve the issue where the 'with medications' tab doesn't display all patients who have medications assigned.

Screenshots
image

@Moricembiaji Moricembiaji added the bug Something isn't working label Dec 15, 2023
@Moricembiaji Moricembiaji added this to the Fix Bugs (Student 2023) milestone Dec 15, 2023
@metabloit
Copy link

metabloit commented Dec 30, 2023

I think there is an issue with the API endpoint particularly for the orderTypeUuid when it comes to [drugOrderType]. I tried performing a GET request to the endpoint http://localhost:4200/openmrs/ws/rest/v1/icare/visit?orderByDirection=ASC&orderTypeUuid=131168f4-15f5-102d-96e4-000c29c2a5d7&startIndex=0&limit=10 but the JSON returned is an empty results array.

I am thinking there could be an issue with how this particular type of drugOrderType request is made to the database, probably there are some parameters missing or should not be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants