Print Page as PDF
MBAA SDAMEVT API CALLS ICR (6048)

MBAA SDAMEVT API CALLS    ICR (6048)

Name Value
NUMBER 6048
IA # 6048
DATE CREATED 2014/04/23
CUSTODIAL PACKAGE SCHEDULING
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SDAMEVT
NAME MBAA SDAMEVT API CALLS
GENERAL DESCRIPTION
The Scheduling Calendar View application uses APIs in
the SDAMEVT routine to handle scheduling events.

API:

CANCEL^SDAMEVT - This API is used to log or trigger events when an appointment
is canceled. The API is called from routines MBAAMAP2 and MBAARPC2 and the RPC
is MBAA CANCEL APPOINTMENT.

MAKE^SDAMEVT - This API is used to log or trigger events when an appointment
is made. The API is called from routine MBAAMAP2 and the RPC is MBAA
APPOINTMENT MAKE.
STATUS Active
ID SDAMEVT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CANCEL
The MBAAMAP2 and MBAARPC2 routines call this API to
handle scheduling events pertaining to cancelling appointments. The RPC is
MBAA CANCEL APPOINTMENT.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN
SDT Input
Date and time for the appointment.
SDCL Input
Pointer for the clinic in the Hospital Location file
(#44).
CIFN Input
The IEN of the appointment record in the Appointment
Multiple of the Hospital Location file (#44).
SDHDL Input
The event handle type.
SDMODE Input
SDATA Input
This is a list of the before values of the
appointment before it is canceled. The list of data is pulled from the
Hospital Location File (#44) and the Patient File (#2), the appointment
multiple in each of these files.
MAKE
The MBAAMAP2 routine call this API to handle
scheduling events pertaining to making appointments. The RPC is MBAA
APPOINTMENT MAKE.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN
SDT Input
The date and time for the appointment.
SDDA Input
Pointer to the Clinic in the Hospital Location file
(#44)
SDCL Input
The IEN of the Appointment record in the Appointment
Multiple of the Hospital Location file (#44).
CLILN
SDMODE Input
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
MOBILE SCHEDULING APPLICATIONS SUITE
MBAA CANCEL APPOINTMENT RPC and MBAA APPOINTMENT MAKE
RPC call the MAKE and CANCEL entry points in routine SDAMEVT when an
appointment is scheduled or cancelled using the Scheduling Calendar View
application.  The Scheduling Calendar View application is a new mobile
application that provides scheduling functionality via mobile devices such as
an IPad, tablet or smart phone.

Additionally, these RPCs call the HANDLE, BEFORE, AFTER and EVT entry points
in routine SDAMEVT as documented in ICR #5838.
DATE ACTIVATED 2015/02/24