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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: PSOBPSU1

Package: Outpatient Pharmacy

Routine: PSOBPSU1


Information

PSOBPSU1 ;BIRM/MFR - BPS (ECME) Utilities 1 ;10/15/04

Source Information

Source file <PSOBPSU1.m>

Call Graph

Call Graph

Call Graph Total: 21

Package Total Call Graph
Outpatient Pharmacy 10 EN^PSOBORP2  $$LSTRFL^PSOBPSU1  (ELIG,ELOG,RXACT)^PSOBPSU2  ($$CMOP,$$RXRLDT,$$RXSITE,$$STATUS)^PSOBPSUT  ($$GETNDC,$$GPPDU,SAVNDC)^PSONDCUT  $$TRIC^PSOREJP1  $$PSOET^PSOREJP3  RETRXF^PSOREJU2  
TRICCHK^PSOREJU3  CLSALL^PSOREJUT  
E Claims Management Engine 6 $$CLAIM^BPSBUTL  $$EN^BPSNCPDP  $$RESPONSE^BPSOS03  LOG^BPSOSL  $$IEN59^BPSOSRX  ($$CMOPON,$$ECMEON)^BPSUTIL  
VA FileMan 2 ($$GET1,GETS)^DIQ  ^DIR  
Integrated Billing 1 $$STORESP^IBNCPDP  
Kernel 1 $$DT^XLFDT  
Pharmacy Data Management 1 ($$GETNDC,$$NDCFMT)^PSSNDCUT  

Caller Graph

Caller Graph Total: 74

Package Total Caller Graph
Outpatient Pharmacy 61 PSOATRF  PSOATRF1  PSOATRFC  PSOATRFV  PSOAUTOC  PSOBORP3  PSOBPSU1  PSOBPSU2  
PSOBPSU3  PSOBPSUT  PSOCAN3  PSOCMOP  PSODAWUT  PSODISPS  PSOERUT  PSOERUT6  
PSOHLD  PSOHLDA  PSOHLDC  PSOHLEXP  PSOHLNEW  PSOLLLH  PSOMAUEX  PSON52  
PSONDCUT  PSONDCV  PSOORED1  PSOORED2  PSOORED6  PSOORED7  PSOOREDT  PSOORUT1  
PSOORUTL  PSOPKIV1  PSOPMP1  PSOPRK  PSOPRKA  PSOR52  PSOREJP1  PSOREJP2  
PSOREJP3  PSOREJU1  PSOREJU2  PSOREJU3  PSOREJU4  PSOREJUT  PSORESK  PSORN52  
PSORXDL  PSORXED1  PSORXL1  PSORXPA1  PSORXRP2  PSOSULB1  PSOSULBL  PSOSUPAT  
PSOSUPOE  PSOSUPRX  PSOTRI  PSOVER1  PSOVERC  
E Claims Management Engine 7 BPSBCKJ  BPSPRRX2  BPSPSOU1  BPSRES  BPSSCRRS  BPSSCRRV  BPSSCRU2  
CMOP 2 PSXRPPL1  PSXRPPL2  
Integrated Billing 2 IBJTPE  IBNCPDPU  
Controlled Substances 1 PSDDSOR1  
My HealtheVet 1 MHVPRNA  

Entry Points

Name Comments DBIA/ICR reference
ECMESND(RX,RFL,DATE,FROM,NDC,CMOP,RVTX,OVRC,CNDC,RESP,IGSW,ALTX,CLA,PA,RXCOB,PSOVRIEN,PSOPLAN,PSORTYPE) ; - Sends Rx Release
  • ICR #4702
    • Status: Active
    • Usage: Controlled Subscription
    BYPASS(PSOELIG,REASON) ;PSO*427
    ; Check if this Rx gets bypassed. Bypassed Rx show up on the TRICARE/CHAMPVA
    ; Override/Bypass Report and will not get the Reject Notification Screen.
    RRR(PSORX,PSOFILL) ; Check for an RRR reject on a Prescription/Fill.
    ; MRD;PSO*7.0*448 - New function to support display of additional
    ; information for RRR resubmits. Return '1' if this Rx has a reject
    ; with the RRR flag set, otherwise return '0'.
    ; Input: (r) PSORX - Rx IEN (#52)
    ; (o) PSOFILL - Refill#
    ; Output: '1' if RRR, '0' if not
    ADDLINFO(PSORX,PSOFILL,PSOCOB) ; Display additional information for RRR resubmits.
    ; MRD;PSO*7.0*448 - Display addition information for a paid claim.
    ; Input: (r) PSORX - Rx IEN (#52)
    ; (o) PSOFILL - Refill#
    ; (o) PSOCOB - Payer Sequence
    REVERSE(RX,RFL,FROM,RSN,RTXT,IGRL,NDC) ; - Reverse a claim and close all OPEN/UNRESOLVED Rejects
    DOS(RX,RFL,DATE) ; Return the Date Of Service for ECME
    RELEASE(RX,RFL,USR) ; - Notifies IB that the Rx was RELEASED
    LSTRFL(RX) ; - Returns the latest fill for the Rx
    ; Input: (r) RX - Rx IEN (#52)
  • ICR #4702
    • Status: Active
    • Usage: Controlled Subscription
    ECMEACT(RX,RFL,COMM,USR) ; - Add an Act to the ECME Act Log (FILE 52)
  • ICR #4702
    • Status: Active
    • Usage: Controlled Subscription
    STS(RX,RFL,RSP) ; Adds the Status to the ECME Act Log according to Rx/fill claim status Response

    External References

    Name Field # of Occurrence
    $$CLAIM^BPSBUTL RELEASE+10
    $$EN^BPSNCPDP ECMESND+64, REVERSE+23
    $$RESPONSE^BPSOS03 ADDLINFO+21
    LOG^BPSOSL ECMESND+134, ECMESND+135
    $$IEN59^BPSOSRX ECMESND+134, ECMESND+135
    $$CMOPON^BPSUTIL ECMESND+30
    $$ECMEON^BPSUTIL ECMESND+28
    $$GET1^DIQ ECMESND+36, ECMESND+109, RRR+20, RRR+21, REVERSE+18
    GETS^DIQ RELEASE+7, RELEASE+16
    ^DIR ADDLINFO+33
    $$STORESP^IBNCPDP RELEASE+20
    EN^PSOBORP2 ECMESND+84
    $$LSTRFL^PSOBPSU1 ECMEACT+5
    ELIG^PSOBPSU2 ECMESND+80
    ELOG^PSOBPSU2 ECMESND+132
    RXACT^PSOBPSU2 ECMESND+94, ECMESND+100, ECMESND+131, REVERSE+28, ECMEACT+6
    $$CMOP^PSOBPSUT REVERSE+22
    $$RXRLDT^PSOBPSUT REVERSE+16, DOS+7, RELEASE+13
    $$RXSITE^PSOBPSUT ECMESND+28, ECMESND+30, ECMESND+36
    $$STATUS^PSOBPSUT ECMESND+51, ECMESND+65, REVERSE+10, REVERSE+19, STS+2, STS+5
    $$GETNDC^PSONDCUT ECMESND+34, ECMESND+110, ECMESND+111, ECMESND+112, ECMESND+113, ECMESND+114, ECMESND+115, REVERSE+23, RELEASE+12
    $$GPPDU^PSONDCUT ECMESND+38
    SAVNDC^PSONDCUT ECMESND+37, ECMESND+66
    $$TRIC^PSOREJP1 REVERSE+24
    $$PSOET^PSOREJP3 REVERSE+9
    RETRXF^PSOREJU2 ECMESND+78, REVERSE+18
    TRICCHK^PSOREJU3 ECMESND+136
    CLSALL^PSOREJUT ECMESND+60, REVERSE+15
    $$GETNDC^PSSNDCUT ECMESND+36
    $$NDCFMT^PSSNDCUT ECMESND+35
    $$DT^XLFDT DOS+9

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Total Amount Paid: ",$P(PSORESP,U,1)
    • Line Location: ADDLINFO+24
    Function Call: WRITE
    • Prompt: ?39,"Ingredient Cost Paid: ",$P(PSORESP,U,2)
    • Line Location: ADDLINFO+25
    Function Call: WRITE
    • Prompt: !,"Amount of Copay/Coinsurance: ",$P(PSORESP,U,3)
    • Line Location: ADDLINFO+26
    Function Call: WRITE
    • Prompt: ?39,"Dispensing Fee Paid: ",$P(PSORESP,U,4)
    • Line Location: ADDLINFO+27
    Function Call: WRITE
    • Prompt: !,"Amount Applied to Periodic Deductible: ",$P(PSORESP,U,5)
    • Line Location: ADDLINFO+28
    Function Call: WRITE
    • Prompt: !,"Remaining Deductible Amount: ",$P(PSORESP,U,6)
    • Line Location: ADDLINFO+29
    Function Call: WRITE
    • Prompt: !
    • Line Location: ADDLINFO+32
    Function Call: WRITE
    • Prompt: !
    • Line Location: ADDLINFO+34
    Routine Call
    • DIR
    • Line Location:
      • ADDLINFO+33

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PSRX - [#52] GET1^DIQ,  GETS^DIQ
    52.1 GET1^DIQ,  GETS^DIQ
    52.25 GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PSRX - [#52] RRR+19, LSTRFL+4

    Label References

    Name Line Occurrences
    $$BYPASS ECMESND+83
    $$DOS ECMESND+64, REVERSE+23, RELEASE+13
    $$LSTRFL ECMESND+26, REVERSE+8, DOS+5, RELEASE+5
    $$RRR ECMESND+73
    $$STS ECMESND+121, ECMESND+122, REVERSE+27
    ADDLINFO ECMESND+73

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ACT ECMESND+25~, ECMESND+50*, ECMESND+51*, ECMESND+52*, ECMESND+93, ECMESND+99, ECMESND+120*, ECMESND+121*, ECMESND+122*, ECMESND+123*
    , ECMESND+124*, ECMESND+125*, ECMESND+126*, ECMESND+127*, ECMESND+130*, ECMESND+131, REVERSE+11~, REVERSE+27*, REVERSE+28
    ACT1 ECMESND+25~, ECMESND+128*, ECMESND+129*, ECMESND+130
    ALTX ECMESND~, ECMESND+104*, ECMESND+107, ECMESND+122
    CLA ECMESND~, ECMESND+42, ECMESND+44, ECMESND+58, ECMESND+60, ECMESND+64, ECMESND+98, ECMESND+99
    CLSCOM ECMESND+55~, ECMESND+57*, ECMESND+58*, ECMESND+59*, ECMESND+60
    CMOP ECMESND~, ECMESND+30, ECMESND+36, ECMESND+37, ECMESND+66
    CNDC ECMESND~, ECMESND+32, ECMESND+120
    COMM ECMEACT~, ECMEACT+6
    DA ECMESND+25~, REVERSE+11~
    DATE ECMESND~, ECMESND+64, DOS~, DOS+7*, DOS+9*, DOS+10
    >> DFN RELEASE+8*, RELEASE+20
    DIR ADDLINFO+15~
    DIR("A" ADDLINFO+31*
    DIR(0 ADDLINFO+31*
    DIROUT ADDLINFO+15~
    DIRUT ADDLINFO+15~
    DT DOS+9
    DTOUT ADDLINFO+15~
    DUOUT ADDLINFO+15~
    DUZ ECMESND+60, ECMESND+94, ECMESND+100, ECMESND+131, REVERSE+15, REVERSE+28
    FROM ECMESND~, ECMESND+38, ECMESND+63, ECMESND+64, ECMESND+66, ECMESND+73, ECMESND+109, ECMESND+110, ECMESND+111, ECMESND+112
    , ECMESND+113, ECMESND+114, ECMESND+115, ECMESND+116, ECMESND+117, ECMESND+135, ECMESND+136, REVERSE~, REVERSE+22, REVERSE+23
    I LSTRFL+3~, LSTRFL+4*
    IBAR RELEASE+4~, RELEASE+20
    IBAR("CLAIMID" RELEASE+10*
    IBAR("DAYS SU PPLY" , RELEASE+14*, RELEASE+18*
    IBAR("DOS" RELEASE+13*
    IBAR("DRUG" RELEASE+12*
    IBAR("FILL NU MBER" , RELEASE+13*
    IBAR("NDC" RELEASE+12*
    IBAR("PRESCRIPTION" RELEASE+9*
    IBAR("QTY" RELEASE+14*, RELEASE+17*
    IBAR("RELEASE DATE" , RELEASE+13*
    IBAR("RX NO" RELEASE+9*
    IBAR("STATUS" RELEASE+19*
    IBAR("USER" RELEASE+11*
    IGRL REVERSE~, REVERSE+16
    IGSW ECMESND~, ECMESND+28, ECMESND+30
    LSTRFL LSTRFL+3~, LSTRFL+4*, LSTRFL+5
    MSG ECMESND+90~, ECMESND+93*, ECMESND+94, ECMESND+99*, ECMESND+100
    NDC ECMESND~, ECMESND+33, ECMESND+35, ECMESND+36*, ECMESND+37, ECMESND+38, ECMESND+64, ECMESND+66, REVERSE~, REVERSE+27
    NDCACT ECMESND+25~, ECMESND+33*, ECMESND+34*, ECMESND+120
    NOACT REVERSE+11~, REVERSE+19*, REVERSE+20*, REVERSE+26
    OVRC ECMESND~, ECMESND+42, ECMESND+43, ECMESND+57, ECMESND+60, ECMESND+64, ECMESND+92, ECMESND+93, ECMESND+119
    PA ECMESND~, ECMESND+43, ECMESND+44, ECMESND+59, ECMESND+60, ECMESND+64, ECMESND+100, ECMESND+103, ECMESND+104
    PPDU ECMESND+38*!
    PSOBYPS ECMESND+25~, ECMESND+83*, ECMESND+84, ECMESND+135, ECMESND+136
    PSOCOB ADDLINFO~, ADDLINFO+19*, ADDLINFO+21
    PSOELIG ECMESND+25~, ECMESND+80*, ECMESND+83, ECMESND+126, ECMESND+127, ECMESND+135, ECMESND+136, BYPASS~, BYPASS+12, BYPASS+16
    , STS+5
    PSOET REVERSE+9~*, REVERSE+10
    PSOFILL RRR~, RRR+11*, RRR+20, ADDLINFO~, ADDLINFO+18*, ADDLINFO+21
    PSOIBN RELEASE+4~, RELEASE+20*
    PSOPLAN ECMESND~, ECMESND+64
    PSOREJ RRR+8~, RRR+18*, RRR+19*, RRR+20, RRR+21
    PSORESP ADDLINFO+15~, ADDLINFO+21*, ADDLINFO+22, ADDLINFO+24, ADDLINFO+25, ADDLINFO+26, ADDLINFO+27, ADDLINFO+28, ADDLINFO+29
    PSORRR RRR+8~, RRR+17*, RRR+19, RRR+21*, RRR+24
    PSORTYPE ECMESND~, ECMESND+64
    PSORX RRR~, RRR+10, RRR+19, RRR+20, RRR+21, ADDLINFO~, ADDLINFO+17, ADDLINFO+21
    PSOTRIC REVERSE+24~*, REVERSE+27
    PSOVRIEN ECMESND~, ECMESND+64
    REASON BYPASS~, BYPASS+13, BYPASS+19
    RESP ECMESND~, ECMESND+28*, ECMESND+30*, ECMESND+64*, ECMESND+80, ECMESND+83, ECMESND+84, ECMESND+89, ECMESND+121, ECMESND+122
    , ECMESND+123, ECMESND+124, ECMESND+125, ECMESND+129, ECMESND+132, ECMESND+134, ECMESND+136, REVERSE+11~, REVERSE+23*, REVERSE+27
    , STS+4
    REVECME REVERSE+11~*, REVERSE+22*, REVERSE+23, REVERSE+26
    RFAR RELEASE+4~
    RFAR( RELEASE+17, RELEASE+18
    RFL ECMESND~, ECMESND+26*, ECMESND+28, ECMESND+30, ECMESND+34, ECMESND+36, ECMESND+37, ECMESND+38, ECMESND+51, ECMESND+60
    , ECMESND+64, ECMESND+65, ECMESND+66, ECMESND+73, ECMESND+78, ECMESND+80, ECMESND+84, ECMESND+94, ECMESND+100, ECMESND+109
    , ECMESND+110, ECMESND+111, ECMESND+112, ECMESND+113, ECMESND+114, ECMESND+115, ECMESND+121, ECMESND+122, ECMESND+131, ECMESND+134
    , ECMESND+135, ECMESND+136, REVERSE~, REVERSE+8*, REVERSE+9, REVERSE+10, REVERSE+15, REVERSE+16, REVERSE+18, REVERSE+19
    , REVERSE+22, REVERSE+23, REVERSE+24, REVERSE+27, REVERSE+28, DOS~, DOS+5*, DOS+7, RELEASE~, RELEASE+5*
    , RELEASE+10, RELEASE+12, RELEASE+13, RELEASE+15, RELEASE+16, RELEASE+17, RELEASE+18, ECMEACT~, ECMEACT+5*, ECMEACT+6
    , STS~, STS+2, STS+5
    ROUTE ECMESND+108~*, ECMESND+109*, ECMESND+110, ECMESND+111
    RSN REVERSE~, REVERSE+11*, REVERSE+12, REVERSE+13, REVERSE+14, REVERSE+15, REVERSE+18
    RSP STS~, STS+3, STS+4, STS+5
    RTXT REVERSE~, REVERSE+11*, REVERSE+12, REVERSE+13*, REVERSE+14*, REVERSE+15, REVERSE+23, REVERSE+27
    RVTX ECMESND~, ECMESND+47*, ECMESND+63*, ECMESND+64, ECMESND+118, ECMESND+136
    RX ECMESND~, ECMESND+26, ECMESND+28, ECMESND+30, ECMESND+34, ECMESND+36, ECMESND+37, ECMESND+38, ECMESND+51, ECMESND+60
    , ECMESND+64, ECMESND+65, ECMESND+66, ECMESND+73, ECMESND+78, ECMESND+80, ECMESND+84, ECMESND+94, ECMESND+100, ECMESND+109
    , ECMESND+110, ECMESND+111, ECMESND+112, ECMESND+113, ECMESND+114, ECMESND+115, ECMESND+121, ECMESND+122, ECMESND+131, ECMESND+134
    , ECMESND+135, ECMESND+136, REVERSE~, REVERSE+8, REVERSE+9, REVERSE+10, REVERSE+15, REVERSE+16, REVERSE+18, REVERSE+19
    , REVERSE+22, REVERSE+23, REVERSE+24, REVERSE+27, REVERSE+28, DOS~, DOS+5, DOS+7, RELEASE~, RELEASE+5
    , RELEASE+7, RELEASE+8, RELEASE+9, RELEASE+10, RELEASE+12, RELEASE+13, RELEASE+14, RELEASE+16, RELEASE+17, RELEASE+18
    , LSTRFL~, LSTRFL+4, ECMEACT~, ECMEACT+5, ECMEACT+6, STS~, STS+2, STS+5
    RXAR RELEASE+4~
    RXAR(52 RELEASE+8, RELEASE+9, RELEASE+12, RELEASE+14
    RXCOB ECMESND~, ECMESND+64, ECMESND+73
    SMA ECMESND+25~, ECMESND+41*, ECMESND+42*, ECMESND+43*, ECMESND+44*, ECMESND+56, ECMESND+89, ECMESND+119
    STAT ECMESND+62~, REVERSE+11~
    STATUS REVERSE+11~, REVERSE+19*, REVERSE+20
    STS REVERSE+11~, STS+1~, STS+2*, STS+3*, STS+4*, STS+5*, STS+6
    U ADDLINFO+24, ADDLINFO+25, ADDLINFO+26, ADDLINFO+27, ADDLINFO+28, ADDLINFO+29, RELEASE+10
    USR RELEASE~, RELEASE+6*, RELEASE+11, ECMEACT~, ECMEACT+6
    X ECMESND+108~*, ECMESND+110*, ECMESND+111*, ECMESND+112*, ECMESND+113*, ECMESND+114*, ECMESND+115*, ECMESND+116*, ECMESND+117*, ECMESND+118*
    , ECMESND+119*, ECMESND+120*, ADDLINFO+15~
    Y ADDLINFO+15~

    Marked Items

    Name Field # of Occurrence
    $T( ECMESND+134, ECMESND+135
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All