DSUP(PSOQX) |
This entry point will be used to return a default
Days Supply value to CPRS, based on the patient and the drug selected in the
medication order entry process.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSOQX('PATIENT') |
Input |
This is equal to the internal entry number of the
patient from the PATIENT file (#2).
|
PSOQX('DRUG') |
Input |
This is equal to the internal entry number of the
drug from the DRUG file (#50).
|
PSOQX('DAYS SUPPLY') |
Output |
This is the default Days Supply value.
|
|
MAX(PSOQX) |
This entry point will be used to return a default
Maximum Refills value to CPRS, based on the Patient, Drug, and Days Supply
selected in the medication order entry process.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSOQX('PATIENT') |
Input |
This is equal to the internal entry number of the
patient from the PATIENT file (#2).
|
PSOQX('DRUG') |
Input |
This is equal to the internal entry number of the
drug from the DRUG file (#50).
|
PSOQX('DAYS SUPPLY') |
Input |
This is equal to the Days Supply of the medication
order.
|
PSOQX('MAX') |
Output |
This is the default Maximum Refills value.
|
PSOQX('DISCHARGE') |
Input |
This variable will be set to 1 if this order is an
Outpatient order that is being entered for an Inpatient, or if these are
Inpatient orders being transferred to Outpatient for discharge.
|
|