Print Page as PDF
SDAMEVT ICR (5838)

SDAMEVT    ICR (5838)

Name Value
NUMBER 5838
IA # 5838
DATE CREATED 2012/08/30
CUSTODIAL PACKAGE SCHEDULING
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SDAMEVT
NAME SDAMEVT
GENERAL DESCRIPTION
THE [VETERAN POINT OF SERVICE] CHECK-IN RPC CALLS
BEFORE,HANDLE, AFTER, AND EVT IN SDAMEVT TO ENSURE THAT ALL OTHER PROCESSES
REQUIRING NOTIFICATION OF THE CHECK-IN ACTIVITY ARE NOTIFIED.

Parameters in the RPC have the following mapping for VPS:
VPSDT   -> SDT   Patient's appt. date and time.
VPSCLIN -> SDCL  IEN of clinic in HOSPITAL LOCATION file #44
VPSCIEN -> SDDA  IFN for ^SC(CLINIC,"S",DATE,1,IFN)
SDCIHDL -> SDHDL Event handle
STATUS Active
KEYWORDS VPS
DURATION Till Otherwise Agreed
ID SDAMEVT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
BEFORE
Capture ^SC( appointment data before processing the
event.
VARIABLES TYPE VARIABLES DESCRIPTION
SDATA Input
String with format
"ApptIEN^PatDFN^ApptDate/Time^ClinicIEN^CurEvtHandle"
DFN Input
IEN of Patient in file #2.
SDT Input
Patient's appointment date/time.
SDCL Input
IEN of clinic in HOSPITAL LOCATION file #44.
SDDA Input
IFN for ^SC(CLINIC,"S",DATE,1,IFN).
SDHDL Input
Event handle returned by HANDLE^SDAMEVT for and
appointment event.
TMP Output
Routine creates 2 temporary globals:
^TMP("SDAMEVT",$J,"BEFORE")
^TMP("SDEVT",$J,"BEFORE") and SDATA array element SDATA("BEFORE")
AFTER
Capture ^SC( appointment data after processing the
event.
VARIABLES TYPE VARIABLES DESCRIPTION
SDATA Input
String with format
"ApptIEN^PatDFN^ApptDate/Time^ClinicIEN^CurEvtHandle
DFN Input
Patient's IEN in PATIENT file 2.
SDT Input
Patient's appointment date/time.
SDCL Input
IEN of clinic in HOSPITAL LOCATION file 44.
SDDA Input
IEN of clinic in HOSPITAL LOCATION file 44.
SDHDL Input
Event handle returned by HANDLE^SDAMEVT for an
appointment event.
TMP Output
Routine creates 2 temporary globals:
^TMP("SDAMEVT",$J,"AFTER")
^TMP("SDEVT",$J,"AFTER") and SDATA array element SDATA("AFTER")
HANDLE
Get a handle for the current event.
VARIABLES TYPE VARIABLES DESCRIPTION
SDORG Input
Originating transaction:
1=Appointment
2=Add/edit stop code
3=Registration/disposition
Y Output
Index into array element with value of
^TMP("SDEVTHANDLE",$J).
EVT
Call the Scheduling event handlers in ^ORD(101.
VARIABLES TYPE VARIABLES DESCRIPTION
SDATA Input
String in format
"ApptIEN^PatDFN^ApptDate/Time^ClinicIEN^CurEvtHandle"
SDAMEVT Input
Literal value 4, corresponding to a check-in event.
SDMODE Input
Parameter with the conversation mode from caller
0=full dialogue
1=computer monologue
2=quiet
SDHDL Input
Event handle returned by HANDLE^SDAMEVT for an
appointment event.
HDLKILL
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
VA POINT OF SERVICE (KIOSKS)
THE [VETERAN POINT OF SERVICE] CHECK-IN RPC CALLS
BEFORE,HANDLE, AFTER, AND EVT IN SDAMEVT TO ENSURE THAT ALL OTHER PROCESSES
REQUIRING NOTIFICATION OF THE CHECK-IN ACTIVITY ARE NOTIFIED.

Parameters in the RPC have the following mapping for VPS:
VPSDT   -> SDT   Patient's appt. date and time.
VPSCLIN -> SDCL  IEN of clinic in HOSPITAL LOCATION file #44
VPSCIEN -> SDDA  IFN for ^SC(CLINIC,"S",DATE,1,IFN)
SDCIHDL -> SDHDL Event handle
MOBILE SCHEDULING APPLICATIONS SUITE
MBAA CANCEL APPOINTMENT RPC and MBAA APPOINTMENT MAKE
RPC call the HANDLE, BEFORE, AFTER and EVT entry points in routine SDAMEVT
when an appointment is cancelled or scheduled 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 CANCEL and MAKE entry points in routine
SDAMEVT as documented in ICR #6048.
DATE ACTIVATED 2012/10/12