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

Package: Inpatient Medications

Routine: PSIVSP


Information

PSIVSP ;BIR/RGY,PR,CML - DOSE PROCESSOR ;1/3/12 3:36pm

Source Information

Source file <PSIVSP.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Inpatient Medications 6 $$ENLU^PSGMI  EN^PSGS0  ENSTOP^PSIVCAL  EXPINF^PSIVEDT1  ENT^PSIVWL  $$SCHREQ^PSJLIVFD  
VA FileMan 2 C^%DTC  IX^DIC  
Registration 1 IN5^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: 12

Package Total Caller Graph
Inpatient Medications 7 PSIVEDT1  PSIVORC1  PSIVORFA  PSIVQUI  PSIVUTL  PSIVUTL1  PSJCLOR4  
Order Entry Results Reporting 3 ORBCMA32  ORCDPSIV  ORWDPS33  
Pharmacy Data Management 2 ^PS(52.6  IV  

Entry Points

Name Comments DBIA/ICR reference
EN ;
EN1 ;
NS0
SH ;
Q
NEWQ ;N I S X0=$P(X," ")_$S($L(X0," ")-1:" ",1:"")_$P(X0," ",2,99) K:XT<0!($L(X0)>22) X S:$D(X) X=X0 S:P(7) X=X0 K X0 K:XT>0&('P(7)) X Q
ENDL
QDL
DLP ;
OV
QDLP
ENI ;
SPSOL
CHK
DIC ; 51.1 look-up
ORINF ; OERR input transform for Infusion Rate
; X=data
  • ICR #2945
    • Status: Active
    • Usage: Controlled Subscription

    External References

    Name Field # of Occurrence
    C^%DTC OV+2
    IX^DIC DIC+5
    $$ENLU^PSGMI ORINF+4
    EN^PSGS0 EN+8
    ENSTOP^PSIVCAL ENDL+4
    EXPINF^PSIVEDT1 ENI+14
    ENT^PSIVWL ENDL+5
    $$SCHREQ^PSJLIVFD EN1+2, ENI+4, ENI+12
    IN5^VADPT DIC+1

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: " Dose limit .... "
    • Line Location: ENDL+0
    Function Call: WRITE
    • Prompt: !!," --- There is something wrong with this order !!",!," Call inpatient supervisor ....."
    • Line Location: ENDL+1
    Function Call: WRITE
    • Prompt: $P(Y,"@")," ",$P(Y,"@",2)
    • Line Location: QDL+0
    Function Call: WRITE
    • Prompt: $C(7)," ???",!?15,"*** You have not defined any administration times !!"
    • Line Location: OV+0
    Function Call: WRITE
    • Prompt: " ",X
    • Line Location: ENI+5
    Function Call: WRITE
    • Prompt: " You must define at least one solution !!"
    • Line Location: ENI+8
    Function Call: WRITE
    • Prompt: " ",+SPSOL," Label",$S(SPSOL'=1:"s",1:"")," per day",!?15,"at an infusion rate of: ",$P(X,"@") S P(15)=$S('SPSOL:0,1:1440/SPSOL\1)
    • Line Location: ENI+11
    Routine Call
    • DIC
    • Line Location:
      • DIC+5

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PS(51.1 - [#51.1] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DD("DD" QDL
    ^PS(51.1 - [#51.1] EN1+3, DIC+7

    Label References

    Name Line Occurrences
    CHK DLP+1
    DIC EN1+3
    DLP ENDL+2
    OV DLP+2, DLP+3
    Q EN1+2
    QDL ENDL+2
    QDLP DLP+1
    SH EN1+3
    SPSOL ENI+9

    Naked Globals

    Name Field # of Occurrence
    ^( EN1+3
    ^(0 DIC+7

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ATZERO EN+3*, EN+12, EN+13!, EN1+2*!
    >> D DIC+4*
    DIC DIC+2!*, DIC+5!, DIC+6*
    DIC("W" DIC+4*
    DIC(0 DIC+2*, DIC+4*
    >> DIE DIC+6
    >> DRG("SOL" ENI+8, SPSOL
    I NS0+3*, Q+1~
    INFUSE ORINF+2~, ORINF+4*
    >> NOECH DIC+2
    >> ON SH+1
    >> P EN1+2, ENI+4, ENI+12
    >> P("NUMLBL" ENI+10*
    >> P(11 EN+11*, ENDL+4, DLP+2, DLP+3, DLP+4, OVOV+1, OV+3, CHK*
    >> P(15 EN+11*, ENDLENDL+2, ENI+9*, ENI+11*
    >> P(2 ENDL
    >> P(23 ENDL+2, ENI+5
    >> P(4 ENDL+2, ENI+2, ENI+5
    >> P(5 ENDL+2, ENI+5
    >> P(7 EN+12*, EN1+2*, Q+1, ENI+4*, ENI+12*
    >> P(9 EN+9*, EN+10*, ENDL+2, ENDL+4
    >> PSGS0XT EN+11
    >> PSGS0Y EN+11
    >> PSIVAT EN1+1*, DIC+8*
    PSIVLIMT ENDL~*
    PSIVMIN ENDL*, ENDL+1!, ENDL+2
    >> PSIVSC1 DIC+8*
    >> PSIVSD ENDL*, DLP+1*, DLP+2, DLP+3, DLP+4, OV+2
    >> PSIVSPQF DIC+4
    >> PSIVWAT EN1+1*, DIC+7*
    PSIZEROX ENI+1~*, ENI+9, ENI+11
    >> PSJEXMSG ENI+14
    >> PSJOCFG EN+9, EN+10
    PSJORGX EN+1~, EN+6*, EN+10
    PSJSCH DIC+1~*
    SPSOL ENI+8*!, ENI+9!, ENI+10*, ENI+11!, SPSOL*
    U SH+1, ENDL+2, SPSOLDIC+8
    VAIP DIC+1~
    VAIP(5 DIC+1
    WSCHADM DIC+1*, DIC+4, DIC+7, DIC+8!
    X EN+2, EN+3*, EN+6, EN+9, EN+10, EN1+1*, EN1+2*, EN1+3, NS0+1, NS0+2
    NS0+3*, NS0+4, SH+1, QQ+1!*, ENDLENDL+4, QDL*, DLP+1*, OV!
    OV+1*, OV+2*, OV+3, ENI+1, ENI+2!, ENI+4, ENI+5*, ENI+6!, ENI+7!, ENI+8!
    ENI+9*, ENI+10, ENI+11*, ENI+12, ENI+14, DIC+1*, DIC+7*, DIC+8*, ORINF+3!, ORINF+4
    ORINF+5, ORINF+6, ORINF+7, ORINF+22!, ORINF+28*, ORINF+29*, ORINF+30*, ORINF+31*, ORINF+32, ORINF+33*
    ORINF+34*, ORINF+35*, ORINF+36*, ORINF+37*, ORINF+38*, ORINF+39!, ORINF+40*, ORINF+41*
    X0 EN1+1*, NS0+3, SH+1, Q+1*!
    X1 DLP+4*, OV+2*, QDLP!, ORINF+7~*, ORINF+8, ORINF+9*, ORINF+12, ORINF+13*, ORINF+16, ORINF+17*
    ORINF+23*, ORINF+25*, ORINF+28
    X2 DLP+1*, DLP+2*, OV+1*, OV+2, QDLP!, ORINF+7~*, ORINF+10, ORINF+11*, ORINF+14, ORINF+15*
    ORINF+18, ORINF+19*, ORINF+20, ORINF+21, ORINF+22, ORINF+24*, ORINF+26*, ORINF+27*, ORINF+28
    >> XT EN+11*, EN1+1*, NS0+1*, NS0+2*, NS0+3*, NS0+4*, SH+1, Q+1*, DIC+7*, DIC+8*
    XXX SPSOL*, SPSOL+1!
    >> Y EN1+1*, EN1+3, NS0*, NS0+4, SH+1, ENDL+1*, ENDL+4*, QDL*, DLP+1*, DLP+4*
    OV+1*, OV+3*, CHK*, DIC+6, DIC+7*, DIC+8*
    >> Y(0 DIC+7, DIC+8
    ZZY DIC+7*, DIC+8!
    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