Print Page as PDF
DBIA1030-A ICR (1030)

DBIA1030-A    ICR (1030)

Name Value
NUMBER 1030
IA # 1030
DATE CREATED 1994/11/09
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSOBBC
NAME DBIA1030-A
ORIGINAL NUMBER 1030
GENERAL DESCRIPTION
These entry points can be used to batch process
prescriptions received via telecommunications.
STATUS Active
DURATION Till Otherwise Agreed
ID PSOBBC
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ASK
VARIABLES TYPE VARIABLES DESCRIPTION
PSOINST Input
This is the site number for the site running the
Outpatient Pharmacy package.
PSOBBC("QFLG") Both
This flag is set equal to 0 as input and equal to 1
as output if an up-arrow is entered or timeout occurs at the Suspense,
Inpatient, or Early Refill prompts.
PSOBBC("DFLG") Both
This flag is set equal to 0 as input and equal to 1
as output if an up-arrow, null, or erroneous data is entered or if timeout
occurs at the Fill Date, Mail/Window, or Clerk prompts.
PSOBBC("FROM") Input
This must be set equal to REFILL. Otherwise the
telephone refills will not be processed.
PROCESSX
VARIABLES TYPE VARIABLES DESCRIPTION
PSOBBC("QFLG") Input
This flag, if set equal to 1, will result in this
entry point being called to queue labels to print and clean up variables.
PT
VARIABLES TYPE VARIABLES DESCRIPTION
PSODFN Output
This is the pointer to the Patient file for the
patient.
PSOBBC("DFLG") Both
This flag is set equal to 0 as input and equal to 1
as output if the patient is either an Inpatient, Nursing Home Patient, or
Deceased.
REFILL
VARIABLES TYPE VARIABLES DESCRIPTION
PSOBBC("DONE") Input
This is the internal entry number of the
prescription.
PSOBBC("DFLG") Both
This flag is set equal to 0 as input and to 1 as
output if the refill is not successful.
PTC
This entry point does some checks on the patient to
see if a prescription can be refilled for this patient.
VARIABLES TYPE VARIABLES DESCRIPTION
PSODFN Input
This is the pointer to the Patient File for the
patient. This value remains unchanged.
PSOBBC(DFLG) Output
Upon return from PTC^PSOBBC, the variable
PSOBBC("DFLG") will be equal to 1 if the prescription cannot be filled for any
of the following 3 reasons.

1)The patient has died.
2)The patient is an inpatient, and inpatient fills are currently not
allowed through this process.
3)The patient is in a Contract Nursing Home, and Contract Nursing Home
fills are currently not allowed through this process.
SUBSCRIBING PACKAGE