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

(feat) KHP3-7230 : Implement configurable payment based access control for clinical services #517

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

donaldkibet
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • I checked for feature overlap with existing widgets.

Summary

ticket 👉🏽 https://thepalladiumgroup.atlassian.net/browse/KHP3-7230
Implements configurable payment enforcement periods for clinical services. Services like labs, medications, and imaging require payment before delivery, except for admitted patients.

Key changes:

  • Payment enforcement based on configurable duration since last bill
  • Payment prompt shows during enforcement period, hides after expiration
  • Automatic bypass for admitted patients (in-patient)

Example: With 24-hour enforcement period, system displays payment prompt for 24 hours after bill creation, then hides prompt

Screenshots

Kapture.2024-12-16.at.15.13.26.webm

Related Issue

None.

Other

None.

Copy link
Collaborator

@makombe makombe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @donaldkibet LGTM

Copy link
Contributor

@Murithijoshua Murithijoshua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @donaldkibet , hope the annotations from github workflows don't have an impact ?

@ojwanganto
Copy link
Contributor

Thanks, @donaldkibet

@ojwanganto ojwanganto merged commit d831224 into main Dec 16, 2024
4 checks passed
@ojwanganto ojwanganto deleted the KHP3-7230 branch December 16, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants