Print Page as PDF
PROMPT USER FOR DIVISION ICR (5901)

PROMPT USER FOR DIVISION    ICR (5901)

Name Value
NUMBER 5901
IA # 5901
DATE CREATED 2013/03/04
CUSTODIAL PACKAGE TEXT INTEGRATION UTILITIES
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE TIULA
NAME PROMPT USER FOR DIVISION
GENERAL DESCRIPTION
Routine TIULA calls Registration routine VAUTOMA (ICR
#664) to prompt the user for one, many or all Medical Center (#40.8)
divisions.  If one or many divisions are selected, routine TIULA modifies the
array returned by DIVISION~VAUTOMA to return the IEN from the Institution (#4)
file for the selected division(s).
STATUS Active
KEYWORDS DIVISION
DURATION Till Otherwise Agreed
ID TIULA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
SELDIV
VARIABLES TYPE VARIABLES DESCRIPTION
SELDIV Output
The return status of the call. Possible values are:
-1  The user entered a caret at the prompt if
the site is multidivisional
0  The INSTITUTION file (#4) pointer is missing
for the division(s) returned in BADDIV
1  Successful selection of one or more
divisions
BADDIV Output
Comma delimited list of MEDICAL CENTER DIVISION file
entries selected by the user that do not have a corresponding entry in the
INSTITUTION file.
TIUDI Output
Array containing the selected division(s). The array
will be undefined if the user did not enter any selections at the prompt,
which means the user wants all divisions, or the user entered a caret at the
prompt if the site is multidivisional. The array will be defined if the user
selects one or more (but not all) divisions or the site is not
multidivisional. The array is formatted as follows:

TIUDI(FILE #40.8 IEN)=CORRESPONDING FILE #4 IEN
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING
DATE ACTIVATED 2013/04/10