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 |
---|---|---|
EVT(SDATA,SDAMEVT,SDMODE,SDHDL) | ; -- calls the sdam event protocol
|
|
BEFORE(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ; -- get before values
|
|
CANCEL(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) | ; -- cancel event #2
|
|
OECHG(SDORG,SDHDL) | ; -- compare befores and afters
|
|
EVTQ | ||
OEQ | ||
AFTER(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ; -- get after values
|
|
OEVTQ | ||
HDLKILL | ; -- kill off handle data
|
|
CAPTURE(SDCAP,SDATA,DFN,SDT,SDCL,SDDA,SDHDL) | ;
|
|
HANDLE(SDORG) | ; -- get evt handle
; SDORG = originating process (1=appt , 2=a/e , 3=disp) |
|
MAKE(DFN,SDT,SDCL,SDDA,SDMODE) | ; -- make appt event #1
|
|
OEVT(SDOE,SDCAP,SDHDL,SDATA,SDOE0) | ; -- event driver calls by oe
; SDATA only required for appts ; SDOE0 only required for check out deletion AFTER |
|
CLEAN(SDHDL) | ;
|
|
NOSHOW(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) | ; -- no-show event #3
|
|
OE(SDCAP,SDORG,SDOE,SDHDL) | ; -- set up encounter data
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | MAKE+10 |
PAUSE^BDGF | MAKE+19 |
$$HRCN^BDGF2 | MAKE+17 |
$$STATUS^SDAM1 | CAPTURE+4 |
ONE^SDAM2 | MAKE+25 |
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+23 |
CO^SDCO1 | MAKE+24 |
EN^SDCODEL | CANCEL+2, NOSHOW+2 |
$$REQ^SDM1A | EVT+4, MAKE+21 |
EN^XQOR | EVT+7 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
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 | Line Occurrences |
---|---|
$$HANDLE | MAKE+2 |
AFTER | MAKE+4, CANCEL+1, NOSHOW+1, OEVT+13 |
BEFORE | OEVT+9 |
CAPTURE | BEFORE+2, AFTER+1 |
CLEAN | EVTQ |
EVT | MAKE+8, CANCEL+4, NOSHOW+4, OEVT+13 |
EVTQ | EVT+3 |
OE | CAPTURE+5 |
OEQ | OE+18 |
OEVTQ | OEVT+6 |
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+11 |
BSDOPT | EVT+8! |
BSDVCN | EVT+8! |
BSDVSTN | EVT+8! |
DFN | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+2, CAPTURE+4, MAKE~, MAKE+4, MAKE+5 , MAKE+13*, MAKE+17, MAKE+24, MAKE+25, 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 |
DIROUT | EVT+2! |
DT | MAKE+23 |
DTOUT | EVT+2! |
DUZ(2 | MAKE+17 |
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+12~, MAKE+23*, MAKE+24, MAKE+25 |
SDAMEVT | EVT~, EVT+3 |
SDATA | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, EVT~, EVT+4*, MAKE+1~, MAKE+4, MAKE+5* , MAKE+8, MAKE+13!, 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+13*, MAKE+24, MAKE+25, CANCEL~, CANCEL+1, CANCEL+3, NOSHOW~, NOSHOW+1, NOSHOW+3, OEVT+4~ , OEVT+7*, OEVT+9, OEVT+13 |
>> SDCOACT | MAKE+21 |
SDCOQUIT | MAKE+12~, MAKE+23*, MAKE+25 |
SDDA | BEFORE~, BEFORE+2, AFTER~, AFTER+1, CAPTURE~, CAPTURE+3, CAPTURE+4, MAKE~, MAKE+4, MAKE+5 , MAKE+13*, MAKE+24, MAKE+25, 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+8 |
SDMODE | EVT~, MAKE~, MAKE+8, MAKE+11, MAKE+14, CANCEL~, 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+11, MAKE+13*, MAKE+21, MAKE+23, MAKE+24, MAKE+25, 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+13, 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 |