Print Page as PDF
OUTPATIENT ENCOUNTER SEARCH ICR (2351)

OUTPATIENT ENCOUNTER SEARCH    ICR (2351)

Name Value
NUMBER 2351
IA # 2351
DATE CREATED 1998/03/26
CUSTODIAL PACKAGE INTEGRATED BILLING
CUSTODIAL ISC Albany
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE IBSDU
NAME OUTPATIENT ENCOUNTER SEARCH
GENERAL DESCRIPTION
IBSDU is a routine I written for IB that provides a
generic interface to the ACRP APPLICATION INTERFACE TOOL (AIT) introduced by
Scheduling patch SD*5.3*131.  The particular function that AICS needs is the
'SCAN' functionality that allows for a search for data in the encounter file
without using the now prohibited direct file access.
STATUS Active
DURATION Till Otherwise Agreed
ID IBSDU
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
SCAN
This entrypoint uses the ACRP Applications Interface
Tools (AIT) to scan through a date or date range and find encounter data for
one or more patients.  It is parameter driven.
VARIABLES TYPE VARIABLES DESCRIPTION
IBINDX Input
The index name 'property' of the Outpaitent Encounter
Query object.  This is how the query will be scanned - by patient, patient and
date, date or by encounter. This determines the the cross reference to be used
to perform the scan.

VALID VALUES:
PATIENT        =  individual patient
PATIENT/DATE   =  individual patient and date or date range
DATE/TIME      =  date or date range
VISIT          =  individual encounter
IBVAL Input
This is an array containing the actual values to use
to scan the Outpatient Encounter Query object:

IBVAL("DFN") = Patient ien
IBVAL("BDT") = Earliest date/time to start scan
IBVAL("EDT") = Last date/time to include in the scan
IBVAL("VIS") = Encounter ien
IBFILTER Input
The executable code to be used to filter (screen)
entries when scanning using the Outpatient Encounter Query object.  Unless the
Call Back logic is very complicated and time consuming, it is more efficient
to add an 'IF' statement to the Call Back logic than to use the FILTER
property.
IBCBK Input
This is the code that is executed for every
outpatient encounter found during the execution of the Outpatient Encounter
Query object's SCAN event that passes the 'filter' logic, if any.  This
directs the object as to what it should do with each valid encounter it finds.

IBCLOSE Input
This is a flag that stipulates whether the Query
object should be closed once the scan is completed.  Due to the overhead of
setting up the Outpatient Encounter Query object, it should not be opened and
closed each time it is called if it is being used to 'loop'.  The first 'scan'
would open the Query and the last one would indicate to close it.

Valid Values:
0 (or null) - DO NOT CLOSE QUERY
1 - CLOSE QUERY ON COMPLETION
IBQUERY Both
The number coresponding to the Outpatient Encounter
Query object that needs to be executed.  This parameter is optional for a
Query that is being closed and will not be reused. If passed by reference and
the object is not requested to close, the value returned can be used for
subsequent calls to the object to avoid the overhead associated with the
opening of a Query object.
IBDIR Input
This is a flag [optional] that specifies the
direction of the search.

VALID VALUES:
FORWARD or null - Scan from first to last      (default if undefined)
BACKWARD        - Scan from last to first
IBZXERR Input
This is the name of the array that will be returned
containing any errors found during the SCAN.  If this variable is not defined,
no errors will be returned.  All errors returned are in the same format as the
errors returned in the Fileman database server calls.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
AUTOMATED INFO COLLECTION SYS Albany
ACCOUNTS RECEIVABLE