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

Modify the IP/OP number in the facility specific discharge patient card #8028

Open
3 tasks
nihal467 opened this issue Jun 15, 2024 · 7 comments
Open
3 tasks
Assignees
Labels

Comments

@nihal467
Copy link
Member

nihal467 commented Jun 15, 2024

Describe the bug

On the discharge patient page, we are showing the IP/OP number, but in an edge case, it is failing:

  • Case 1: If a patient is discharged from Facility A with IP number 1/24 and then admitted to Facility B with a new IP number 2/2024, the IP/OP number on the patient card in the facility-specific discharge page of Facility A also gets modified based on the new IP/OP number from Facility B. [this is effecting the search by IP/OP number as well as the card]

  • Case 2: On the discharge page, we are currently showing IP/OP numbers in the search results based only on the last consultation. If I want to search for the IP/OP number of a patient who has been re-admitted five times in the same facility, only the latest consultation is considered, and older consultations in the same facility are not taken into account.

To Reproduce
Steps to reproduce the behavior:

  1. Go to facility detail page
  2. Click on view discharge patient button
  3. search with the IP no
  4. See error

Expected behavior

  • we need to return last consultation for unique patient which matches the given filters

Screenshots

image

Copy link

github-actions bot commented Jul 3, 2024

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

@github-actions github-actions bot added the stale label Jul 3, 2024
@gigincg gigincg removed the stale label Aug 12, 2024
@SwanandBhuskute
Copy link
Contributor

If this issue is still valid , I would like to work on it @nihal467

@SwanandBhuskute
Copy link
Contributor

If this issue is still valid , I would like to work on it @nihal467

pls assign me this issue @nihal467

@SwanandBhuskute
Copy link
Contributor

Is this still a valid issue? @nihal467 @rithviknishad @gigincg

@SwanandBhuskute
Copy link
Contributor

@nihal467 @rithviknishad @gigincg
Because lets say a patient has 2 consultations
Consultation A - IP-56
Consultation B - IP-57 (latest)

only for display purpose, we show latest IP/OP number
so now only IP-57 is displayed in the card,

so when I search for 56, I don't get to see the patient, this is not expected right?
I should be able to see the patient based on any of his IP/OP number?

@Rustix69
Copy link
Contributor

Rustix69 commented Dec 2, 2024

I would like work on this, if that's okay.

@SwanandBhuskute
Copy link
Contributor

@nihal467 i would like to work on this , pls assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Triage
Development

No branches or pull requests

4 participants