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

Package: Inpatient Medications

Routine: PSJUTL2


Information

PSJUTL2 ;BIR/LDT - MISC UTILITIES FOR INPATIENT MEDICATIONS ;18 Aug 98 / 2:48 PM

Source Information

Source file <PSJUTL2.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Inpatient Medications 2 $$ENDTC1^PSGMI  $$EXPIRED^PSGOER  
VA Fileman 2 NOW^%DTC  $$EXTERNAL^DILFD  
Barcode Medication Administration 1 $$EN^PSBAPIPM  
Kernel 1 $$FMADD^XLFDT  

Caller Graph

Caller Graph Total: 27

Package Total Caller Graph
Inpatient Medications 25 PSGDL  PSGNE3  PSGOE1  PSGOER  PSGOER0  PSGOETO  PSGPEN  PSGVW  
PSIVCAL  PSIVOD  PSIVOPT2  PSIVORA1  PSIVOREN  PSIVORFE  PSJCOMR  PSJHL4  
PSJLIACT  PSJLIORD  PSJLIUTL  PSJLIVFD  PSJLIVMD  PSJLMUDE  PSJOREN  PSJORRN1  
PSJUTL99  
Outpatient Pharmacy 2 PSOQUAP  PSOQUAP2  

Entry Points

Name Comments DBIA/ICR reference
DATE2(PSJDT) ;Returns date in fileman format with a time in hours and minutes
PREV ;If the original order has no administration data logged against it then check to see if there is data for the previous order.
BCMALG(PSJX,PSJY)
  • ICR #5057
    • Status: Active
    • Usage: Controlled Subscription
    DATE() ;Returns date in fileman format with a time in hours and minutes.
    RNEWOK(DAD,PSJDFN) ;Returns 1 or 0 if all in complex order series are active.

    External References

    Name Field # of Occurrence
    NOW^%DTC DATE+2
    $$EXTERNAL^DILFD BCMALG+4, PREV+4
    $$EN^PSBAPIPM BCMALG+3, PREV+3
    $$ENDTC1^PSGMI BCMALG+4, PREV+4
    $$EXPIRED^PSGOER RNEWOK+5
    $$FMADD^XLFDT DATE+6, DATE2+6

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PSB(53.79 - [#53.79] EXTERNAL^DILFD

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(53.1 - [#53.1] PREV+2
    ^PS(55 - [#55] BCMALG+2, PREV+2, RNEWOK+2

    Label References

    Name Line Occurrences
    PREV BCMALG+5

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % DATE+3, DATE+4, DATE+5
    DAD RNEWOK~, RNEWOK+2
    F RNEWOK+1~, RNEWOK+3*, RNEWOK+4
    I RNEWOK+1~*, RNEWOK+2*
    II RNEWOK+1~*, RNEWOK+2*, RNEWOK+3, RNEWOK+4, RNEWOK+5
    NODE0 RNEWOK+1~, RNEWOK+4*
    PREON PREV+1~, PREV+2*, PREV+3
    >> PSGDT DATE+1*, DATE+6*, DATE+7*, DATE+8
    PSJDFN RNEWOK~, RNEWOK+3, RNEWOK+5
    PSJDT DATE+6, DATE2~, DATE2+1, DATE2+3, DATE2+4, DATE2+5, DATE2+6*, DATE2+7*, DATE2+8
    >> PSJLACT BCMALG+1*, BCMALG+4*, BCMALG+6, PREV+4*
    PSJLAST BCMALG+1~, BCMALG+3*, BCMALG+4, BCMALG+5, PREV+3*, PREV+4
    PSJX BCMALG~, BCMALG+2, BCMALG+3, PREV+2, PREV+3
    PSJY BCMALG~, BCMALG+2, BCMALG+3, PREV+2
    STAT RNEWOK+1~, RNEWOK+4*
    TIM DATE+1~, DATE+7*, DATE2+2~, DATE2+7*
    X DATE+1~, DATE+3*, DATE+4*, DATE+5*, DATE+6, DATE2+2~, DATE2+3*, DATE2+4*, DATE2+5*, DATE2+6
    Y RNEWOK+1~*, RNEWOK+2, RNEWOK+3*, RNEWOK+4*, RNEWOK+5*, RNEWOK+6
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All