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

Show/Hide Toggle for Stopped Prescriptions Not Working #10610

Open
AdityaJ2305 opened this issue Feb 14, 2025 · 6 comments · May be fixed by #10613
Open

Show/Hide Toggle for Stopped Prescriptions Not Working #10610

AdityaJ2305 opened this issue Feb 14, 2025 · 6 comments · May be fixed by #10613
Assignees
Labels
needs-triage question Further information is requested

Comments

@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Feb 14, 2025

Description

  • The show/hide toggle for stopped prescriptions on the Prescription tab is not functioning correctly.
  • It should behave the same way as the Medicine Administrator toggle.
  • Additionally, the Print button should be disabled when no medicine is prescribed.
  • There is no Back button on Print Preview, which should be added.

Expected Behavior

  1. The toggle for stopped prescriptions should properly show/hide stopped prescriptions.
  2. The Print button should be disabled when there are no prescribed medicines.
  3. A Back button should be available on Print Preview to allow easy navigation.

Steps to Reproduce

  1. Navigate to the Prescription tab.
  2. Try toggling stopped prescriptions—it doesn’t work as expected.
  3. Check the Print button when no medicine is prescribed—it should be disabled.
  4. Open Print Preview—there is no Back button.

Screen Recording

Screen.Recording.2025-02-14.at.4.46.10.PM.mov

Additional Info
Approved by @amjithtitus09

@AdityaJ2305
Copy link
Contributor Author

Hey team, I would like to work on it

@tellmeY18 tellmeY18 moved this to Triage in Care Feb 14, 2025
@tellmeY18 tellmeY18 added this to Care Feb 14, 2025
@tellmeY18 tellmeY18 moved this from Triage to In Progress in Care Feb 14, 2025
@AdityaJ2305
Copy link
Contributor Author

Additional Issue: The search bar is not functioning in the Prescriptions tab. @amjithtitus09 , could you review the expected behavior and confirm if any changes are needed?

@github-actions github-actions bot added needs-triage question Further information is requested labels Feb 14, 2025
@amjithtitus09
Copy link
Contributor

@AdityaJ2305 We are waiting on BE to support search but you could add FE filter for now

@AdityaJ2305
Copy link
Contributor Author

AdityaJ2305 commented Feb 14, 2025

@amjithtitus09, one more doubt 😅,

Currently, if all medicines are discontinued, the tab displays “NO Prescription” (Empty State). Is this the expected behavior? I don’t think so. especially when they are included in Print Prescription and Treatment Summary?

This seems like a bug. (Same behaviour is in Administer Medicine as well.)

@AdityaJ2305
Copy link
Contributor Author

AdityaJ2305 commented Feb 14, 2025

@AdityaJ2305 AdityaJ2305 linked a pull request Feb 14, 2025 that will close this issue
6 tasks
@amjithtitus09
Copy link
Contributor

@amjithtitus09, one more doubt 😅,

Currently, if all medicines are discontinued, the tab displays “NO Prescription” (Empty State). Is this the expected behavior? I don’t think so. especially when they are included in Print Prescription and Treatment Summary?

This seems like a bug. (Same behaviour is in Administer Medicine as well.)

@AdityaJ2305 Just change it to "No active prescriptions" and show current "No Prescription" when both are empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage question Further information is requested
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants