You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the system has any insurance providers setup & if the invoice total is > 0, when clicking the finalise button, show a payments modal.
This modal will show the total to pay, and allow the user to select the insurance details
The insurance data in this modal will be saved in mSupply insurance fields (they'll need to be added to the invoice table)
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.
If store pref Receive payments from prescription window is enabled, instead of the current Confirm Verified button, show a Pay button that opens a modal with the payment workflow.
Notes
Add dedicated Payments
Add a panel dedicated to price split showing the total price of the prescription (sell price per item x units)
Total to be paid by patient
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)
The amount paid will recorded as a cash_in transaction in OMS = invoice
Given the desire to not create cash_in transactions, we're looking at storing the data as plugin data
Also evaluating if we can do this as a plugin, as we don't have global prefs implemented...
The PR above sets up the necessary groundwork to render various text fields in the payments modal. This modal will only be displayed when the cost is greater than $0 upon finalise/verified. Currently, it only shows the total amount that a patient is required to pay.
The rest of the text fields - Insurance Scheme, % Covered, Total to be paid by insurance can be added once #6289 have been worked on
Payments Modal
If the system has any insurance providers setup & if the invoice total is > 0, when clicking the finalise button, show a payments modal.
This modal will show the total to pay, and allow the user to select the insurance details
The insurance data in this modal will be saved in mSupply insurance fields (they'll need to be added to the invoice table)
![Image](https://private-user-images.githubusercontent.com/8287373/407121981-94ab911c-ecbf-4c6f-ab14-f54c79e12b98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjgyNjIsIm5iZiI6MTczOTE2Nzk2MiwicGF0aCI6Ii84Mjg3MzczLzQwNzEyMTk4MS05NGFiOTExYy1lY2JmLTRjNmYtYWIxNC1mNTRjNzllMTJiOTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDYxMjQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWJlN2JmMTI5ZmJlYWQ3MGYzYmMzOTNlNzNkMWMwMTE1MjBjNmJmZjY2MTVhMmUzNDcwNWRjY2NhOTNkNzZmMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.G81IY-mA3SSfAM5lvUV8Q527s-lLo2D3UdmUP_lZxQA)
Other data might be saved by plugins, such as amount paid, this will be only available via plugin data.
If store prefReceive payments from prescription window
is enabled, instead of the currentConfirm Verified
button, show aPay
button that opens a modal with the payment workflow.Notes
Add dedicated Payments
Add a panel dedicated to price split showing the total price of the prescription (sell price per item x units)
Tasks
nameInsuranceJoinId
insuranceDiscountAmount
insuranceDiscountRate
Acceptance Criteria 🧾
Epic Link 🔗
#6000
Moneyworks Jobcode 🧰
OMS:CIDV
The text was updated successfully, but these errors were encountered: