Print Page as PDF
DBIA5894 ICR (5894)

DBIA5894    ICR (5894)

Name Value
NUMBER 5894
IA # 5894
DATE CREATED 2013/01/24
CUSTODIAL PACKAGE REGISTRATION
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE DGSDU
NAME DBIA5894
GENERAL DESCRIPTION
This routine brings back encounter information for a
patient based on the input values defined by the calling application.
SCAN~DGSDU calls several supported APIs documented in ICR #2548.
STATUS Active
KEYWORDS DGSDU
DURATION Till Otherwise Agreed
ID DGSDU
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
SCAN
This call is used to query patient encounters.
VARIABLES TYPE VARIABLES DESCRIPTION
DGINDX Input
INDEX NAME PROPERTY OF THE QUERY OBJECT
DGVAL Input
Array of data elements for start/end of search.
DGVAL("DFN") = PATIENT DFN
DGVAL("BDT") = BEGIN DATE
DGVAL("EDT") = END DATE
DGVAL("VIS") = ENCOUNTER FILE IEN
DGFILTER Input
The executable code used to screen entries.
DGCBK Input
The executable scan callback code to create the
result set.
DGCLOSE Input
Flag that says whether or not to close the query
object.
1 = Perform close
0 or Null = Do not close object
DGQUERY Input
The number of current query, if not a new query. If
passed by reference and query closed, this variable will be nulled.

NOTE:  When using this call, the variable passed as DGQUERY must be newed or
killed in the calling program
DGDIR Input
The direction of the scan (optional).
Null, undefined or "FORWARD": Scans forwards.
"BACKWARD" : Scans backwards
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
BENEFICIARY TRAVEL
SCAN~DGSDU is called from Beneficiary Travel routine
DGBT2 to query and display Outpatient Encounter data elements for a patient on
Beneficiary Travel Claim Information <Screen 2>.
DATE ACTIVATED 2013/03/25