Print Page as PDF
ORQOUTL ICR (7349)

ORQOUTL    ICR (7349)

Name Value
NUMBER 7349
IA # 7349
FILE NUMBER 101.41
GLOBAL ROOT ORD(101.41
DATE CREATED 2022/08/16
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE ORQOUTL
NAME ORQOUTL
GENERAL DESCRIPTION
The original API was released with CPRS 31B and
modified a little bit in 32B for real time utilities that are using it. The
31B and 32B structures are as follows:

FINDQO(RESULT,INPUT,SUB,RETMENU,RETSTRCT) 31B version of the code
FINDQO(RESULT,INPUT,SUB,RETMENU,RETSTRCT,SPINNER,SKIPDIS) 32B version of the
code.
GLOBAL REFERENCE
GLOBAL REFERENCE FIELD NUMBER
ORD(101.41,'B'
FIELD NUMBER ACCESS FIELD DESCRIPTION FIELD NAME LOCATION
.01 Direct Global Read & w/Fileman
The Order Dialog Name.
NAME 0;1
ORD(101.41,D0,6,'D',D1
FIELD NUMBER ACCESS FIELD DESCRIPTION FIELD NAME LOCATION
.02 Direct Global Read & w/Fileman
This field is the pointer to the Order Dialog for this
Order Item.  PDM is using this look up to find the record in the Responses
Multiple for the Orderable Item.
POINTER TO ORDER DIA 6;2
.01 Direct Global Read & w/Fileman
PDM uses this field to insure the right entry is
retrieved by comparing this field to the Schedule file entry.
ORDER ITEM 6;1
ORD(101.41,D0,0
FIELD NUMBER ACCESS FIELD DESCRIPTION FIELD NAME LOCATION
5 Direct Global Read & w/Fileman
This is the pointer to the DISPLAY GROUP FILE (#100.98)
that has been defined for this Order Dialog.
DISPLAY GROUP 0;5
STATUS Active
KEYWORDS PDM
DURATION Till Otherwise Agreed
ID ORQOUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
FINDQO(RESULT,INPUT,SUB,RETMENU,RETSTRCT,SPINNER,SKIPDIS)
CPRS v31B: This API is designed to return all QO of a
certain type that allows the calling application to review the data.
VARIABLES TYPE VARIABLES DESCRIPTION
RESULT Output
Result is the output which is returns in ^TMP($J,SUB)
INPUT Input
Array of Order Dialogs to search for, for example if
looking for Outpatients Meds QO you will set it up like INPUTS("PSO OERR")=""
SUB Input
Sub is the subscript to return the results in a the
TMP global.
RETMENU Input
RETMENU set to either 0 or 1. If set to 1 will return
the list of Order Menu and Reminder Dialogs that is using the QO.
RETSTRCT Input
RETSTRCT set to either 0 or 1. Will return the QO
structure in the temp global this is basically a merge of the ORDIALOG array
into the TMP global. ORDIALOG array is the internal array used by all of OR.
SPINNER Input
SPINNER - Used in CPRS 32B version of this API.  Set
to 1 to write out a spinner as the API is searching for QO. Set to 0 to not
display a progress spinner.
SKIPDIS Input
SKIPDIS - Used in CPRS 32B version of this API.  Set
to 1 to have the API not return QO that are disabled. Set to 0 to have the API
return disable QO in the output.
SUBSCRIBING PACKAGE PHARMACY DATA MANAGEMENT
DATE ACTIVATED 2022/08/26