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

Package: Outpatient Pharmacy

Routine: PSOORRL


Information

PSOORRL ;BHAM ISC/SAB - returns patient's outpatient meds ; 7/3/13 4:00pm

Source Information

Source file <PSOORRL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Outpatient Pharmacy 3 $$RXRLDT^PSOBPSUT  EN^PSOHLUP  (END,MDR,NVA,PEN,SIG,SIG1)^PSOORRL1  
Inpatient Medications 2 OCL^PSJORRE  OEL^PSJORRE1  
VA FileMan 1 C^%DTC  

Caller Graph

Caller Graph Total: 32

Package Total Caller Graph
Order Entry Results Reporting 10 ORCHTAB1  ORCXPND1  ORDV06B  ORKPS  ORPR07  ORQ21  ORQQPS  ORQRY  
ORWDXM4  ORWPS  
Clinical Case Registries 4 RORHL03  RORHL15  RORUTL15  RORXU003  
Virtual Patient Record 4 VPRDJ05  VPRDPS  VPRDPSOR  VPRSDAP  
National Health Information Network 3 NHINVPS  NHINVPSI  NHINVPSO  
Text Integration Utility 3 TIULMED  TIULMED3  TIUTPBN  
Emergency Department Integration Software 2 EDPDTL  EDPMED  
Patient Assessment Documentation 2 NUPAOBJ  NUPAOBJ1  
Enterprise Health Management Platform 1 HMPDJ05  
Health Summary 1 GMTSPSTN  
Inpatient Medications 1 PSJDCHK  
VBECS 1 VBECRPCP  

Entry Points

Name Comments DBIA/ICR reference
OCL(DFN,BDT,EDT,VIEW) ;entry point to return condensed list
; VIEW=0 - This returns the list as it was returned prior to GUI 27
; VIEW=1 - This returns the list in original view GUI 27
; VIEW=2 - This is the new sort with GUI 27
; VIEW=3 - New sort by Sort by Drug Name/status with GUI 27
  • ICR #2400
    • Status: Active
    • Usage: Controlled Subscription
    ST
    OEL(DFN,RXNUM) ;returns expanded list on specific order
  • ICR #2400
    • Status: Active
    • Usage: Controlled Subscription
    WAIT ; IF PENDING ENTRY STILL BEING BUILT SEE IF IT COMPLETES WITHIN ANOTHER SECOND
    NVA ; Set Non-VA Med Orders in the ^TMP Global
    TMPBLD
    RSTC(REF) ; return to stock

    External References

    Name Field # of Occurrence
    C^%DTC ST+2
    OCL^PSJORRE ST+36
    OEL^PSJORRE1 OEL+1
    $$RXRLDT^PSOBPSUT RSTC+2, RSTC+3
    EN^PSOHLUP ST+1, OEL+2
    END^PSOORRL1 ST+36
    MDR^PSOORRL1 OEL+33
    NVA^PSOORRL1 OEL+7
    PEN^PSOORRL1 OEL+6
    SIG^PSOORRL1 OEL+34
    SIG1^PSOORRL1 ST+20

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(50.606 - [#50.606] ST+29, NVA+6
    ^PS(50.7 - [#50.7] ST+29, NVA+6
    ^PS(51.2 - [#51.2] ST+16, ST+17, ST+18
    ^PS(52.41 - [#52.41] ST+25, ST+32, ST+33, ST+34, WAIT+1
    ^PS(55 - [#55] ST+1, ST+4, OEL+2, NVA+3
    ^PSDRUG - [#50] ST+8, ST+29, OEL+22, OEL+28, OEL+29, NVA+6
    ^PSRX - [#52] ST+4, ST+5, ST+6, ST+7, ST+8, ST+14, ST+15, ST+16, ST+17, ST+18
    , ST+20, ST+22, ST+23, OEL+9, OEL+10, OEL+12, OEL+14, OEL+15, OEL+16, OEL+19
    , OEL+20, OEL+26, OEL+31, OEL+34, OEL+36, OEL+37, OEL+40, RSTC+1
    ^TMP("PS" ST+2!, ST+8*, ST+9*, ST+12*, ST+13*, ST+14*, ST+15*, ST+17*, ST+18*, ST+19*
    , ST+22*, ST+23*, ST+29*, ST+30*, ST+31*, ST+32*, ST+33*, ST+34*, ST+35*, OEL+5!
    , OEL+11*, OEL+12*, OEL+15*, OEL+16*, OEL+17*, OEL+20*, OEL+21*, OEL+22*, OEL+23*, OEL+26*
    , OEL+27*, OEL+29*, OEL+30*, OEL+31*, OEL+32*, OEL+36*, OEL+37*, OEL+39*, OEL+40*, TMPBLD*
    , TMPBLD+1*, TMPBLD+2*, TMPBLD+3*, RSTC+2*, RSTC+3*
    ^VA(200 - [#200] ST+9, OEL+23

    Label References

    Name Line Occurrences
    @( OCL+5
    NVA ST+36
    RSTC OEL+13, OEL+18
    TMPBLD NVA+7, NVA+13, NVA+19, NVA+26
    WAIT ST+25, ST+27

    Naked Globals

    Name Field # of Occurrence
    ^( RSTC+1
    ^("STA" ST+6, OEL+10
    ^(0 ST+7, ST+18, OEL+15, OEL+20
    ^(2 ST+6, OEL+10
    ^(3 ST+6, OEL+10

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    BDT OCL~, ST+2, ST+36, ST+37!, NVA+10, NVA+12, NVA+15, NVA+22
    >> BDT1 NVA+15*, NVA+16, NVA+18, NVA+22*, NVA+23, NVA+25
    COD OEL+28*, OEL+29!
    DBT1 ST+37!
    DFN OCL~, ST+1, ST+4, ST+25, ST+36, OEL~, OEL+1, OEL+2, NVA+3
    >> DRG NVA+6*, TMPBLD
    DT ST+2, ST+10, OEL+24, OEL+28
    EDT OCL~, ST+2, ST+36, ST+37!, NVA+11, NVA+15, NVA+22
    EDT1 ST+37!, NVA+15*, NVA+17, NVA+22*, NVA+24
    >> EXDT ST+3*, ST+4*
    >> FL OEL+5*, OEL+6, OEL+7, OEL+8
    >> I ST+7*, ST+23*, OEL+14*, OEL+15, OEL+16, OEL+18, OEL+19*, OEL+20, OEL+37*, OEL+40*
    , NVA+3*, TMPBLD
    >> IEN ST+34*, ST+35*
    IFN ST+3*, ST+4*, ST+5, ST+6, ST+7, ST+8, ST+14, ST+15, ST+16, ST+17
    , ST+18, ST+20, ST+22, ST+23, ST+25*, ST+29, ST+32, ST+33, ST+34, OEL+5!*
    , OEL+9, OEL+10, OEL+12, OEL+14, OEL+15, OEL+16, OEL+19, OEL+20, OEL+26, OEL+31
    , OEL+34, OEL+36, OEL+37, OEL+40, WAIT+1, RSTC+1, RSTC+2, RSTC+3
    >> II RSTC+1*, RSTC+2, RSTC+3
    INST ST+34*, OEL+5!
    INST( ST+34*
    >> ITFN ST+21*, ST+22, ST+23*, OEL+35*, OEL+36, OEL+37*, OEL+39*, OEL+40*
    >> J RSTC+1*
    >> LSTDS ST+6*, ST+7*, ST+12
    >> LSTFD ST+6*, ST+7*, ST+12, OEL+10*, OEL+14*, OEL+26
    >> LSTRD ST+6*, ST+7*, ST+12
    >> MDR ST+15*, ST+16*, ST+17, ST+18
    >> MIG ST+34*, ST+35
    >> MR ST+15*, ST+16, ST+17, ST+18
    >> PSBDT ST+2*, ST+3, NVA+5
    >> PSEDT ST+2*, NVA+5
    PSOELSE ST+20*, ST+21, ST+24!, OEL+34*, OEL+35, OEL+38!
    >> PSOR ST+25*, ST+26, ST+27, ST+28, ST+29, ST+30, ST+31, WAIT+1*
    REF RSTC~, RSTC+1, RSTC+2, RSTC+3
    >> RX0 ST+6*, ST+8, ST+9, ST+12, OEL+10*, OEL+11, OEL+22, OEL+23, OEL+26, OEL+27
    , OEL+28, OEL+29
    >> RX2 ST+6*, ST+8, ST+10, OEL+10*, OEL+11, OEL+12, OEL+22, OEL+24
    >> RX3 ST+6*, OEL+10*, OEL+11
    RXNUM OEL~, OEL+1, OEL+2, OEL+5*
    >> SC ST+14*, OEL+30*, OEL+31*
    >> SCH ST+14*, ST+32*, ST+33*, OEL+30*, OEL+31*
    SD ST~, ST+32*, ST+33*, ST+34*, ST+35*, OEL+4~
    SDT ST~, ST+37!, NVA+2~, NVA+7*, NVA+8, NVA+10, NVA+11, NVA+14, NVA+15, NVA+20
    , NVA+22
    SDT1 ST~, ST+37!, NVA+2~, NVA+15*, NVA+16, NVA+17, NVA+22*, NVA+23, NVA+24
    >> SG ST+35*
    >> ST ST+11*, ST+12, OEL+25*, OEL+26
    >> ST0 ST+10*, ST+11, OEL+24*, OEL+25
    >> STA ST+6*, ST+10, OEL+10*, OEL+24
    >> TFN ST+2*, ST+6*, ST+8, ST+9, ST+12, ST+13, ST+14, ST+15, ST+17, ST+18
    , ST+19, ST+22, ST+23, ST+29*, ST+30, ST+31, ST+32, ST+33, ST+34, ST+35
    , ST+36, TMPBLD*, TMPBLD+1, TMPBLD+2, TMPBLD+3
    >> TRM ST+6*, ST+7*, ST+8, OEL+10*, OEL+14*, OEL+26
    VIEW OCL~, OCL+5, ST+36
    X ST+2, ST+20*, ST+37!, OEL+34*, NVA+3*, NVA+4, NVA+5, NVA+6, NVA+7, NVA+12
    , NVA+18, NVA+20, NVA+25, TMPBLD+1, TMPBLD+2, TMPBLD+3
    >> X1 ST+2*
    >> X2 ST+2*
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All