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 |  Local Variables |  All
Print Page as PDF
Routine: PSSLOCK

Package: Pharmacy Data Management

Routine: PSSLOCK


Information

PSSLOCK ;BIR/RSB-Pharmacy patient lock ;09/15/97 13:30

Source Information

Source file <PSSLOCK.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Order Entry Results Reporting 1 ($$LOCK1,UNLK1)^ORX2  
Registration 1 PAUSE^VALM1  
VA Fileman 1 (C,NOW)^%DTC  

Caller Graph

Caller Graph Total: 89

Package Total Caller Graph
Outpatient Pharmacy 51 PSOARCF4  PSOARCSV  PSOATRF  PSOBBC  PSOCAN  PSOCAN1  PSOCAN3  PSOCAN4  
PSOCIDC8  PSOCPDUP  PSODGDG2  PSODGDGI  PSODRDU1  PSODRDUP  PSOHLD  PSOHLDC  
PSON52  PSONDCV  PSONEW  PSONEW2  PSOORCPY  PSOOREDT  PSOORFI1  PSOORFI2  
PSOORFI3  PSOORFI5  PSOORFI6  PSOORFIN  PSOORNE5  PSOORRNW  PSOPRI  PSOR52  
PSOREF  PSOREJP2  PSORENW  PSORENW0  PSORENW4  PSORESK  PSORN52  PSORN52C  
PSORXDL  PSORXPA1  PSORXRP1  PSORXRP2  PSORXRPT  PSOSUCHG  PSOSUPAT  PSOSUPOE  
PSOSUPRX  PSOVER  PSOVER1  
Inpatient Medications 27 PSGOE  PSGOEC  PSGOECA  PSGOECS  PSGOEE  PSGOEHA  PSGOER  PSGOERS  
PSGOESF  PSGOETO1  PSGOEV  PSGOEVS  PSGVBW0  PSIV  PSIVOPT1  PSIVOPT2  
PSIVORC2  PSIVORE  PSIVSPDC  PSJCOMR  PSJHLV  PSJOE  PSJOEA  PSJOEA1  
PSJOEA2  PSJUTL1  PSJUTL3  
CMOP 5 PSXMISC1  PSXRPPL  PSXRPPL1  PSXRPPL2  PSXRTRAN  
IHS Changes To Pharmacy 4 APSPCO  APSPFNC3  APSPHLD  APSPRIS  
Barcode Medication Administration 1 PSBIHS6  
IHS Pharmacy Auto Refill System 1 BEXRX7  

Entry Points

Name Comments DBIA/ICR reference
WHO(DFN) ;
PSOL(X) ;
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription
    LS(DFN,X) ;
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription
    ORD(DFN,X) ;
    ; return order number in file 100 from entry in 53.1 or 55.
    ; DFN is patient #, X is PSJORD OR PSGORD
    PDATE() ;
    R() ; check lock on node
    PSOUL(X) ;
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription
    UL(DFN) ; unlock
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription
    UNL(DFN,X) ;
    ; unlocks order in file 100
    ; DFN is patient #, X is PSJORD OR PSGORD
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription
    L(DFN,DIS) ;
  • ICR #2789
    • Status: Active
    • Usage: Controlled Subscription

    External References

    Name Field # of Occurrence
    C^%DTC PDATE+1
    NOW^%DTC L+4, R+4
    $$LOCK1^ORX2 LS+4, PSOL+3, PSOL+4
    UNLK1^ORX2 UNL+3, PSOUL+2, PSOUL+3
    PAUSE^VALM1 LS+6

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,$P(L,"^",2),$C(7)
    • Line Location: LS+6

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DD("DD" R+5, WHO+1
    ^PS(52.41 - [#52.41] PSOL+3, PSOUL+2
    ^PSRX - [#52] PSOL+4, PSOUL+3
    ^VA(200 - [#200] R+5, WHO+2
    ^XTMP("PSSLOCK" L+2*, L+3, L+4*, L+5, L+6, UL+2!, R+2, R+3, R+4*, R+5
    , WHO+1, WHO+2

    Label References

    Name Line Occurrences
    $$ORD LS+3, UNL+3
    $$PDATE L+2
    $$R L+6
    $$WHO R+5

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % L+4, R+4
    DFN L~, L+3, L+4, L+5, L+6, UL~, UL+2, R+2, R+3, R+4
    , R+5, WHO~, WHO+1, WHO+2, LS~, LS+3, UNL~, UNL+3, ORD~, ORD+4
    >> DILOCKTM L+5, R+3
    DIS L~, R+5
    DT PDATE+1, PDATE+2
    DUZ L+4, R+2, R+4
    FLAG L+2~, L+3, L+5*
    L LS+4~*, LS+5, LS+6
    OR100 LS+3~*, LS+4
    ORD100 ORD+3~, ORD+4*, ORD+5
    >> PSOMSG PSOL+1*, PSOL+3*, PSOL+4*
    >> PSONOLCK L+1, UL+1
    X PDATE+2, LS~, LS+3, UNL~, UNL+3, ORD~, ORD+4, PSOL~, PSOL+2, PSOL+3*
    , PSOL+4*, PSOUL~, PSOUL+1, PSOUL+2*, PSOUL+3*
    X1 PDATE+1~*
    X2 PDATE+1~*
    >> Y R+5*, WHO+1*, WHO+2
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All