$$PRE(PSSLGTOI,PSSDIAG) |
This component uses the selected Pharmacy Orderable
Item from Computerized Patient Record System (CPRS) and the dialogue being
used (Unit Dose, IV, Outpatient or Non-VA Med), and determines whether order
checks should be done on the order. This call should not be used if the
Orderable Item is marked as an Additive when entering the order from the IV
Fluids dialogue.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSSLGTOI |
Input |
This is the internal entry number from the Pharmacy
Orderable Item (#50.7) File.
|
$$PRE |
Output |
This value is a '1' or a '0'. A '1' indicates order
checks should be done on the order that is being entered with this Orderable
Item.
|
PSSDIAG |
Input |
This is the CPRS order dailogue (U:Inpatient;I:IV
Fluids;O:Outpatient;N:Non VA Meds).
|
|
$$CONV(PSSCVTVL) |
This component converts a number that represents
'hours' into a valid Schedule or Frequency.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSSCVTVL |
Input |
This is numeric value representing the number of
hours.
|
$$CONV |
Output |
This output represents a Schedule in the form of Q#H
for an input of 1 or greater, using standard rounding logic to a whole number,
or it represents Frequency per day for an input of less than 1, also using
standard rounding logic to a whole number. For example, if 10.5 is passed in,
the result would be Q11H. If .5 is passed in, the result would be 48.
|
|