| DESCRIPTION OF ENHANCEMENTS |
When editing the drug of a prescription using the Patient Prescription
orderable item with active/suspended status.
These occurrences are very rare and it could lead to the following:
1. As reported in NOIS MAN-1200-11563, the patient profile could change
to that of another patient and result in dispensing drugs to the wrong
patient (action 1 above).
2. As reported in NOIS MAN-0101-10680, it could end up patients having
duplicate drugs in their medical profile (action 2 above).
This patch ensures that the TMP("PSORXDC",$J) global is killed
accordingly.
Processing [PSO LM BACKDOOR ORDERS] option, the TMP("PSORXDC",$J) global
created to store the duplicate prescription(s) that was requested to be
discontinued does not get deleted if either of the following action was
taken:
1. If the edit was terminated by up-arrowing at the point of accepting
a new prescription.
2. If the dispensed drug is changed to a drug which already exists in
the medical profile (in another prescription) that is tied to the same
|