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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDEC25

Package: Scheduling

Routine: SDEC25


Information

SDEC25 ;ALB/SAT - VISTA SCHEDULING RPCS ;MAY 15, 2017

Source Information

Source file <SDEC25.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Scheduling 6 $$FIND^SDAM2  ($$HANDLE,AFTER,BEFORE,EVT)^SDAMEVT  CO^SDEC25A  GETVISIT^SDECAPI4  $$SCIEN^SDECU2  $$GETAPT^SDVSIT2  
Kernel 3 ($$FMTE,$$HTFM,$$NOW)^XLFDT  $$UP^XLFSTR  $$KCHK^XUSRB  
VA FileMan 3 ^%DT  (,FILE)^DIE  $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
Scheduling 7 SDAM2  SDCODEL  SDEC  SDEC CHECKIN APPOINTMENT  SDEC08  SDEC31  SDTMP08  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
CHECKIN(SDECY,SDECAPTID,SDECCDT,SDECCC,SDECPRV,SDECROU,SDECVCL,SDECVFM,SDECOG,SDECCR,SDECPCC,SDECWHF) ;Check in appointment
  • ICR #7066
    • Status: Pending
    • Usage: Controlled Subscription
    ENDBG ;
    SDECCHK(SDECAPTID,SDECCDT) ;
    APCHK(SDECZ,SDECSC1,SDECDFN,SDECCDT,SDECSTART)
    CANCHKIN(DFN,SDCL,SDT) ; Logic to cancel a checkin if the checkin date/time is passed in as '@'
    ; input: DFN := ifn of patient
    ; SDCL := clinic#
    ; SDT := appt d/t
    FIND(DFN,SDT,SDCL) ; -- return appt ifn for pat
    ; input: DFN := ifn of pat.
    ; SDT := appt d/t
    ; SDCL := ifn of clinic
    ; output: [returned] := ifn if pat has appt on date/time
    VALID(DFN,SDCL,SDT,SDDA) ; -- return valid appt.
    ; **NOTE: For speed consideration the ^SC and ^DPT nodes must be
    ; check to see they exist prior to calling this entry point.
    ; input: DFN := ifn of pat.
    ; SDT := appt d/t
    ; SDCL := ifn of clinic
    ; SDDA := ifn of appt
    ; output: [returned] := 1 for valid appt., 0 for not valid
    CHKEVT(SDECPAT,SDECSTART,SDECSC) ;EP Called by SDEC CHECKIN APPOINTMENT event
    CHKEVT1(SDECRES,SDECSTART,SDECPAT,SDECSTAT) ;
    CHKEVT3(SDECRES) ;
    CHKEVTD(SDECPAT,SDECSTART,SDECSC) ;EP Called by SDEC CHECKIN APPOINTMENT event
    CHECKOUT(SDECY,DFN,SDT,SDCODT,SDECAPTID,VPRV) ;Check Out appointment
  • ICR #7068
    • Status: Pending
    • Usage: Controlled Subscription
    CANCKOUT(SDECY,SDECAPTID) ;Cancel Check Out appointment
  • ICR #7072
    • Status: Pending
    • Usage: Controlled Subscription
    CANAPPT(SDECAPTID)
    ERROR ;
    ERR(ERRNO) ;Error processing

    External References

    Name Field # of Occurrence
    ^%DT ENDBG+17, CHECKOUT+23, CHECKOUT+26
    ^DIE ENDBG+61, CANCKOUT+36, CANCKOUT+41, CANCKOUT+48, CANCKOUT+52, CANAPPT+16
    FILE^DIE SDECCHK+5, CANCHKIN+14
    $$GET1^DIQ CANCKOUT+44
    $$FIND^SDAM2 APCHK+12
    $$HANDLE^SDAMEVT ENDBG+52, CHECKOUT+52, CANCKOUT+26
    AFTER^SDAMEVT ENDBG+72, CHECKOUT+66, CANCKOUT+56
    BEFORE^SDAMEVT ENDBG+53, CHECKOUT+56, CANCKOUT+30
    EVT^SDAMEVT ENDBG+77, CHECKOUT+70, CANCKOUT+60
    CO^SDEC25A CHECKOUT+58
    GETVISIT^SDECAPI4 APCHK+30
    $$SCIEN^SDECU2 CANCKOUT+39
    $$GETAPT^SDVSIT2 CANCKOUT+43
    $$FMTE^XLFDT CHECKOUT+34
    $$HTFM^XLFDT CHECKOUT+29
    $$NOW^XLFDT SDECCHK+4, CANCKOUT+51
    $$UP^XLFSTR ENDBG+28
    $$KCHK^XUSRB CHECKOUT+17, CANCKOUT+12

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^SCE - [#409.68] GET1^DIQ
    ^SDEC(409.84 - [#409.84] Classic Fileman Calls
    ^AUPNVSIT - [#9000010] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DIC(40.7 - [#40.7] ENDBG+21
    ^DPT - [#2] FIND+7, VALID+8
    ^SC - [#44] ENDBG+32, ENDBG+33, ENDBG+47, FIND+7, VALID+8
    ^SDEC(409.831 - [#409.831] ENDBG+42, ENDBG+43, CHKEVT+10, CHKEVT3+5, CHKEVTD+10, CHECKOUT+37, CANCKOUT+20, CANAPPT+10
    ^SDEC(409.84 - [#409.84] ENDBG+13, ENDBG+35, CHKEVT1+7, CHKEVT1+8, CHKEVT1+9, CHECKOUT+19, CHECKOUT+32, CANCKOUT+14, CANCKOUT+15, CANAPPT+4
    , CANAPPT+5
    ^TMP("SDEC" ENDBG+8!, ENDBG+10*, ENDBG+80*, ENDBG+82*, CHECKOUT+13!, CHECKOUT+15*, CHECKOUT+79*, CHECKOUT+81*, CANCKOUT+8!, CANCKOUT+10*
    , CANCKOUT+63*, CANCKOUT+65*, ERR+2*, ERR+4*
    ^VA(200 - [#200] ENDBG+24

    Label References

    Name Line Occurrences
    $$CHKEVT1 CHKEVT+10
    $$FIND ENDBG+52, CANCHKIN+6, CHECKOUT+52, CANCKOUT+26
    $$VALID FIND+7
    APCHK ENDBG+60
    CANCHKIN ENDBG+68
    CHKEVT3 CHKEVT+11, CHKEVTD+11
    ERR ENDBG+12, ENDBG+13, ENDBG+18, ENDBG+42, ENDBG+47, CHECKOUT+17, CHECKOUT+18, CHECKOUT+19, CHECKOUT+29, CHECKOUT+34
    , CHECKOUT+75, CANCKOUT+12, CANCKOUT+13, CANCKOUT+14, CANCKOUT+21, ERROR+1
    SDECCHK ENDBG+59, ENDBG+67, CHKEVT1+11

    Naked Globals

    Name Field # of Occurrence
    ^( FIND+7
    ^(0 FIND+7

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    %DT ENDBG+3~, ENDBG+17*, CHECKOUT+9~, CHECKOUT+21*
    APIERR CHECKOUT+9~, CHECKOUT+46!, CHECKOUT+47*, CHECKOUT+58, CHECKOUT+62, CHECKOUT+73, CHECKOUT+77
    APIERR( CHECKOUT+75
    APS CANCKOUT+4~, CANCKOUT+16*, CANCKOUT+50, CANCKOUT+51, CANAPPT+1~, CANAPPT+6*
    APTN APCHK+3~, APCHK+12*
    BSDMSG APCHK+3~
    BSDVSTN ENDBG+1~
    CNT CHECKOUT+9~, CHECKOUT+74*, CHECKOUT+75*
    DA ENDBG+2~, ENDBG+61*, CANCKOUT+4~, CANCKOUT+34*, CANCKOUT+39*, CANCKOUT+46*, CANCKOUT+51*, CANAPPT+1~, CANAPPT+14*
    DA(1 CANCKOUT+39*
    DA(2 CANCKOUT+39*
    DFN ENDBG+36*, ENDBG+52, ENDBG+53, ENDBG+72, CANCHKIN~, CANCHKIN+6, FIND~, FIND+7, VALID~, VALID+8
    , CHECKOUT~, CHECKOUT+52, CHECKOUT+56, CHECKOUT+58, CHECKOUT+66, CANCKOUT+4~, CANCKOUT+17*, CANCKOUT+26, CANCKOUT+30, CANCKOUT+39
    , CANCKOUT+43, CANCKOUT+56, CANAPPT+1~, CANAPPT+7*
    DIE ENDBG+61*, CANCKOUT+4~, CANCKOUT+33*, CANCKOUT+38*, CANCKOUT+46*, CANCKOUT+51*, CANAPPT+1~, CANAPPT+13*
    DIK ENDBG+2~
    DR ENDBG+61*, CANCKOUT+4~, CANCKOUT+35*, CANCKOUT+40*, CANCKOUT+47*, CANCKOUT+51*, CANAPPT+1~, CANAPPT+15*
    DUZ APCHK+10, CHECKOUT+17, CANCKOUT+12, CANCKOUT+35, CANCKOUT+51, CANAPPT+15
    DUZ(2 APCHK+18
    EMSG ENDBG+1~, ENDBG+80
    ERR CANCHKIN+17!, CHECKOUT+9~, CHECKOUT+75*
    ERRNO ERR~, ERR+2
    FDA CANCHKIN+17!
    FDA( CANCHKIN+14*
    RES CANCKOUT+4~, CANCKOUT+19*, CANCKOUT+20, CANAPPT+1~, CANAPPT+9*, CANAPPT+10
    RPCPERM CHECKOUT+11~, CHECKOUT+16*, CHECKOUT+17*, CANCKOUT+6~, CANCKOUT+11*, CANCKOUT+12*
    SDASK CHECKOUT+10~, CHECKOUT+41*, CHECKOUT+58
    SDATA ENDBG+51~, ENDBG+52*, ENDBG+53, ENDBG+72, ENDBG+77, CHECKOUT+51~, CHECKOUT+52*, CHECKOUT+56, CHECKOUT+66, CHECKOUT+70
    , CANCKOUT+25~, CANCKOUT+26*, CANCKOUT+30, CANCKOUT+56, CANCKOUT+60
    SDATA("AFTER" CHKEVT+8, CHKEVTD+9
    SDCIHDL ENDBG+51~, ENDBG+52*, ENDBG+53, ENDBG+72, ENDBG+77, CHECKOUT+51~, CHECKOUT+52*, CHECKOUT+56, CHECKOUT+66, CHECKOUT+70
    , CANCKOUT+25~, CANCKOUT+26*, CANCKOUT+30, CANCKOUT+56, CANCKOUT+60
    SDCL CANCHKIN~, CANCHKIN+6, CANCHKIN+14, FIND~, FIND+7, VALID~, VALID+8, CHECKOUT+10~, CHECKOUT+38*, CHECKOUT+52
    , CHECKOUT+56, CHECKOUT+58, CHECKOUT+66, CANCKOUT+5~, CANCKOUT+20*, CANCKOUT+26, CANCKOUT+30, CANCKOUT+38, CANCKOUT+39, CANCKOUT+43
    , CANCKOUT+56, CANAPPT+1~, CANAPPT+10*
    SDCOACT CHECKOUT+10~, CHECKOUT+43*, CHECKOUT+58
    SDCOALBF CHECKOUT+10~, CHECKOUT+42*, CHECKOUT+58
    SDCODT CHECKOUT~, CHECKOUT+25, CHECKOUT+28*, CHECKOUT+29, CHECKOUT+34, CHECKOUT+58
    SDDA ENDBG+51~, ENDBG+52*, ENDBG+53, ENDBG+72, CANCHKIN+5~, CANCHKIN+6*, CANCHKIN+14, VALID~, VALID+8, CHECKOUT+10~
    , CHECKOUT+40*, CHECKOUT+51~, CHECKOUT+52*, CHECKOUT+56, CHECKOUT+58, CHECKOUT+66, CANCKOUT+25~, CANCKOUT+26*, CANCKOUT+30, CANCKOUT+56
    SDECAPPT CHKEVT1+4~, CHKEVT1+8*, CHKEVT1+9, CHKEVT1+11
    SDECAPTID CHECKIN~, ENDBG+12, ENDBG+13, ENDBG+35, ENDBG+59, ENDBG+61, ENDBG+67, SDECCHK~, SDECCHK+2, CHECKOUT~
    , CHECKOUT+18, CHECKOUT+19, CHECKOUT+32, CHECKOUT+58, CANCKOUT~, CANCKOUT+13, CANCKOUT+14, CANCKOUT+15, CANCKOUT+34, CANAPPT~
    , CANAPPT+3, CANAPPT+4, CANAPPT+5, CANAPPT+14
    SDECC APCHK+3~, APCHK+30
    SDECC("ADT" APCHK+21*
    SDECC("APPT D ATE" , APCHK+8*, APCHK+12, APCHK+21
    SDECC("CDT" APCHK+9*
    SDECC("CLINIC CODE" , APCHK+6*
    SDECC("CLN" APCHK+20*
    SDECC("HOS LO C" , APCHK+5*, APCHK+12, APCHK+20
    SDECC("PAT" APCHK+4*, APCHK+12
    SDECC("PROVIDER" APCHK+7*
    SDECC("SITE" APCHK+18*
    SDECC("SRV CA T" , APCHK+15*
    SDECC("TIME R ANGE" , APCHK+16*
    SDECC("USR" APCHK+10*
    SDECC("VISIT DATE" , APCHK+17*, TYPE" , APCHK+19*
    SDECCAN ENDBG+3~, ENDBG+5*, ENDBG+16*, ENDBG+17, ENDBG+55, ENDBG+63
    SDECCC CHECKIN~, ENDBG+20*, ENDBG+21*, ENDBG+33*, APCHK+6
    SDECCDT CHECKIN~, ENDBG+15*, ENDBG+16, ENDBG+17*, ENDBG+18, ENDBG+59, ENDBG+60, ENDBG+77, SDECCHK~, SDECCHK+3
    , SDECCHK+4, APCHK~, APCHK+9, APCHK+17
    SDECCR CHECKIN~
    SDECDFN APCHK~
    SDECFDA SDECCHK+1~
    SDECFDA( SDECCHK+3*, SDECCHK+4*
    SDECFOUND CHKEVT+6~, CHKEVT+9*, CHKEVT+10*, CHKEVT+11, CHKEVT1+4~, CHKEVT1+5*, CHKEVT1+6, CHKEVT1+7, CHKEVT1+8, CHKEVT1+10*
    , CHKEVT1+11, CHKEVT1+12, CHKEVTD+7~, CHKEVTD+12*
    SDECI ENDBG+2~, ENDBG+7*, ENDBG+79*, ENDBG+80, ENDBG+81*, ENDBG+82, CHECKOUT+11~, CHECKOUT+12*, CHECKOUT+75*, CHECKOUT+78*
    , CHECKOUT+79, CHECKOUT+80*, CHECKOUT+81, CANCKOUT+6~, CANCKOUT+7*, CANCKOUT+62*, CANCKOUT+63, CANCKOUT+64*, CANCKOUT+65, ERR+1*
    , ERR+2, ERR+3*, ERR+4
    SDECID ENDBG+2~
    SDECIENS ENDBG+2~, SDECCHK+2*, SDECCHK+3, SDECCHK+4
    SDECMSG SDECCHK+1~
    SDECNOD ENDBG+2~, ENDBG+35*, ENDBG+36, ENDBG+37, ENDBG+38, ENDBG+40, ENDBG+43*, ENDBG+44, ENDBG+47, CHKEVT1+9*
    , CHKEVT1+10, CHECKOUT+11~, CHECKOUT+32*, CHECKOUT+34, CHECKOUT+36, CHECKOUT+37*, CHECKOUT+38, CANCKOUT+6~, CANCKOUT+15*, CANCKOUT+16
    , CANCKOUT+17, CANCKOUT+18, CANCKOUT+19, CANCKOUT+21, CANAPPT+2~, CANAPPT+5*, CANAPPT+6, CANAPPT+7, CANAPPT+8, CANAPPT+9
    , CANAPPT+11
    SDECNOEV ENDBG+3~, ENDBG+4*, CHKEVT+4, CHKEVTD+5
    SDECOG CHECKIN~, APCHK+27
    SDECOUT APCHK+29~, APCHK+30
    SDECPAT CHKEVT~, CHKEVT+10, CHKEVT1~, CHKEVT1+10, CHKEVTD~
    SDECPATID ENDBG+2~, ENDBG+37*, ENDBG+60, ENDBG+68, APCHK+4
    SDECPCC CHECKIN~
    SDECPRV CHECKIN~, ENDBG+23*, ENDBG+24*, ENDBG+61, APCHK+7
    SDECR1 ENDBG+3~, ENDBG+40*, ENDBG+42, ENDBG+43
    SDECRES CHKEVT+6~, CHKEVT+10*, CHKEVT+11, CHKEVT1~, CHKEVT1+6, CHKEVT1+7, CHKEVT1+8, CHKEVT3~, CHKEVT3+5, CHKEVTD+7~
    , CHKEVTD+10*, CHKEVTD+11, CHECKOUT+36*, CHECKOUT+37
    SDECRESN CHKEVT3+4~, CHKEVT3+5*, CHKEVT3+6, CHKEVT3+7*
    SDECROU CHECKIN~, ENDBG+28*, ENDBG+29*
    SDECSC CHKEVT~, CHKEVT+5, CHKEVT+10, CHKEVTD~, CHKEVTD+6, CHKEVTD+10
    SDECSC1 ENDBG+44*, ENDBG+47, ENDBG+52, ENDBG+53, ENDBG+60, ENDBG+68, ENDBG+72, APCHK~, APCHK+5
    SDECSTART ENDBG+2~, ENDBG+38*, ENDBG+52, ENDBG+53, ENDBG+60, ENDBG+68, ENDBG+72, APCHK~, APCHK+8, CHKEVT~
    , CHKEVT+10, CHKEVT1~, CHKEVT1+7, CHKEVT1+8, CHKEVTD~
    SDECSTAT CHKEVT+6~, CHKEVT+7*, CHKEVT+8*, CHKEVT+10, CHKEVT1~, CHKEVT1+11, CHKEVTD+7~, CHKEVTD+8*, CHKEVTD+9*, CHKEVTD+10
    >> SDECTYP ENDBG+77
    SDECVCL CHECKIN~, ENDBG+31*, ENDBG+32*, ENDBG+33, APCHK+25
    SDECVEN ENDBG+2~
    SDECVEN("CLINIC" APCHK+25*
    SDECVEN("FORM" APCHK+26*
    SDECVEN("OUTGUIDE" APCHK+27*
    SDECVFM CHECKIN~, APCHK+26
    SDECWHF CHECKIN~
    SDECY CHECKIN~, ENDBG+9*, CHECKOUT~, CHECKOUT+14*, CANCKOUT~, CANCKOUT+9*
    SDECZ ENDBG+2~, ENDBG+42, ENDBG+60, APCHK~
    SDLNE CHECKOUT+10~, CHECKOUT+44*, CHECKOUT+58
    SDN CANCKOUT+5~, CANCKOUT+39*
    SDOE CANCKOUT+5~, CANCKOUT+43*, CANCKOUT+44, CANCKOUT+51
    SDQUIET CHECKOUT+10~, CHECKOUT+45*, CHECKOUT+58
    SDT CANCHKIN~, CANCHKIN+6, CANCHKIN+14, FIND~, FIND+7, VALID~, VALID+8, CHECKOUT~, CHECKOUT+22, CHECKOUT+24*
    , CHECKOUT+52, CHECKOUT+56, CHECKOUT+58, CHECKOUT+66, CANCKOUT+5~, CANCKOUT+18*, CANCKOUT+26, CANCKOUT+30, CANCKOUT+38, CANCKOUT+39
    , CANCKOUT+43, CANCKOUT+56, CANAPPT+1~, CANAPPT+8*
    SDV CANCKOUT+5~, CANCKOUT+44*, CANCKOUT+45, CANCKOUT+46
    U ENDBG+33, ENDBG+36, ENDBG+37, ENDBG+38, ENDBG+40, ENDBG+42, ENDBG+44, ENDBG+47, ENDBG+52, VALID+8
    , CHKEVT1+10, CHECKOUT+34, CHECKOUT+36, CHECKOUT+38, CHECKOUT+52, CANCKOUT+16, CANCKOUT+17, CANCKOUT+18, CANCKOUT+19, CANCKOUT+20
    , CANCKOUT+21, CANCKOUT+26, CANAPPT+6, CANAPPT+7, CANAPPT+8, CANAPPT+9, CANAPPT+10, CANAPPT+11
    VPRV CHECKOUT~, CHECKOUT+58
    X ENDBG+3~, ENDBG+17*, CHECKOUT+9~, CHECKOUT+22*, CHECKOUT+25*
    Y ENDBG+3~, ENDBG+17, FIND+6~, FIND+7*, FIND+8, CHECKOUT+9~, CHECKOUT+24, CHECKOUT+28
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All