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

Package: Inpatient Medications

Routine: PSGNE3


Information

PSGNE3 ;BIR/CML3,MLM-DETERMINE DEFAULT FOR START & STOP TIMES ; 1/21/09 10:58am

Source Information

Source file <PSGNE3.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Inpatient Medications 5 EN1^PSGDL  $$ENDD^PSGMI  $$ENOSD^PSJDCU  ($$DURMIN,$$GETDUR)^PSJLIVMD  ($$DATE,$$DATE2)^PSJUTL2  
VA Fileman 2 (C,NOW)^%DTC  EN^DIK  
Kernel 1 ($$FMADD,$$FMDIFF)^XLFDT  

Caller Graph

Caller Graph Total: 22

Package Total Caller Graph
Inpatient Medications 21 PSGOD  PSGOE0  PSGOE3  PSGOE41  PSGOE6  PSGOEE  PSGOEF  PSGOEF1  
PSGOEHA  PSGOER0  PSGOES  PSGOESF  PSGOETO  PSIVCAL  PSIVORFB  PSJADT  
PSJCOM  PSJHL10  PSJHL7  PSJLIUTL  PSJORPOE  
Pharmacy Data Management 1 PSSDDUT3  

Entry Points

Name Comments DBIA/ICR reference
ENWALL(SD,FD,DFN) ; Update default stop date if appropriate.
ENSD(SCH,AT,LI,OSD) ;Find start date/time for orders.
  • ICR #2150
    • Status: Active
    • Usage: Private
    STOP ; exit when start date found
    ENSET0(DFN) ; Set "0" node and build xrefs for entries found without one.
    ENFD(PSGDT) ; find default stop date
    ENOR ;
    DFD ;
    NOW ;
    SF
    OUT ;

    External References

    Name Field # of Occurrence
    C^%DTC SF+3, SF+16, DFD+1, ENWALL+3, ENWALL+4
    NOW^%DTC ENWALL+2
    EN^DIK ENSET0+1
    EN1^PSGDL DFD+2
    $$ENDD^PSGMI STOP+1, OUT+2
    $$ENOSD^PSJDCU SF+4, SF+5
    $$DURMIN^PSJLIVMD SF+20
    $$GETDUR^PSJLIVMD SF+19
    $$DATE^PSJUTL2 NOW+3, ENSD+20
    $$DATE2^PSJUTL2 ENSD+2
    $$FMADD^XLFDT SF+20, ENSD+8, ENSD+15, ENSD+16, ENSD+17, ENSD+21
    $$FMDIFF^XLFDT ENSD+24

    FileMan Files Accessed Via FileMan Db Call

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

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(51.1 - [#51.1] SF+5
    ^PS(53.1 - [#53.1] SF, SF+12, ENOR+1, ENOR+2*
    ^PS(53.46 - [#53.46] SF+15
    ^PS(55 - [#55] SF*, SF+2, SF+13, SF+14, ENSET0+1*, ENSET0+2*, ENWALL+3, ENWALL+6*

    Label References

    Name Line Occurrences
    $$ENSD NOW+3
    DFD SF+17
    ENWALL SF+1
    OUT SF+4, SF+5, SF+19
    PSGNE3 ENOR+2
    SF STOP+1

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % SF+1, SF+3, ENWALL+2
    A SF+10~, SF+11*, SF+12*, SF+13*, SF+14*, SF+15*
    AA SF+10~, SF+15*
    >> APPT ENSD+2
    AT ENSD~, ENSD+12*, ENSD+13*, ENSD+16*, ENSD+17, ENSD+18, ENSD+22
    >> AT1 ENSD+22*
    B SF+10~, SF+15*
    DA ENOR+1, ENOR+2, ENSET0+1~*
    >> DAYS ENSD+17*, ENSD+21*
    DFN ENSET0~, ENSET0+1, ENSET0+2, ENWALL~, ENWALL+3, ENWALL+6
    DIK ENSET0+1~*
    DIK(1 ENSET0+1*
    ET STOP+1!
    F STOP+1!
    FD ENWALL~, ENWALL+6
    FT STOP+1!
    >> HRS ENSD+17*, ENSD+21*
    INT ENSD+13~, ENSD+14*, ENSD+15, ENSD+16, ENSD+17*, ENSD+18, ENSD+21*, ENSD+24*
    LI ENSD~, ENSD+4, ENSD+5, ENSD+6, ENSD+7, ENSD+8*, ENSD+9, ENSD+11, ENSD+13, ENSD+14
    , ENSD+15, ENSD+16, ENSD+17, ENSD+18, ENSD+20, ENSD+21, ENSD+23, ENSD+24, ENSD+25
    LT STOP+1!
    >> ND ENSD+17*, ENSD+21*, ENSD+22*, ENSD+24*
    NT STOP+1!
    NWALL ENWALL+1~, ENWALL+5*, ENWALL+6
    >> OND ENSD+24*, ENSD+25
    OSD ENSD~, ENSD+7, ENSD+9*, ENSD+13*, ENSD+14, ENSD+15*, ENSD+17, ENSD+20
    OSDLI ENSD+3~, ENSD+7*, ENSD+9!
    PSG ENSD+13~
    PSG( ENSD+17*, ENSD+20, ENSD+22*, ENSD+23, ENSD+24
    PSGDL OUT+3!, DFD+2*
    PSGDT NOW+3*, ENFD~, SF, SF+2
    >> PSGFD SF+19
    >> PSGFDX OUT+1
    PSGNE3 STOP+1!
    >> PSGNEDFD SF+17, DFD+1, DFD+2, DFD+3, ENOR+2
    >> PSGNEFD SF+2*, SF+4*, SF+5*, SF+19, SF+20*, SF+22*, SF+24*, OUT+1*, OUT+2, DFD+3*
    >> PSGNEFDO OUT+2*
    >> PSGNESD NOW+3*, STOP+1, SF+2, SF+3, SF+4, SF+5, SF+6, SF+20, SF+21, OUT+1*
    , DFD+1, ENOR+2
    >> PSGNESDO STOP+1*
    PSGNEW SF+2*, SF+3*, SF+22, SF+23, SF+24, OUT+3!, DFD+3
    PSGODF STOP+1, OUT+2, ENOR+1!
    >> PSGOEA SF+1, SF+3
    PSGOES STOP+1, OUT+2, ENOR+1!
    >> PSGORD SF+11, SF+12, SF+13, SF+14, SF+19, SF+23, ENSD+2
    >> PSGP SF, SF+1, SF+2, SF+4, SF+5, SF+13, SF+14, SF+19
    >> PSGRDTX SF+23
    >> PSGS0XT SF+17
    >> PSGS0Y NOW+3, SF+17
    >> PSGSCH NOW+3, SF+5
    >> PSGSDX OUT+1
    >> PSGST NOW+2*, NOW+3, SF+4, SF+5, ENSD+13
    >> PSJREN ENSD+17, ENSD+21
    >> PSJSYSW0 SF+1, SF+2, SF+4, SF+5, SF+6, SF+21, SF+22, DFD+1, DFD+3, ENWALL+4
    , ENWALL+5, ENSD+11, ENSD+16, ENSD+23
    SCH ENSD~, ENSD+12, ENSD+13, ENSD+14, ENSD+17
    SD ENWALL~, ENWALL+3, ENWALL+5
    TT STOP+1!
    U SF, SF+2, SF+22, SF+23, ENWALL+4, ENWALL+5, ENWALL+6, ENSD+11, ENSD+16, ENSD+23
    WALL ENWALL+1~, ENWALL+3*
    X SF+3, SF+21*, SF+22, DFD+1*, DFD+3, ENOR+1*, ENOR+2*, ENWALL+3, ENWALL+5, ENSD+3~
    , ENSD+4*, ENSD+5*, ENSD+6*, ENSD+8, ENSD+20*, ENSD+21*, ENSD+24*
    X1 PSGNE3+6~, ENFD+1~, SF+3*, SF+6*, DFD+1*, ENWALL+1~, ENWALL+3*, ENWALL+4*
    X2 PSGNE3+6~, ENFD+1~, SF+3*, SF+6*, SF+15*, DFD+1*, ENWALL+1~, ENWALL+3*, ENWALL+4*
    X3 ENWALL+1~, ENWALL+2*, ENWALL+4
    X3DMIN ENFD+1~, SF+19*, SF+20*
    >> XD ENSD+2*
    Y PSGNE3+6~, ENFD+1~, ENSD+22*
    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