SDAMEVT ;ALB/MJK - Appt Event Driver Utilities ; 12/1/91 [ 09/19/96 1:39 PM ]
Source file <SDAMEVT.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
BEFORE(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ; -- get before values
|
|
AFTER(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ; -- get after values
|
|
HANDLE(SDORG) | ; -- get evt handle
; SDORG = originating process (1=appt , 2=a/e , 3=disp) |
|
CLEAN(SDHDL) | ;
|
|
HDLKILL | ; -- kill off handle data
|
|
CAPTURE(SDCAP,SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ;
|
|
EVT(SDATA,SDAMEVT,SDMODE,SDHDL) | ; -- calls the sdam event protocol
|
|
EVTQ | ||
MAKE(DFN,SDT,SDCL,SDDA,SDMODE) | ; -- make appt event #1
|
|
CANCEL(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) | ; -- cancel event #2
|
|
NOSHOW(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) | ; -- no-show event #3
|
|
OE(SDCAP,SDORG,SDOE,SDHDL) | ; -- set up encounter data
|
|
OEQ | ||
OECHG(SDORG,SDHDL) | ; -- compare befores and afters
|
|
OEVT(SDOE,SDCAP,SDHDL,SDATA,SDOE0) | ; -- event driver calls by oe
; SDATA only required for appts ; SDOE0 only required for check out deletion AFTER |
|
OEVTQ |
Name | Field # of Occurrence |
---|---|
NOW^%DTC | MAKE+9 |
$$STATUS^SDAM1 | CAPTURE+4 |
ONE^SDAM2 | MAKE+16 |
OENUL^SDAMEVT1 | CANCEL+2, NOSHOW+2 |
BEFORE^SDAMEVT2 | OEVT+10 |
EVT^SDAMEVT2 | OEVT+14 |
BEFORE^SDAMEVT3 | OEVT+11 |
EVT^SDAMEVT3 | OEVT+15 |
$$COMP^SDAMEVT4 | EVT+3 |
$$ASK^SDAMEX | MAKE+14 |
CO^SDCO1 | MAKE+15 |
EN^SDCODEL | CANCEL+2, NOSHOW+2 |
$$REQ^SDM1A | EVT+4, MAKE+13 |
EN^XQOR | EVT+7 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | CAPTURE+2, CANCEL+2, NOSHOW+2 |
^ORD(101 - [#101] | EVT+6 |
^SC - [#44] | CAPTURE+3 |
^SCE - [#409.68] | OE+7, OE+23, OEVT+5 |
^SCE("APAR" | OE+22 |
^SDD( | OE+13, OE+14 |
^TMP("SDAMEVT" | BEFORE+1!, CAPTURE+2*, CAPTURE+3*, CAPTURE+4*, EVTQ!, MAKE+1!, MAKE+3* |
^TMP("SDEVT HANDLE" | HANDLE+2, HDLKILL+1! |
^TMP("SDEVT" | CLEAN+1!, HDLKILL+1!, CAPTURE+2*, CAPTURE+3*, MAKE+3*, OE+8*, OE+9, OE+15*, OE+16, OE+25* , OE+26, OECHG+2, OECHG+4 |
Name | Field # of Occurrence |
---|---|
^( | OE+9*, OE+16*, OE+26*, OECHG+4 |
^("AFTER" | OECHG+4 |
^($J | HANDLE+2* |
^(0 | CANCEL+2, NOSHOW+2, OEVT+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | MAKE+1~, MAKE+10 |
DFN | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+2, CAPTURE+4, MAKE~, MAKE+4, MAKE+5 , MAKE+12*, MAKE+15, MAKE+16, CANCEL~, CANCEL+1, CANCEL+2, CANCEL+3, NOSHOW~, NOSHOW+1, NOSHOW+2 , NOSHOW+3, OEVT+4~, OEVT+7*, OEVT+9, OEVT+11, OEVT+13, OEVT+15 |
DGQUIET | EVT+5~* |
DIROUT | EVT+2! |
DT | MAKE+14 |
DTOUT | EVT+2! |
FILE | OE+1~, OE+12*, OE+13, OE+14 |
I | OE+1~, OE+13*, OE+14, OE+15, OE+16, OECHG+1~, OECHG+3*, OECHG+4* |
OP | OE+1~, OE+4*, OE+9, OE+16, OE+26 |
OROLD | EVT+1~ |
SD0 | OEVT+4~, OEVT+5*, OEVT+6, OEVT+7 |
SDACT | MAKE+11~, MAKE+14*, MAKE+15, MAKE+16 |
SDAMEVT | EVT~, EVT+3 |
SDATA | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, EVT~, EVT+4*, MAKE+1~, MAKE+4, MAKE+5* , MAKE+6, MAKE+12!, CANCEL~, CANCEL+1, CANCEL+3*, CANCEL+4, NOSHOW~, NOSHOW+1, NOSHOW+3*, NOSHOW+4 , OEVT~, OEVT+9, OEVT+13* |
SDATA( | CAPTURE+4* |
SDATA("AFTER" | EVT+3, CANCEL+2, NOSHOW+2 |
SDATA("BEFORE" | EVT+3, MAKE+3* |
SDCAP | CAPTURE~, CAPTURE+2, CAPTURE+3, CAPTURE+4, CAPTURE+5, OE~, OE+4, OE+8, OE+15, OE+25 , OEVT~, OEVT+8, OEVT+12 |
SDCL | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+3, CAPTURE+4, MAKE~, MAKE+4, MAKE+5 , MAKE+12*, MAKE+15, MAKE+16, CANCEL~, CANCEL+1, CANCEL+3, NOSHOW~, NOSHOW+1, NOSHOW+3, OEVT+4~ , OEVT+7*, OEVT+9, OEVT+13 |
>> SDCOACT | MAKE+13 |
SDCOQUIT | MAKE+11~, MAKE+14*, MAKE+16 |
SDDA | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+3, CAPTURE+4, MAKE~, MAKE+4, MAKE+5 , MAKE+12*, MAKE+15, MAKE+16, CANCEL~, CANCEL+1, CANCEL+3, NOSHOW~, NOSHOW+1, NOSHOW+3, OEVT+4~ , OEVT+7*, OEVT+9, OEVT+13 |
SDHDL | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CLEAN~, CLEAN+1, HDLKILL+1!, CAPTURE~, CAPTURE+2, CAPTURE+3 , CAPTURE+5, EVT~, EVT+3, EVTQ, MAKE+1~, CANCEL~, CANCEL+1, CANCEL+2, CANCEL+4, NOSHOW~ , NOSHOW+1, NOSHOW+2, NOSHOW+4, OE~, OE+8, OE+9, OE+15, OE+16, OE+25, OE+26 , OECHG~, OECHG+2, OECHG+4, OEVT~, OEVT+9, OEVT+10, OEVT+11, OEVT+13, OEVT+14, OEVT+15 |
SDKID | OE+1~, OE+21*, OE+22*, OE+23, OE+25, OE+26 |
SDMKHDL | MAKE+1~, MAKE+2*, MAKE+3, MAKE+4, MAKE+6 |
SDMODE | EVT~, EVT+5, MAKE~, MAKE+6, MAKE+7, MAKE+10, CANCEL~, CANCEL+2, CANCEL+4, NOSHOW~ |
SDOE | OE~, OE+7, OE+8, OE+9, OE+13, OE+15, OE+16, OE+22, OECHG+1~*, OECHG+2* , OECHG+4, OEVT~, OEVT+5, OEVT+10, OEVT+14 |
SDOE0 | OEVT~, OEVT+5 |
SDOEP | OEVT+4~, OEVT+5*, OEVT+6 |
SDORG | HANDLE~, OE~, OE+8, OE+9, OE+15, OE+16, OE+18, OECHG~, OECHG+2, OECHG+4 , OEVT+4~, OEVT+7*, OEVT+9, OEVT+10, OEVT+11, OEVT+13, OEVT+14, OEVT+15 |
SDT | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+2, CAPTURE+3, CAPTURE+4, MAKE~, MAKE+4 , MAKE+5, MAKE+10, MAKE+12*, MAKE+13, MAKE+14, MAKE+15, MAKE+16, CANCEL~, CANCEL+1, CANCEL+2 , CANCEL+3, NOSHOW~, NOSHOW+1, NOSHOW+2, NOSHOW+3, OEVT+4~, OEVT+7*, OEVT+9, OEVT+11, OEVT+13 , OEVT+15 |
U | CAPTURE+5, EVT+4, MAKE+5, MAKE+12, CANCEL+3, NOSHOW+3, OE+24, OEVT+5, OEVT+7 |
X | EVT+6*, EVTQ!, OE+1~, OE+7*, OE+8, OE+14*, OE+15, OE+23*, OE+24, OE+25 |
XQORPOP | EVTQ! |
Y | HANDLE+2*, HANDLE+3, OECHG+1~*, OECHG+2, OECHG+4*, OECHG+5 |
Z | CAPTURE+1~, CAPTURE+2*, CAPTURE+4, CAPTURE+5 |