Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDAMEVT

Package: Scheduling

Routine: SDAMEVT


Information

SDAMEVT ;ALB/MJK - Appt Event Driver Utilities ; 12/1/91 [ 09/19/96 1:39 PM ]

Source Information

Source file <SDAMEVT.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Scheduling 10 $$STATUS^SDAM1  ONE^SDAM2  OENUL^SDAMEVT1  (BEFORE,EVT)^SDAMEVT2  (BEFORE,EVT)^SDAMEVT3  $$COMP^SDAMEVT4  $$ASK^SDAMEX  CO^SDCO1  
EN^SDCODEL  $$REQ^SDM1A  
Kernel 1 EN^XQOR  
VA FileMan 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 43

Package Total Caller Graph
Scheduling 36 SC MAKE CONSULT APPOINTMENT  SCENIA2  SD CANCEL APPOINTMENT  SDAM  SDAM APPT CHECK IN/OUT  SDAM APPT MGT  SDAM2  SDAMEVT2  
SDAMEVT3  SDAMWI1  SDAPI  SDAPIAE0  SDAPIAP  SDAUT2  SDC  SDCNP0  
SDCO1  SDCOAM  SDCOU1  SDEC07B  SDEC08  SDEC25  SDEC31  SDECAPI  
SDECCAP  SDI  SDM  SDM1A  SDM2  SDMM1  SDMULTIBOOK  SDMULTICLINIC  
SDN  SDNOSHOW  SDSTAT  SDTMP08  
Mobile Scheduling Applications Suite 2 MBAAMAP2  MBAARPC2  
Registration 2 DG DISPOSITION APPLICATION  DG DISPOSITION EDIT  
Hospital Based Home Care 1 HBHC APPOINTMENT  
Kernel 1 ^DIC(19  
VA Point of Service 1 VPSRPC4  

Entry Points

Name Comments DBIA/ICR reference
BEFORE(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) ; -- get before values
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    AFTER(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) ; -- get after values
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    HANDLE(SDORG) ; -- get evt handle
    ; SDORG = originating process (1=appt , 2=a/e , 3=disp)
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    CLEAN(SDHDL) ;
    HDLKILL ; -- kill off handle data
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    CAPTURE(SDCAP,SDATA,DFN,SDT,SDCL,SDDA,SDHDL) ;
    EVT(SDATA,SDAMEVT,SDMODE,SDHDL) ; -- calls the sdam event protocol
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    EVTQ
    MAKE(DFN,SDT,SDCL,SDDA,SDMODE) ; -- make appt event #1
  • ICR #6048
    • Status: Active
    • Usage: Private
    CANCEL(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) ; -- cancel event #2
  • ICR #6048
    • Status: Active
    • Usage: Private
    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

    External References

    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

    Global Variables Directly Accessed

    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

    Label References

    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+6, CANCEL+4, NOSHOW+4, OEVT+13
    EVTQ EVT+3
    OE CAPTURE+5
    OEQ OE+18
    OEVTQ OEVT+6

    Naked Globals

    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

    Local Variables

    Legend:

    >> 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
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All