MEDPRO |
Allow ECME routine to access Medication Profile
information from Outpatient Pharmacy. The MEDPRO procedure does not have any
output variables, per se, but instead builds display lines in the ^TMP global
which are then merged by the ECME routine into another section of the ^TMP
global to be used by ListMan.
This procedure populates the ^TMP("PSOPMP0",$J) global with the medication
profile of a given patient. Each line is free text. There can be up to 9
sections: REFILL TOO SOON/DUR REJECTS, OTHER REJECTS PENDING RESOLUTION,
CURRENT ORDERS, PENDING, NON-VA MEDS, ACTIVE, DISCONTINUED, HOLD and
NON-VERIFIED.
Each section will have one header line and one or more lines of prescriptions.
Each prescription line will contain the following values: Prescription#, Drug
Name, Quantity, Status, Issue Date, Fill Date, Refills Remaining and Days'
Supply.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RXIEN |
Input |
Prescription IEN, pointer to file# 52.
|
FILL |
Input |
Fill number (0 for original fill).
|
|