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

Dispensing: Payments Modal Improvements #6419

Open
8 tasks
GeronimoJohn opened this issue Feb 4, 2025 · 0 comments
Open
8 tasks

Dispensing: Payments Modal Improvements #6419

GeronimoJohn opened this issue Feb 4, 2025 · 0 comments
Labels
feature: dispensing Team Piwakawaka James, Carl, John, Zachariah
Milestone

Comments

@GeronimoJohn
Copy link
Contributor

GeronimoJohn commented Feb 4, 2025

Payments Modal

This depends on #6176

The mentioned PR creates the required modal. The main focus of this ticket is to add additional input fields related to patient insurances.

This modal will display the total amount to pay and allow the user to select insurance details. This issue will cover the following input fields: insuranceScheme, amountCovered, and discountRate.

Image

The insurance data in this modal will be saved in mSupply insurance fields (they'll need to be added to the invoice table)
Image

This modal will be extendable via a plugin in future.

Other data might be saved by plugins, such as amount paid, this will be only available via plugin data.

Notes

Tasks

  • The insurance policy selected should be synced to mSupply as nameInsuranceJoinId
  • The amount paid by insurance should be synced to mSupply as insuranceDiscountAmount
  • The discount percentage from the selected policy should be synced to mSupply as insuranceDiscountRate

Acceptance Criteria 🧾

  • When there's a 0 cost for the prescription, no Payment window shows on finalise
  • If there are no insurance providers configured, no Payment window shows on finalise
  • Payment window shows correct total price for the prescription
  • The user can select an insurance policy (if configured for the current patient)
  • Insurance policy should show the discount rate and policy type (Family or Personal)

Epic Link 🔗

#6000

Moneyworks Jobcode 🧰

OMS:CIDV

@GeronimoJohn GeronimoJohn added feature: dispensing Team Piwakawaka James, Carl, John, Zachariah labels Feb 4, 2025
@GeronimoJohn GeronimoJohn added this to the v2.6.0 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dispensing Team Piwakawaka James, Carl, John, Zachariah
Projects
None yet
Development

No branches or pull requests

1 participant