Print Page as PDF
$$FIND API in SDAM2 ICR (6181)

$$FIND API in SDAM2    ICR (6181)

Name Value
NUMBER 6181
IA # 6181
DATE CREATED 2015/03/18
CUSTODIAL PACKAGE SCHEDULING
USAGE Private
TYPE Routine
ROUTINE SDAM2
NAME $$FIND API in SDAM2
GENERAL DESCRIPTION
To support delivery of the Insurance Verification
Processor (IVP) project, which is part of Integrated Billing application,
access to the API $$FIND^SDAM2() is requested in order to find all the
appointments for a patient on a given date.

The input data will be 3 required data elements as follows: the patient's DFN,
date/time of the appointment (FileMan format), and the clinic's internal entry
number (IEN). The data of the input will be determined by the IVP software
based on the IVP Daily Appointment Worklist information.  This API is called
by IVP code to get IEN of the sub file (#44.003), which is required to call
SDAMEVT APIs and to update the appointment entry properly.

Data input: 3 variables defined as follows: DFN - Patient's IEN from PATIENT
file (#2) SDT - Date/Time for the appointment in the File Man format SDCL -
clinic IEN from the HOSPITAL LOCATION FILE (#44)

Data output ($$FIND return value): If 0, no appointment was found and the
patient is notified.  If > 0, then applicable appointment for that day is
passed back as IEN of the sub file (#44.003) of the sub file (#44.001) of the
file (#44).
STATUS Withdrawn
KEYWORDS IVP
DURATION Till Otherwise Agreed
ID SDAM2
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$FIND
Returns appointment information for a patient and
clinic on a given date.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
The patient's DFN.
SDT Input
Date/time for appointment in FileMan internal format.

SDCL Input
IEN of the clinic.
$$FIND Output
IEN for the patient's appointment (if any) - IEN of
the sub file (#44.003) of the sub file (#44.001) of the file (#44). Returns 0
if not found.
SUBSCRIBING PACKAGE INTEGRATED BILLING