New UI_ Saving invalid Health card number
open source web-based Electronic Medical Record (EMR) system
Brought to you by:
davidhcchan,
jaygallagher
I can hook up the HCV (Health Card Validation) procedure with Patient Details save. However,
If the HCV is not set-up, or checked off in oscar.properties, or is offline, what should we do with the scenario?
A simple method is to pop up a warning message and let go. But this will caused disruption on user workflow. And it will also affect HC number previously validated.
A more complex method is to add a field to record the HC status (valid, unknown, expired) and only fire up the HCV for unknown/expired status. But this will require changing the database.
The reason why I don't want to re-implement the old-UI format-checking code is because I don't know if they are legitimate anymore. Everywhere I searched for HCV returns the one and only HCV service provided by the Ministry. Also, the old checking only works for ON health cards.
Fixed
Master commit: https://source.oscartools.org:8080/12297
RELEASE_15_BETA commit: https://source.oscartools.org:8080/12298
Re-tested Master and R15_Beta -> issue has been resolved