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 |  Interaction Calls |  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 Total: 14

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  
IHS Changes To ADT 2 PAUSE^BDGF  $$HRCN^BDGF2  
Kernel 1 EN^XQOR  
VA Fileman 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 37

Package Total Caller Graph
Scheduling 28 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  SDI  SDM  SDM1A  SDM2  SDMM1  SDMULTIBOOK  
SDMULTICLINIC  SDN  SDNOSHOW  SDSTAT  
IHS Changes To Scheduling 3 BSDAM  BSDAPI  BSDC  
Clinical Scheduling for Windows 2 BSDX08  BSDX25  
Registration 2 DG DISPOSITION APPLICATION  DG DISPOSITION EDIT  
Emergency Room 1 AMERBSD  
IHS View Patient Record 1 BVPSD  

Entry Points

Name Comments DBIA/ICR reference
EVT(SDATA,SDAMEVT,SDMODE,SDHDL) ; -- calls the sdam event protocol
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    BEFORE(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) ; -- get before values
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    CANCEL(SDATA,DFN,SDT,SDCL,SDDA,SDMODE,SDHDL) ; -- cancel event #2
  • ICR #6048
    • Status: Active
    • Usage: Private
    OECHG(SDORG,SDHDL) ; -- compare befores and afters
    EVTQ
    OEQ
    AFTER(SDATA,DFN,SDT,SDCL,SDDA,SDHDL) ; -- get after values
  • ICR #5838
    • Status: Active
    • Usage: Private
  • ICR #6183
    • Status: Withdrawn
    • Usage: Private
    OEVTQ
    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) ;
    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
    MAKE(DFN,SDT,SDCL,SDDA,SDMODE) ; -- make appt event #1
  • ICR #6048
    • Status: Active
    • Usage: Private
    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

    External References

    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

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !?5,"**** CANNOT check in patient with temporary chart #. ****"
    • Line Location: MAKE+18

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