Print Page as PDF
DBIA3237 ICR (3237)

DBIA3237    ICR (3237)

Name Value
NUMBER 3237
IA # 3237
DATE CREATED 2000/10/30
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOSIG
NAME DBIA3237
GENERAL DESCRIPTION
This call, provided by Outpatient Pharmacy, will return
a default Quantity value or a default Days Supply to CPRS for the Outpatient
medication order entry process through CPRS. A value will only be returned if
a value can appropriately be determined, based on data passed into the call.
If a Quantity value is not received in this call, then a default Quantity
value will be calculated. If a Quantity value is received in this call, then a
default Days Supply value will be calculated.
STATUS Active
ID PSOSIG
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
QTYX(PSOQX)
This entry point will be used by CPRS to determine if
a default Quantity value or a default Days Supply value can be assigned to an
Outpatient order that is being entered through CPRS.
VARIABLES TYPE VARIABLES DESCRIPTION
PSOQX('DOSE ORDERED',#) Input
This array holds the number of Dispense Units per
Dose for each dosing sequence entered during the medication order entry
process in CPRS.
PSOQX('DURATION',#) Input
This array holds the durations for each dosing
sequence entered during the medication order entry process in CPRS. It is in
the form of:

S<integer> for # of seconds.  M<integer> for # of minutes.  H<integer> for #
of hours.  D<integer> for # of days.  W<integer> for # of weeks.  L<integer>
for # of months.

If only a numeric is passed in, then Days will be assumed.
PSOQX('SCHEDULE',#) Input
This array holds the schedules associated with each
dosing sequence entered during the medication order entry process in CPRS.
PSOQX('DAYS SUPPLY') Output
If the PSOQX("QTY") variable is defined when the call
is made, then the PSOQX("DAYS SUPPLY") variable will be used to calculate a
default Quantity value. If the PSOQX("QTY") variable is not defined when the
call is made, then the PSOQX("DAYS SUPPLY") variable will be the output
variable that contains the default Days Supply value, if a value is able to be
determined.
PSOQX('QTY') Output
If this variable is defined when the call is made,
then it will be used to calculate a default Days Supply value. If this
variable is not defined when the call is made, this will be the output
variable that contains the default Quantity value, if a value is able to be
determined.
PSOQX('PATIENT') Input
This variable will only be used when calculating a
default Days Supply. It is equal to the internal entry number of the patient
from the PATIENT file (#2).
PSOQX('DRUG') Input
This variable will only be used when calculating a
default Days Supply. It is equal to the internal entry number of the drug from
the DRUG file (#50).
PSOQX('CONJUNCTION',#) Input
This array holds the conjunctions for each dosing
sequence, 'A' for And, 'T' for Then.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
ORDER ENTRY/RESULTS REPORTING Salt Lake City
VISTA INTEGRATION ADAPTOR
Access will be used by VIABDPS2 OISLCT RPC for VIA's
OrderMgmtSvc - getMedOrderableItemDefaults