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

Package: Outpatient Pharmacy

Routine: PSOCAN3


Information

PSOCAN3 ;BIR/RTR/SAB - auto dc rxs due to death ;Dec 13, 2021@07:58:41

Source Information

Source file <PSOCAN3.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Outpatient Pharmacy 13 REVERSE^PSOBPSU1  LMNO^PSOCAN  AREC^PSOCAN1  (HLD,NVER,REF)^PSOCAN2  RMP^PSOCAN3N  DEL^PSOCAN4  EN^PSOHLSN  EN^PSOHLSN1  
HLDHDR^PSOLMUTL  APSOD^PSONVNEW  LOCK^PSOORCPY  (CAN,SET)^PSOTPCAN  CHKCMOP^PSOUTL  
VA FileMan 3 NOW^%DTC  FILE^DICN  ^DIK  
Pharmacy Data Management 1 ($$L,PSOL,PSOUL,UL)^PSSLOCK  
Registration 1 KVAR^VADPT  

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: 16

Package Total Caller Graph
Outpatient Pharmacy 13 PSO C  PSO CANCEL  PSO LM DISCONTINUE  PSOAUTOC  PSOCAN  PSOCAN1  PSOCAN4  PSOERXU3  
PSOERXU6  PSOERXUX  PSOORED1  PSORRPA1  PSORXPA1  
Kernel 2 ^DIC(19  ^ORD(101  
HINQ 1 DVBHCE18  

Entry Points

Name Comments DBIA/ICR reference
APSOD(PSODFN) ;called from file #2 date of death xref 'APOSD'
  • ICR #2358
    • Status: Active
    • Usage: Private
    CAN ;discontinued rxs due to death
    KILL
    CAN1
    ADD
    OERR(ERXDCIEN) ;
    ULP
    LMNO ; Calls LMNO^PSOCAN
    KCAN ;
    KCAN1 ;
    RMP
    FIL
    FILX
    FILC ;
    FILQ
    SETC ;Called from Date of Death

    External References

    Name Field # of Occurrence
    NOW^%DTC CAN+28
    FILE^DICN ADD+27
    ^DIK CAN+15, CAN+21, CAN1+9, CAN1+11, ADD+13, ADD+20
    REVERSE^PSOBPSU1 CAN+5, CAN1+5
    LMNO^PSOCAN LMNO+2
    AREC^PSOCAN1 CAN1+10, ADD+1
    HLD^PSOCAN2 CAN1+2
    NVER^PSOCAN2 ADD+28
    REF^PSOCAN2 CAN+20, CAN1+10
    RMP^PSOCAN3N RMP
    DEL^PSOCAN4 OERR+7
    EN^PSOHLSN CAN+41
    EN^PSOHLSN1 CAN+32, ADD+18
    HLDHDR^PSOLMUTL OERR+13
    APSOD^PSONVNEW CAN+43
    LOCK^PSOORCPY OERR+4
    CAN^PSOTPCAN ADD+4, SETC+1
    SET^PSOTPCAN CAN+2
    CHKCMOP^PSOUTL SETC+2
    $$L^PSSLOCK OERR+4
    PSOL^PSSLOCK OERR+6
    PSOUL^PSSLOCK OERR+8, OERR+9, OERR+21
    UL^PSSLOCK ULP
    KVAR^VADPT KILL+1

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Rx # "_$P(^PSRX(DA,0),"^")_" is still non-verified!"
    • Line Location: ADD+29

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PS(52.4 - [#52.4] Classic Fileman Calls
    ^PS(52.41 - [#52.41] Classic Fileman Calls
    ^PS(52.5 - [#52.5] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(52.4 - [#52.4] CAN+15, ADD+20
    ^PS(52.41 - [#52.41] CAN+34, CAN+36*, CAN+37*, CAN+38*, CAN+39!, CAN+40, ADD+13
    ^PS(52.5 - [#52.5] CAN+18, CAN+19, CAN+20, CAN+21, CAN1+6, CAN1+7, CAN1+8, CAN1+11, FILC+7, FILC+8
    ^PS(52.91 - [#52.91] CAN+1, CAN+2*
    ^PS(55 - [#55] CAN+3
    ^PSRX - [#52] CAN+3, CAN+4, CAN+6, CAN+7*, CAN+9, CAN+10*, CAN+11*, CAN+12*, CAN+13, CAN+15*
    CAN+16, CAN+19*, CAN+20, CAN+22!, CAN+26, CAN+27, CAN+28*, CAN+29*, CAN1+2, CAN1+4!
    CAN1+9, CAN1+10, ADDADD+2*, ADD+3, ADD+4*, ADD+7*, ADD+8*, ADD+10*, ADD+11*
    ADD+22, ADD+23, ADD+28*, ADD+29, OERR+5, OERR+7, OERR+8, OERR+9, OERR+10, OERR+14
    , OERR+18, OERR+20, LMNO+2, FILC+2, FILC+3, FILC+5, FILC+9*, FILC+10*, FILC+11*, SETC+1*
    ^PSRX("AH" CAN+11!
    ^PSRX("APARK" CAN+22!, CAN1+4!
    ^PSRX("APSOD" CAN+13*, CAN+16*, CAN+19*
    ^XTMP("PSO4D-" ADD+12!
    ^XUSEC("PSORPH" ADD+24, OERR+3

    Label References

    Name Line Occurrences
    CAN APSOD+2
    FIL CAN+31
    FILC FIL+1
    FILQ FILC+2, FILC+4, FILC+6, FILC+8
    FILX ADD+15
    KCAN OERR+6, OERR+7, OERR+8, OERR+9, OERR+19, OERR+23
    LMNO OERR+19
    RMP OERR+20
    SETC CAN+4, CAN+23
    ULP OERR+6, OERR+7, OERR+8, OERR+9, OERR+19, OERR+22

    Naked Globals

    Name Field # of Occurrence
    ^( CAN+3
    ^("STA" CAN+3, ADD+4, OERR+7, OERR+8
    ^(0 CAN+2, CAN+3, CAN+6, CAN+34, CAN+40*, FILC+5, FILC+8
    ^(2 CAN+6
    ^(3 CAN+12, ADD+7*, ADD+8*
    ^(7 ADD+2*

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % CAN+29, KILL!
    %H KILL!
    %T KILL!
    ACNT CAN+26*, CAN+28*, CAN+29, KILL!
    >> ACOM CAN+25*, CAN+29, CAN1+8*, CAN1+12*
    COM CAN+25*, CAN+32, CAN+40*, CAN+41!, CAN1+8, ADD+17*, ADD+18!
    COMM CAN+32!
    D APSOD+1~
    DA APSOD+1~, CAN+15*, CAN+19*, CAN+20*, CAN+21*, KILL!, CAN1+2, CAN1+4, CAN1+5, CAN1+6*
    CAN1+7, CAN1+8, CAN1+9*, CAN1+10*, CAN1+11*, ADD*, ADD+2, ADD+3, ADD+4, ADD+7
    ADD+8, ADD+10, ADD+11, ADD+13*, ADD+18, ADD+20*, ADD+22, ADD+23, ADD+25, ADD+28!*
    ADD+29, OERR+16*, OERR+18, LMNO+2, FILXFILX+1
    DB APSOD+1~
    DC APSOD+1~
    DD ADD+27!
    DE APSOD+1~
    DFNHLD OERR+16*, OERR+22!
    DG APSOD+1~
    DH APSOD+1~
    DI APSOD+1~
    DIC APSOD+1~, ADD+25*, ADD+27!
    DIC("DR" ADD+26*
    DIC(0 ADD+25*
    DIE APSOD+1~
    DIG APSOD+1~
    DIH APSOD+1~
    DIK APSOD+1~, CAN+15*!, CAN+21*!, CAN1+9*!, CAN1+11*!, ADD+13*, ADD+20*!, ADD+28!
    DINUM ADD+25*, ADD+27!
    DIQ APSOD+1~
    DIR APSOD+1~
    DIRUT KILL!
    DIU APSOD+1~
    DIV APSOD+1~
    DIW APSOD+1~
    DK APSOD+1~
    DL APSOD+1~
    DLAYGO ADD+25*, ADD+27!
    DM APSOD+1~
    DO ADD+27!
    >> DODR CAN1
    DP APSOD+1~
    DQ APSOD+1~
    DR APSOD+1~
    DT CAN+2, CAN+6, ADD+11, ADD+26, SETC+1
    DTOUT KILL!
    DU APSOD+1~
    >> DUP ADD+17, ADD+18
    DUZ ADD+24, ADD+26, OERR+3
    DV APSOD+1~
    DW APSOD+1~
    ERXDCIEN OERR~, OERR+3, OERR+13
    HLDDA ADD+13*!
    >> INCOM ADD+18
    >> ORN OERR+2
    PDA CAN+34*, CAN+36, CAN+37, CAN+38, CAN+39, CAN+40, KILL!
    PFC FILC+1~, FILC+3*, FILC+5*
    PHARMST CAN+32*!, ADD+16*, ADD+18!
    PL CAN+40*, CAN+41!
    POERR OERR+16*, OERR+22!
    >> PS OERR+14*
    PSCAN OERR+22!
    PSCANVAR CAN1+6*, CAN1+12, ADD+1, ADD+18!
    PSCDA ADD+20*!
    PSI OERR+22!
    PSL OERR+22!
    PSO KILL!
    PSO0 CAN+6*, KILL!
    PSO2 CAN+6*, KILL!
    PSOCANHD ADD+8, OERR+18*, KCAN+1!
    PSOCANRA OERR+5*, KCAN+1!
    PSOCANRC KCAN+1!, KCAN1+1!
    PSOCANRD OERR+5*, KCAN+1!, KCAN1+1!
    PSOCANRN KCAN+1!, KCAN1+1!
    PSOCANRP KCAN+1!, KCAN1+1!
    PSOCANRZ OERR+10*, KCAN+1!, KCAN1+1!
    PSOD KILL!
    PSOD0 KILL!
    PSODEATH APSOD+2*!, CAN+13, CAN+16, CAN+19, CAN+20, CAN+25, CAN+35, CAN+40
    PSODFN APSOD~, CAN+1, CAN+2, CAN+3, CAN+34, CAN+36, CAN+39, KILL!, CAN1+1, CAN1+9*
    , ADD*, ADD+12, ADD+13, ADD+21*, ADD+26, OERR+4, OERR+16, OERR+22*, ULPLMNO+1~
    LMNO+2*
    PSODL KILL!
    PSOFC FIL+1*, FILX+1*, FILC+2, FILC+3, FILC+5, FILC+7, FILC+9, FILC+10, FILC+11, FILQ!
    PSOFCSUS FILC+7*, FILC+8, FILQ!
    PSOFFLAG FILC+1~, FILC+3*, FILC+4, FILC+5*, FILC+6
    >> PSOLST( OERR+2
    PSOMGDFN CAN1+1*, ADD+21!
    PSOMSG OERR+6!, KCAN+1!
    >> PSONOOR ADD+16*, ADD+18, OERR+7*
    PSONOORS OERR+7*!
    PSOONOFC OERR+16~, OERR+19
    >> PSOOPT ADDADD+15, ADD+17, ADD+18
    >> PSOPAR ADD+24, OERR+3
    PSOPLCK OERR+4*!, OERR+5!
    PSOQUIT OERR+19, KCAN+1!
    PSOREINF OERR+17*, OERR+22!
    PSOREINS OERR+16~*
    PSORX CAN+3*, CAN+4, CAN+5, CAN+6, CAN+7, CAN+9, CAN+10, CAN+11, CAN+12, CAN+13
    CAN+15, CAN+16, CAN+18, CAN+19, CAN+20, CAN+21, CAN+22, CAN+26, CAN+27, CAN+28
    CAN+29, CAN+32, KILL!, LMNO+1~, FILFIL+1, SETC+1, SETC+2
    PSORX("DOSING OFF" , OERR+17, OERR+19*
    PSORXIEN OERR+1~, OERR+2*, OERR+5, OERR+6, OERR+7, OERR+8, OERR+9, OERR+10, OERR+14, OERR+16
    , OERR+20, OERR+21
    PSORXJ CAN+3*, KILL!
    PSOSD KILL!
    PSOTPCNZ ADD+3~*, ADD+4, ADD+5!
    >> PSPOP LMNO+2*
    PSRXIN ADD+25*, ADD+28!
    >> PSVC ADD+22*
    >> REA CAN1+8, CAN1+11, CAN1+12, ADD*, ADD+1*, ADD+2, ADD+4, ADD+6, ADD+9, ADD+16
    ADD+17, ADD+19, ADD+23
    RF CAN+27*, KILL!
    RFCNT CAN+27*, CAN+29, KILL!
    RX0 LMNO+1~
    >> RXDA CAN1+6*, CAN1+9, CAN1+10, CAN1+11, ADD
    RXN LMNO+1~
    >> RXNUM LMNO+2*
    >> RXREF CAN1+9*, ADD*
    >> SPCANC CAN1+12
    >> SPEED OERR+7
    >> STA CAN+3*
    STAT CAN+32*!, ADD+16*, ADD+18!
    SUB CAN+26*, KILL!
    >> SUSD CAN+20*, CAN1+7*
    TM KILL!
    TSKDT KILL!
    >> VALMBCK OERR+3*, OERR+4*, OERR+6*, OERR+19*
    >> VALMSG OERR+3*, OERR+4*, OERR+6*, OERR+8*, OERR+9*
    X KILL!, ADD+25*, OERR+14*, LMNO+2
    X1 KILL!
    X2 KILL!
    Y KILL!
    ZTDESC KILL!
    ZTDTH KILL!
    ZTIO KILL!
    >> ZTQUEUED KILL+1
    >> ZTREQ KILL+1*
    ZTRTN KILL!
    ZTSAVE KILL!
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All