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

Restrict the prescribing of a new dosage if the previous dosage is still within the prescribed duration. #501

Open
Moricembiaji opened this issue Dec 31, 2024 · 2 comments
Labels
bug and new feature Something is not working and introduce new capability

Comments

@Moricembiaji
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The problem is the ability to prescribe a new dosage while the previous one is still active, which can lead to overmedication or dosage conflicts.

Describe the solution you'd like
This feature is necessary to prevent overmedication or conflicting dosages by ensuring that a new dosage cannot be prescribed until the previous one has expired, promoting patient safety and accurate medication management.

Additional context
image

@Moricembiaji Moricembiaji added the bug and new feature Something is not working and introduce new capability label Dec 31, 2024
@Moricembiaji Moricembiaji added this to the Bug fixes (Student 2024) milestone Dec 31, 2024
JohansenCoder added a commit to JohansenCoder/iCareConnect that referenced this issue Jan 16, 2025
@JohansenCoder
Copy link

-Bug Cause
The bug was caused by a missing validation check for null responses.

Solution
I added validation checks and implemented better error handling to address the issue."

Registration Numbers

  1. 2022-04-09686
  2. 2022-04-07909
  3. 2022-04-10338
  4. 2022-04-12685
  5. 2022-04-01731

Pull Request Link
#525

Alexioscreed added a commit to Alexioscreed/iCareConnect that referenced this issue Jan 16, 2025
ElionaRobinson added a commit to ElionaRobinson/iCareConnect that referenced this issue Jan 17, 2025
@Moricembiaji
Copy link
Collaborator Author

Moricembiaji commented Jan 17, 2025 via email

KaReeeeeeeeEM added a commit to KaReeeeeeeeEM/iCareConnect that referenced this issue Jan 19, 2025
…e (Issue udsm-dhis2-lab#501)

Implemented a check to ensure that a new dosage cannot be prescribed until the previous one has expired. This prevents overmedication or dosage conflicts, promoting patient safety and accurate medication management.
KaReeeeeeeeEM added a commit to KaReeeeeeeeEM/iCareConnect that referenced this issue Jan 19, 2025
…e (Issue udsm-dhis2-lab#501)

Implemented a check to ensure that a new dosage cannot be prescribed until the previous one has expired. This prevents overmedication or dosage conflicts, promoting patient safety and accurate medication management.
KaReeeeeeeeEM added a commit to KaReeeeeeeeEM/iCareConnect that referenced this issue Jan 19, 2025
…e (Issue udsm-dhis2-lab#501)

Implemented a check to ensure that a new dosage cannot be prescribed until the previous one has expired. This prevents overmedication or dosage conflicts, promoting patient safety and accurate medication management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug and new feature Something is not working and introduce new capability
Projects
None yet
Development

No branches or pull requests

2 participants