Problem Summary:
The billing simulation (Admin-->Simulation OHIP File) fails if the version code for a patient's heath card is invalid (e.g. if you put something like '##' in it) but it does not indicate which invoice the problem is in. For other errors, it will fail but it provides an indication of which billing the error is in by writing a message in the "Comment" field. Screenshot attached.
Expected Result:
The simulation should fail but it should indicate which invoice the problem is in.
Actual Result:
The simulation fails but it does not indicate which invoice the problem is in.
Steps to Reproduce:
(1) Open the demographic for a patient.
(2) Put '##' in the version code for the heath card.
(3) Save the demographic.
(4) Bill an appointment for the patient to OHIP.
(5) Go to Admin-->Simulation OHIP File and run a simulation.
(6) The simulation will fail indicating "Header 1: Ver. code wrong!" but it will not indicate which invoice contains the error.
Reproduced In:
12_1 Deb 362 (fresh install) + Ubuntu 12 LTS (fresh install)
Additional Information:
Hi Victor. I notice that this one was changed to a resolution of "postponed". Is there a reason why it has been postponed?
Hello Kris.
Yes, I had exchanged emails with you last week on this topic. I just resent last dialogue to your inbox.
I need a valid test case the demonstrates correct handling of validation message in the comment field in order to proceed.
Same error occurs. It can be produced also by putting a space before the version code on the master. For example " R", or " FV". Error will result but without specifying the invoice at which it occured.
Diff:
Hi Victor. Looking through the comment history, I didn't see any comments about setting this to postponed so I set it back to open-accepted in case it was a mistake.
trunk commit:
https://source.oscartools.org:8080/#/c/10295/
12_1 commit:
https://source.oscartools.org:8080/#/c/10296/
Validated in 12_1 Deb 385...changing status to closed-fixed