Print Page as PDF
APPOINTMENT DATA BY PATIENT ICR (3859)

APPOINTMENT DATA BY PATIENT    ICR (3859)

Name Value
NUMBER 3859
IA # 3859
DATE CREATED 2002/12/12
CUSTODIAL PACKAGE SCHEDULING
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SDAMA201
NAME APPOINTMENT DATA BY PATIENT
GENERAL DESCRIPTION
This DBIA contains a list of the supported calls for
interaction with Appointment data contained in the Patient appointment
sub-file 2.98 and the Hospital Location appointment sub-file 44.001.  This
DBIA is associated with Scheduling patch SD*5.3*275, to be released to NVS on
1/10/03.

The supported calls are:

GETAPPT^SDAMA201 and  $$NEXTAPPT^SDAMA201
STATUS Active
ID SDAMA201
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETAPPT
A call to this entry point will return appointment
data for a specific patient.
VARIABLES TYPE VARIABLES DESCRIPTION
SDIEN Input
Patient ID
SDFIELDS Input
Appointment fields requested
SDAPSTAT Input
Appointment Status filter (optional parameter)
SDSTART Input
Start date for appointment search (optional
parameter)
SDEND Input
End date for appointment search (optional parameter)
.SDRESULT Input
Variable to contain the count of returned
appointments (optional parameter)
SDIOSTAT Input
Patient Status filter (optional parameter)
TMP($J,SDAMA201,GETAPPT) Output
The output array ^TMP($J,"SDAMA201","GETAPPT",X,Y)
will contain the requested appointment data.  Output array
^TMP($J,"SDAMA201","GETAPPT","ERROR",error_code) will contain any errors that
were generated.

The calling application is responsible for deleting the temporary globals when
they have finished processing the appointment data or errors.
SDRESULT Output
A count of the returned appointments
$$NEXTAPPT
A call to this entry point will return appointment
data for the NEXT appointment for a specific patient.
VARIABLES TYPE VARIABLES DESCRIPTION
SDIEN Input
Patient ID
SDFIELDS Input
Appointment fields requested
SDAPSTAT Input
Appointment Status filter (optional parameter)
SDIOSTAT Input
Patient Status filter (optional parameter)
$$NEXTAPPT Output
-1 if error 0 if no future appointment found 1 if
future appontment found
TMP($J,SDAMA201,NEXTAPPT) Output
The output array ^TMP($J,"SDAMA201","NEXTAPPT",X,Y)
will contain the requested appointment data.  Output array
^TMP($J,"SDAMA201","NEXTAPPT","ERROR",error_code) will contain any errors that
were generated.

The calling application is responsible for deleting the temporary globals
when they have finished processing the appointment data or errors.
SDRESULT Output
A count of the returned appointments
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
ENROLLMENT APPLICATION SYSTEM
CLINICAL REMINDERS
DIETETICS
AUTOMATED MED INFO EXCHANGE
VA CERTIFIED COMPONENTS - DSSI
MYHEALTHEVET
added 9/15/08
NATIONAL HEALTH INFO NETWORK
EVENT CAPTURE