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 |
|
|