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

Package: Outpatient Pharmacy

Routine: PSOHLNE3


Information

PSOHLNE3 ;BIR/LE - Process Edit Information from CPRS ;02/27/04

Source Information

Source file <PSOHLNE3.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Outpatient Pharmacy 5 ACTLOG^PSOCPA  EN^PSOHLNE3  COPAY^PSOHLNE4  ($$LF,CHRG)^PSOPFSU1  (FILE2,SCP,SHAD)^PSORN52D  
VA FileMan 2 NOW^%DTC  ($$GET1,GETS)^DIQ  
Integrated Billing 1 XTYPE^IBARX  
Kernel 1 $$PATCH^XPDUTL  
National Drug File 1 $$CPTIER^PSNAPIS  

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

Package Total Caller Graph
Outpatient Pharmacy 2 PSOHLNE3  PSOHLNEW  
Order Entry Results Reporting 1 ORWDBA7  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,ORITEM,ORIEN,ORDX,ORSCEI) ;ENTRY POINT
; Used to import edit information from CPRS
  • ICR #4666
    • Status: Active
    • Usage: Private
    ICD2 ;Check to see if SC/EI changed during CPRS sign order
    CPAY ;
    CPAY1 ;
    CSKP ;
    COPAYRE1 ;
    CHOC ;check outpatient classifications
    ALOG ;set activity log with edit info from cprs
    CHKOI ;get and compare orderable items in file #100 and #52; don't process
    ; if it's different and the placer # is null.
    TEST(ORIEN) ;manually test an individual order record
    OBXNTE ; Called from PSOHLNEW due to it's routine size.

    External References

    Name Field # of Occurrence
    NOW^%DTC CSKP+8, CSKP+15, ALOG+4
    $$GET1^DIQ EN+28, EN+31, CHKOI+4, CHKOI+5
    GETS^DIQ EN+20, ICD2+1, CHKOI+3
    XTYPE^IBARX CPAY+3
    $$CPTIER^PSNAPIS CSKP+15
    ACTLOG^PSOCPA ICD2+38
    EN^PSOHLNE3 TEST+8
    COPAY^PSOHLNE4 ICD2+46
    $$LF^PSOPFSU1 ICD2+27
    CHRG^PSOPFSU1 ICD2+43, ICD2+48
    FILE2^PSORN52D ICD2+21
    SCP^PSORN52D EN+35
    SHAD^PSORN52D EN+46
    $$PATCH^XPDUTL EN+46, ICD2+11, TEST+5

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    100.001 GET1^DIQ
    ^ORD(101.43 - [#101.43] GET1^DIQ
    ^PSDRUG - [#50] GETS^DIQ
    ^PSRX - [#52] GET1^DIQ,  GETS^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^OR(100 - [#100] TEST+2, TEST+3, TEST+7
    ^PS(53 - [#53] EN+38, EN+39, ICD2+36, CSKP+2
    ^PS(59 - [#59] CPAY+3
    ^PSDRUG - [#50] EN+28
    ^PSRX - [#52] EN+17, EN+18, EN+29, EN+40, ICD2+28, ICD2+30, ICD2+37*, ICD2+38*, CPAY+2, CSKP+16*
    ALOG+2, ALOG+3, ALOG+5*
    ^XTMP("PSOTIEREFTST" CSKP+11

    Label References

    Name Line Occurrences
    ALOG ICD2+34, ICD2+49
    CHKOI EN+25
    CHOC ICD2+4, ICD2+5, ICD2+6, ICD2+7, ICD2+8, ICD2+9, ICD2+10, ICD2+11
    COPAYRE1 CSKP+13
    CPAY ICD2+31
    CPAY1 CPAY1+3
    CSKP CPAY1+2

    Naked Globals

    Name Field # of Occurrence
    ^(0 EN+28

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % EN+10~, CSKP+10, ALOG+5
    ACNT ALOG+1~, ALOG+2*, ALOG+4*, ALOG+5
    ACTYP CPAY+1~, CPAY+4*, CPAY1+2*
    ARRAY EN+10~
    ARRAY(52 EN+21, EN+22, EN+23*, EN+24, EN+25, CHKOI+2, CHKOI+3, CHKOI+6
    BL CPAY+1~, CPAY+4*, CPAY1+2*
    CPDATE CSKP+15~*!
    DA EN+10~
    DFN EN~, EN+22, CPAY+3, TEST+1~, TEST+7*, TEST+8
    >> DRG CSKP+15
    DX EN+10~, EN+47*, ICD2+16*, ICD2+17*, ICD2+18
    DX2 EN+10~, EN+47*, ICD2+16*, ICD2+19
    DX3 EN+10~, ICD2+16*, ICD2+17*, ICD2+19
    EDFLG TEST+1~
    I TEST+1~, TEST+2*, TEST+4*
    III CPAY+1~, CPAY1+2*
    JJ TEST+1~, TEST+2*
    >> LL OBXNTE+1*, OBXNTE+2, OBXNTE+3, OBXNTE+4, OBXNTE+5
    >> LLL OBXNTE+4*, OBXNTE+5
    >> MSG( OBXNTE+2, OBXNTE+3, OBXNTE+4, OBXNTE+5
    >> OBXAR( OBXNTE+3*, OBXNTE+5*
    >> OCOUNT OBXNTE+3, OBXNTE+5
    OICHK EN+10~, EN+25*, CHKOI+2*, CHKOI+6*
    ORDPROV EN+10~
    ORDX EN~, TEST+1~, TEST+8
    ORDX( EN+47, TEST+2*
    ORID EN+10~, CHKOI+5*, CHKOI+6
    ORIEN EN~, EN+13*, EN+24, CHKOI+4, TEST~, TEST+2, TEST+3, TEST+7, TEST+8
    ORITEM EN~, EN+13*, EN+17, TEST+1~, TEST+3*, TEST+7, TEST+8
    ORITEM2 EN+10~, CHKOI+4*, CHKOI+5
    ORSCEI EN~, EN+13*, EN+34*, EN+36, EN+37, EN+38, EN+39, EN+41, EN+42, EN+43
    , EN+44, EN+45, TEST+1~, TEST+4*, TEST+5*, TEST+6*, TEST+8
    ORSCEIS TEST+1~, TEST+3*, TEST+4, TEST+5
    PREA EN+11~, ICD2+38*
    PSOANSQ EN+10~
    PSOANSQ( EN+36*, EN+37*, EN+38*, EN+39*, EN+40*, EN+41*, EN+42*, EN+43*, EN+44*, EN+45*
    ICD2+6, CHOC+1
    PSOANSQ("SC" EN+38*, EN+40*, ICD2+12
    PSOANSQ("SC>50" EN+39*
    >> PSOBCT OBXNTE+1*, OBXNTE+3*, OBXNTE+5*
    PSOBILL EN+12~, CPAY+4*, CPAY1+2*, CSKP+4
    PSOCICD EN+12~, ICD2+30*, ICD2+33
    PSOCOMM EN+11~
    PSOCPAY EN+12~, ICD2+37, ICD2+38, CPAY+4*, CPAY1+2*, CSKP+1*, CSKP+2*, CSKP+3*, CSKP+4*, CSKP+16*
    CSKP+17*
    PSOCPT CSKP+15~*, CSKP+16, CSKP+17
    PSODA EN+11~, ICD2+38*
    PSODCPY EN+11~, ICD2+2*, ICD2+3, ICD2+12*, ICD2+14, ICD2+20, ICD2+35, ICD2+46, ICD2+48, ICD2+49
    CHOC+1*
    PSODCZ EN+11~, EN+16*, ICD2+24
    PSODD EN+12~, EN+28*
    PSODGUP EN+11~, ICD2+15*, ICD2+18*, ICD2+19*, ICD2+20, ICD2+33, ICD2+48, ICD2+49
    PSOEXMPT CPAY1+1~, CSKP+1*, CSKP+17
    PSOFLD EN+11~, ICD2+2*, ICD2+3*, ICD2+4, ICD2+5, ICD2+6, ICD2+7, ICD2+8, ICD2+9, ICD2+10
    ICD2+11, ICD2+12*, CHOC+1
    PSOIBQC EN+11~, ICD2+30*, ICD2+33, CSKP+3
    PSOLFIL ICD2+27~*, ICD2+28, ICD2+43, ICD2+48
    PSONEW EN+11~
    PSONEW("PATIE NT STATUS" , EN+31*, EN+32*
    PSONW EN+11~, ICD2+38*
    PSOOI EN+10~
    PSOOI(50 CHKOI+6
    PSOOIBQ EN+11~
    PSOOICD EN+11~
    PSOOICD( ICD2+12, ICD2+15, ICD2+16, ICD2+18, CHOC+1
    PSOOLD EN+11~, ICD2+38*
    PSOPFS EN+11~, ICD2+28*, ICD2+39!, ICD2+40!, ICD2+41*, ICD2+43, ICD2+48
    PSOPIBQ EN+11~, EN+29*, ICD2+33
    PSOPICD EN+11~, EN+29*, ICD2+33
    PSORENW EN+10~
    PSORENW("IRXN" EN+30*
    PSORX EN+10~
    PSORX("ICD" EN+47*, ICD2+15, ICD2+17, ICD2+18
    PSOSCA EN+11~
    PSOSCP EN+10~, EN+38, EN+39, EN+40, ICD2+35
    PSOSCP2 EN+10~, EN+48*
    PSOSI EN+12~, EN+28*, ICD2+36, ICD2+38, CSKP+1
    PSOSITE EN+12~, CPAY+2*, CPAY+3
    PSOSTAZ EN+11~, EN+18*, ICD2+24
    PSOTIERE CSKP+8~, CSKP+9*, CSKP+10*, CSKP+11*, CSKP+13
    PSOX EN+10~
    PSOX("IRXN" EN+30*, EN+36, EN+37, EN+38, EN+39, EN+40, EN+41, EN+42, EN+43, EN+44
    , EN+45, ICD2+1, ICD2+6, ICD2+12, ICD2+18, CHOC+1
    PTSTATUS EN+10~, EN+31*, EN+32*, EN+38, EN+39, ICD2+36, CSKP+2
    RET EN+10~, EN+16*, EN+17*, EN+21*, EN+22*, EN+24*, EN+25*, ICD2+24*, ICD2+33, ICD2+50
    RF ALOG+1~, ALOG+3*
    RFCNT ALOG+1~, ALOG+3*, ALOG+5
    RXN EN+10~, EN+17*, EN+18, EN+20, EN+21, EN+22, EN+23, EN+24, EN+25, EN+28
    , EN+29, EN+30, EN+31, EN+40, ICD2+15, ICD2+27, ICD2+28, ICD2+30, ICD2+37, ICD2+38
    ICD2+43, ICD2+48, CPAY+2, CSKP+16, ALOG+2, ALOG+3, ALOG+5, CHKOI+2, CHKOI+3, CHKOI+6
    , TEST+7*
    SUB ALOG+1~, ALOG+2*
    TYPE EN+11~, ICD2+3*, ICD2+4, ICD2+5, ICD2+6, ICD2+7, ICD2+8, ICD2+9, ICD2+10, ICD2+11
    CHOC+1
    U EN+36, EN+37, EN+38, EN+39, EN+41, EN+42, EN+43, EN+44, EN+45
    X EN+12~, CPAY+1~, CPAY+3*, CSKP+15~!, TEST+1~
    Y CPAY+1~
    Y( CPAY1+2
    >> ZZ OBXNTE+1
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All