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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSOBUILD

Package: Outpatient Pharmacy

Routine: PSOBUILD


Information

PSOBUILD ;IHS/DSD/JCM - BUILD ARRAY OF PATIENTS CURRENT MEDS [ 07/15/96 5:25 PM ] ;6/21/07 8:20am

Source Information

Source file <PSOBUILD.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Outpatient Pharmacy 3 ^PSODSPL  EN^PSOHLSN1  ECAN^PSOUTL  
VA FileMan 2 C^%DTC  ^DIE  
List Manager 1 FULL^VALM1  

Caller Graph

Caller Graph Total: 43

Package Total Caller Graph
Outpatient Pharmacy 41 PSOATRF  PSOATRFC  PSOBBC  PSOCAN1  PSOCAN2  PSOCAN4  PSOCPDUP  PSOCPPRE  
PSODDPR2  PSODDPR4  PSODDPRE  PSODGDG1  PSODGDG2  PSODISPS  PSODRDUP  PSODRG  
PSOHLD  PSOHLSG2  PSOLBLN2  PSOLBLS  PSOLLL5  PSOLLLHN  PSOLMUTL  PSOMPHRC  
PSONEW  PSOORCPY  PSOOREDT  PSOORFI2  PSOORNE1  PSOORNE2  PSOORNE4  PSOREF  
PSOREF1  PSORENW4  PSORESUS  PSORMRXD  PSORREF  PSORX1  PSORXRP1  PSOTPRX1  
PSOVER  
Inpatient Medications 1 PSJ LM PRINT OUTPATIENT PROFILE  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
FSTA
STAT
END
GET ;data for profiles
EOJ
INPAT(PSODFN) ;entry point for inpat meds to view patient's outpat. meds
  • ICR #2257
    • Status: Active
    • Usage: Private
    BARC
    BUILDX
    GETX
    START
    INIT ;
    BUILD ;build profiles
    GT1
    INITX

    External References

    Name Field # of Occurrence
    C^%DTC INIT+5, INPAT+2
    ^DIE GET+8, FSTA+1
    ^PSODSPL INPAT+2
    EN^PSOHLSN1 GET+10
    ECAN^PSOUTL GET+9
    FULL^VALM1 INPAT+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(50.606 - [#50.606] START+10, START+16
    ^PS(50.7 - [#50.7] START+10, START+16
    ^PS(52.41 - [#52.41] START+5, START+8*, START+12
    ^PS(52.5 - [#52.5] GET+13, GET+15!, GET+16, STAT, STAT+1
    ^PS(53 - [#53] INIT+2, INIT+3, GT1+7
    ^PS(55 - [#55] START+14, BUILD+1
    ^PSDRUG - [#50] START+7, START+10, START+12, START+16, START+18, START+19, GET+5, GT1+1, GT1+2, GT1+3
    , GT1+4
    ^PSDRUG("ASP" START+7
    ^PSRX - [#52] BUILD+1, GET+1, GET+2, GET+3, GET+4, BARC, BARC+2
    ^TMP("PS" START+4

    Label References

    Name Line Occurrences
    BARC GT1+11
    BUILD START+1
    END START, START+1
    EOJ START+1, END
    FSTA GET+14, GET+16, STAT+2
    GET BUILD+1
    GETX GET+3, GET+5, GT1
    GT1 GET+12
    INIT START+1
    INITX INIT+1, INIT+2, INIT+3
    START INPAT+2
    STAT GET+17

    Naked Globals

    Name Field # of Occurrence
    ^("I" START+7, GT1+1
    ^("ND" START+12, START+19, GT1+2
    ^(0 GET+13, GT1+7

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    CLOZPT GT1+4*, GT1+5, GT1+6!
    COMM GET+10*!
    DA GET+8~*, GET+9!, FSTA+1~*!
    DDH INPAT+3!
    DIC GET+8~!
    DIE GET+8~*!, FSTA+1~*!
    DR GET+8~*!, FSTA+1~*!
    DRG START+3*, START+4, START+10*, START+11*, START+12, START+13, START+16*, START+17*, START+18, START+19
    , EOJ!, INPAT+3!
    DT START, START+7, INIT+5, GET+7, GET+11, GT1+1, INPAT+2
    >> I START+3*
    INPAT INPAT+2*, INPAT+3!
    >> NOEXP GT1
    NON START+14*, START+15, START+18, START+19, EOJ!
    NVA START+14*, START+17, START+18, EOJ!
    ORD START~, START+5*, START+13, EOJ!
    PEN START+5*, START+8, START+11, START+12, START+13, EOJ!
    PHARMST GET+10*!
    PSCNT INPAT+3!
    PSOBEXDA GET+8~*, GET+10!
    PSOBUILD EOJ!
    PSOBUILD("COUNT" INIT+1*, BUILDX, BARC+3*, BARC+4*
    PSOBUILD("RX" BUILD+1*, GET+1, GET+2, GET+3, GET+4, GET+8, GET+13, GET+15, GET+16, BARC
    , BARC+4, BARC+5, STAT, FSTA+1
    PSOCT INPAT+3!
    PSODD START+5*, START+6, START+8*, START+10, START+12, START+13!, START+15*, START+16, START+19, INPAT+3!
    PSODFN START, START+5, START+14, BUILD+1, INPAT~, INPAT+3!
    PSODRG GET+5*, GT1+1, GT1+2, GT1+3, GT1+4, EOJ!
    PSODRUG0 GET+5*, GT1+5, GT1+6, BARC+2, EOJ!
    PSODRUGN BARC+2*, BARC+3, BARC+4, BARC+5, EOJ!
    PSODTCUT INIT+1, INIT+5*, BUILD+1, INPAT+2*, INPAT+3!
    PSODYS GET+5*, BARC+4, BARC+5, EOJ!
    PSOEXPDT BUILD+1*, GET+7, GET+10, GET+11, EOJ!
    PSOJ BARC*, EOJ!
    PSOLC GT1+9*, EOJ!
    PSOMED INIT+1!
    PSONDF GT1+2*, BARC+4, BARC+5, EOJ!
    PSOOI START+5*, START+6, START+7, START+10, START+13!, START+15*, START+16, INPAT+3!
    PSOPAR GT1+1, INPAT+3!
    PSOQFLG START+1, INIT+1*, INIT+2*, INIT+3*, EOJ!
    PSORFRM BARC*, BARC+1*, BARC+4, BARC+5, EOJ!
    >> PSORX("BAR CO DE" , GT1+11
    PSORX0 GET+2*, GET+5, GET+7, GET+8*, GT1+7, GT1+9, BARC, BARC+2, FSTA*, EOJ!
    PSORX2 GET+3*, GET+4, EOJ!
    PSORX3 GET+4*, EOJ!
    PSOSD START!, START+13*, START+20*, INIT+1!, BUILDX*, INPAT+3!
    PSOSD( START+3*!, START+4*, BARC+2, BARC+3, BARC+4*, BARC+5*
    PSOSD("PENDING" START+11, START+12*, START+13*
    PSOSD("ZNONVA" START+17, START+18*, START+19*
    PSOST0 GET+2*, GET+3, GET+7, GET+8*, GET+11*, GET+12, GET+14*, GET+16*, GET+17, GT1
    , GT1+8, GT1+10, GT1+11, GT1+12, BARC+2, BARC+4, BARC+5, STAT+1*, STAT+2, FSTA
    , FSTA+1, EOJ!
    PSOSTA INPAT+3!
    PSOSTF GET+2*, GT1+1*, GT1+5*, GT1+10*, BARC+1*, BARC+4, BARC+5, EOJ!
    PSOSTN GET+2*, GT1+1*, GT1+3*, GT1+5*, GT1+6*, GT1+7*, GT1+8*, GT1+9*, GT1+11*, GT1+12*
    , BARC+4, BARC+5, EOJ!
    PSOVACL GET+5*, BARC+4, BARC+5, EOJ!
    PSOX INIT+3*, INITX!, EOJ!
    >> STA START+2*, START+3, START+4
    STAT GET+10*!
    STP INPAT+3!
    STR INPAT+3!
    U INIT+1*
    X INIT+5, INITX!, STAT~*, STAT+1, INPAT+2
    X1 INIT+5*, INITX!, INPAT+2*
    X2 INIT+5*, INITX!, INPAT+2*
    ZPSDC START+6~*, START+7*, START+8, START+9!
    ZPSDC( START+7*
    ZPSDC(1 START+8
    ZPSI START+6~*, START+7*, START+9!
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All