Print Page as PDF
Appointment List for a Patient API ICR (7080)

Appointment List for a Patient API    ICR (7080)

Name Value
NUMBER 7080
IA # 7080
DATE CREATED 2019/05/22
CUSTODIAL PACKAGE SCHEDULING
USAGE Controlled Subscription
TYPE Routine
ROUTINE SDEC50
NAME Appointment List for a Patient API
GENERAL DESCRIPTION
Returns a list of appointments for a patient for a date
range.  List may be all or only ancillary (Lab, X-ray, EKG) appointments.
STATUS Pending
DURATION Till Otherwise Agreed
ID SDEC50
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
FAPPTGET
VARIABLES TYPE VARIABLES DESCRIPTION
SDECY Output
Stores name of global array where results are
returned.

Line 0 of the array contains the following header:

T00020DFN ^ T00020CLINIC_IEN ^ T00030CLINIC_NAME ^ T00020APPT_DATE ^
T00020STATUS ^ T00100ANCTXT ^ T00030CONS ^ T00030IEN ^ T00030APPTYPE_IEN ^
T00030APPTYPE_NAME

All errors are returned as -1 ^ error text.

Successful calls populate the remaining lines in the array as follows:

DFN =          Patient (pointer to #2) CLINIC_IEN =   Clinic (pointer to #44)
CLINIC_NAME =  Clinic name (.01 field of file #44) APPT_DATE =    Appointment
date/time (external format) STATUS =       Appointment status (NO ACTION
TAKEN, CANCELLED BY PATIENT,
etc.) ANCTXT =       Time for ancillary work CONS =
Consult (pointer to #123) IEN =          Appointment (pointer to #409.84)
APPTYPE_IEN =  Appointment type (pointer to #409.1) APPTYPE_NAME = Appointment
type name (.01 field of file #409.1)
DFN Input
Patient (pointer to #2) REQUIRED
SDBEG Input
Beginning of date range (external format)  REQUIRED
SDEND Input
End of date range (external format)  REQUIRED
SDANC Input
Ancillary flag (0=all appointments, 1=ancillary
appointments only) OPTIONAL.  Default is 0.