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

Add consultation updates button not disabled in Patient Details page for Discharged consultations #7131

Closed
rithviknishad opened this issue Jan 31, 2024 · 3 comments · Fixed by #7133
Assignees
Labels
good first issue Good for newcomers

Comments

@rithviknishad
Copy link
Member

Describe the bug
Add consultation updates button not disabled in Patient Details page for Discharged consultations

To Reproduce
Steps to reproduce the behavior:

  1. Go to patients tab
  2. Open discharged tab
  3. Open any patient that has this issue (eg: https://care.ohc.network/facility/eeb23cb7-1524-479a-825e-660311386b47/patient/9ed7c221-a3ac-4bb3-8fcb-f0e0756cb49e)
  4. See that the consultation although is discharged (discharge_date NOT NULL), we are still showing the "Add consultation updates" button.

Expected behavior
Disable the "Add consultation updates" button for discharged consultations.

Screenshots
image

@rithviknishad rithviknishad added the good first issue Good for newcomers label Jan 31, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Jan 31, 2024
@rithviknishad rithviknishad moved this from Triage to Up Next in Care Jan 31, 2024
@HubertGrabda
Copy link
Contributor

Hey, I can help with that

@younome71
Copy link

@rithviknishad I would like to take on this issue. Could you please assign it to me? I will promptly address this by checking and updating the relevant code to disable the button based on the discharge_date.

@rithviknishad
Copy link
Member Author

Hey @younome71

Assigned to @HubertGrabda since he had already made a working PR

@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants