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  | All
Print Page as PDF
Routine: BPSTEST

Package: E Claims Management Engine

Routine: BPSTEST


Information

BPSTEST ;OAK/ELZ - ECME TESTING TOOL ;11/15/07 09:55

Source Information

Source file <BPSTEST.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
VA FileMan 6 C^%DTC  ^DIC  ^DIE  ^DIK  $$GET1^DIQ  ^DIR  
E Claims Management Engine 4 ($$IEN59,RUNNING)^BPSOSRX  $$PROMPT^BPSSCRU4  SETOVER^BPSTEST2  ($$PROMPTRX,RXAPI,RXSUBF)^BPSUTIL1  
Kernel 3 ^%ZTLOAD  ($$FMADD,$$NOW)^XLFDT  $$PROD^XUPROD  

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

Package Total Caller Graph
E Claims Management Engine 6 BPSECMPS  BPSNCPD4  BPSNCPD5  BPSNCPD9  BPSOSRX3  BPSTEST2  

Entry Points

Name Comments DBIA/ICR reference
GETOVER(KEY1,KEY2,BPSORESP,BPSWHERE,BPSTYPE,BPPAYSEQ) ;
; called by BPSNCPDP to enter overrides for a particular RX
; INPUT
; KEY1 - Prescription IEN/Patient IEN
; KEY2 - Fill Number/Policy Number
; BPSORESP - Previous response when this claim was processed
; BPSWHERE - RX Action passed into BPSNCPDP
; BPSTYPE - R (Reversal), S (Submission), E (Eligibility)
; BPPAYSEQ - payer sequence 1 - primary, 2 - secondary
; OUTPUT
; None - Table BPS PAYER RESPONSE OVERRIDE entry is created.
SUBMISSION ; Submission Reponse Questions
SR ;
SELFLD ; Allow the user to Select a Response field
SELFLD1 ;
SFEXIT ;
CHKDD(BPSY) ;
; Check NCPDP field and verify that it's in 9002313.32
SETOVER(BPSTRANS,BPSTYPE,BPSDATA) ;
; called by BPSECMPS to set the override data
; Input
; BPSTRANS - Transaction IEN
; BPSTYPE - B1 for submission, B2 for reversals
; Output
; BPSDATA - Passed by reference and updated with appropriate overrides
SELOVER ;
; Used to create overrides for prescription that will processed in the
; background (CMOP, auto-reversals). The user is prompted for the
; prescription and other information and then calls GETOVER. It is called
; by option BPS PROVIDER RESPONSE OVERRIDES
CHECK() ;
; Check if Test Mode is ON in the BPS Setup table
; Also called by BPSNCPDP and BPSEMCPS
CREATE(BPSTRANS) ;
; Create the Override record
FILE(DIE,DA,BPSFLD,BPSDATA) ;
; File in the Override record
PROMPT(DA,BPSFLD,BPSDFLT) ;
; Prompt for a specific field and set the data
REJECTS(BPSTIEN) ; BPS*1*22
SETDELAY(BPSTRANS) ;
; Input
; BPSTRANS - Transaction IEN
; Check the Test Flag in set in BPS SETUP
RUNECME ;
SETREJ(BPSTRANS) ;
ENREVRJ(BPSTRANS) ;

External References

Name Field # of Occurrence
C^%DTC ENREVRJ+6
^%ZTLOAD SETDELAY+17
$$IEN59^BPSOSRX GETOVER+24
RUNNING^BPSOSRX RUNECME+1
$$PROMPT^BPSSCRU4 ENREVRJ+2
SETOVER^BPSTEST2 SETOVER+23
$$PROMPTRX^BPSUTIL1 SELOVER+15
RXAPI^BPSUTIL1 SELOVER+16
RXSUBF^BPSUTIL1 SELOVER+21
^DIC GETOVER+28, SELFLD1+9, CREATE+5
^DIE FILE+5, PROMPT+5, REJECTS+7
^DIK GETOVER+44
$$GET1^DIQ GETOVER+67, GETOVER+75, SUBMISSION+3, SELFLD1+16, CHKDD+4, SETDELAY+9
^DIR GETOVER+39, SR+14, SELOVER+24, SELOVER+31
$$FMADD^XLFDT SETDELAY+11, SETDELAY+16
$$NOW^XLFDT SETDELAY+11, SETDELAY+16
$$PROD^XUPROD CHECK+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"The testing tool cannot be run from Date of Death option"
  • Line Location: GETOVER+18
Function Call: WRITE
  • Prompt: !!,"Payer Overrides are enabled at this site. If this is production environment,"
  • Line Location: GETOVER+32
Function Call: WRITE
  • Prompt: !,"do not enter overrides (enter No at the next prompt) and disable this"
  • Line Location: GETOVER+33
Function Call: WRITE
  • Prompt: !,"functionality in the BPS SETUP table."
  • Line Location: GETOVER+34
Function Call: WRITE
  • Prompt: !!,"Entering No at the next prompt will delete any current overrides for the"
  • Line Location: GETOVER+35
Function Call: WRITE
  • Prompt: !,"request, if they exist.",!
  • Line Location: GETOVER+36
Function Call: WRITE
  • Prompt: !,"Failed to create the BPS PAYER RESPONSE OVERRIDE record",!
  • Line Location: GETOVER+48
Function Call: WRITE
  • Prompt: !!,"This submission may also have a reversal so you will be prompted for the"
  • Line Location: GETOVER+59
Function Call: WRITE
  • Prompt: !,"reversal overrides."
  • Line Location: GETOVER+60
Function Call: WRITE
  • Prompt: !!,"Eligibility Questions"
  • Line Location: GETOVER+64
Function Call: WRITE
  • Prompt: !!,"Reversal Questions"
  • Line Location: GETOVER+72
Function Call: WRITE
  • Prompt: !
  • Line Location: GETOVER+81
Function Call: WRITE
  • Prompt: !!,"Submission Questions"
  • Line Location: SUBMISSION+1
Function Call: WRITE
  • Prompt: !,*7,"Must select at least one reject."
  • Line Location: SR+5
Function Call: WRITE
  • Prompt: !
  • Line Location: SR+14
Function Call: WRITE
  • Prompt: !
  • Line Location: SELFLD1+8
Function Call: WRITE
  • Prompt: !,?4,"Can't choose that one, make another selection.",*7
  • Line Location: SELFLD1+24
Function Call: WRITE
  • Prompt: !
  • Line Location: SELFLD1+27
Function Call: WRITE
  • Prompt: !?5,"Another user is editing this entry."
  • Line Location: FILE+6
Function Call: WRITE
  • Prompt: !?5,"Another user is editing this entry."
  • Line Location: PROMPT+6
Function Call: WRITE
  • Prompt: !?5,"Another user is editing this entry."
  • Line Location: REJECTS+8
Routine Call
  • DIC
  • Line Location:
    • GETOVER+28
    • SELFLD1+9
    • CREATE+5
Routine Call
  • DIE
  • Line Location:
    • FILE+5
    • PROMPT+5
    • REJECTS+7
Routine Call
  • DIR
  • Line Location:
    • GETOVER+39
    • SR+14
    • SELOVER+24
    • SELOVER+31

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BPS(9002313.32 - [#9002313.32] Classic Fileman Calls,  GET1^DIQ
^BPSF(9002313.91 - [#9002313.91] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BPS(9002313.32 - [#9002313.32] SR+4, SETOVER+16, REJECTS+4!, SETDELAY+7
^BPS(9002313.99 - [#9002313.99] CHECK+5
^DD(9002313.32 SELFLD1+17, CHKDD+7
^XTMP("BPSTEST" SETREJ+2, ENREVRJ+7*, ENREVRJ+8*

Label References

Name Line Occurrences
$$CHECK GETOVER+15, SETOVER+13, SELOVER+12, SETDELAY+4
$$CREATE GETOVER+47
ENREVRJ GETOVER+76
FILE GETOVER+55
GETOVER SELOVER+40
PROMPT GETOVER+65, GETOVER+73, GETOVER+81, SUBMISSION+2, SUBMISSION+6, SUBMISSION+7, SELFLD1+28
REJECTS GETOVER+68, SR+2
SELFLD SR+17
SELFLD1 SELFLD1+23, SELFLD1+29
SFEXIT SELFLD1+12, SELFLD1+14
SR SR+4
SUBMISSION GETOVER+79

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BPPAYSEQ GETOVER~, GETOVER+24
BPRJCODE ENREVRJ+1~, ENREVRJ+2*, ENREVRJ+3, ENREVRJ+4, ENREVRJ+8
BPS506 SETOVER+10~
BPS507 SETOVER+10~
BPS513 SETOVER+10~
BPS517 SETOVER+10~
BPSAJPAY SETOVER+9~
BPSCOPAY SETOVER+8~
BPSDATA SETOVER~, FILE~, FILE+4
BPSDATA(1 SETREJ+4*, SETREJ+5*
BPSDELAY SETDELAY+5~, SETDELAY+9*, SETDELAY+10, SETDELAY+11, SETDELAY+16
BPSDFLT PROMPT~, PROMPT+4
BPSFIELDIEN SELFLD+1!, SELFLD1+17*, SELFLD1+20, SELFLD1+23, SELFLD1+28
BPSFIELDNAME SELFLD+1!, SELFLD1+16*, SELFLD1+17, SELFLD1+20, CHKDD+3~, CHKDD+4*, CHKDD+7
BPSFLD SELFLD+1!, SELFLD1+12*, SELFLD1+19*, FILE~, FILE+4, PROMPT~, PROMPT+4
BPSFLD( SELFLD1+20*
BPSNFLDT SETOVER+9~
BPSORESP GETOVER~, GETOVER+52, SELOVER+9~, SELOVER+36*, SELOVER+37*, SELOVER+40
BPSPAID SETOVER+8~
BPSRARR SELOVER+9~
BPSRARR( SELOVER+21, SELOVER+22
BPSRCD SETOVER+8~
BPSRCNT SETOVER+8~
BPSRCODE SETOVER+8~
BPSREJ SETREJ+1~, SETREJ+2*, SETREJ+3, SETREJ+4
BPSRESP GETOVER+66~, GETOVER+67*, GETOVER+68, GETOVER+74~, GETOVER+75*, GETOVER+76
BPSRFL SELOVER+9~, SELOVER+21*, SELOVER+22
BPSRIEN SETOVER+8~
BPSRRESP SETOVER+8~
BPSRXARR SELOVER+9~
BPSRXARR(52 SELOVER+17, SELOVER+20
BPSRXFL SELOVER+9~, SELOVER+26*, SELOVER+40
BPSRXIEN SELOVER+9~, SELOVER+15*, SELOVER+16, SELOVER+17, SELOVER+20, SELOVER+21, SELOVER+40
BPSRXNM SELOVER+9~, SELOVER+17*, SELOVER+23
BPSSRESP GETOVER+12~, SUBMISSION+3*, SUBMISSION+5, SR+1, SR+11, SETOVER+8~
BPSTIEN GETOVER+12~, GETOVER+29*, GETOVER+42, GETOVER+43, GETOVER+47*, GETOVER+48, GETOVER+55, GETOVER+65, GETOVER+67, GETOVER+68
, GETOVER+73, GETOVER+75, GETOVER+81, SUBMISSION+2, SUBMISSION+3, SUBMISSION+6, SUBMISSION+7, SR+2, SR+4, SELFLD1+28
, SETOVER+8~, SETOVER+16*, SETOVER+17, CREATE+3~, CREATE+6*, CREATE+7, REJECTS~, REJECTS+4, REJECTS+6, SETDELAY+5~
, SETDELAY+7*, SETDELAY+8, SETDELAY+9
BPSTIME SETDELAY+5~, SETDELAY+11*, SETDELAY+12
BPSTRANS GETOVER+12~, GETOVER+24*, GETOVER+27, GETOVER+47, GETOVER+76, SETOVER~, SETOVER+16, CREATE~, CREATE+4, SETDELAY~
, SETDELAY+7, SETREJ~, SETREJ+2, ENREVRJ~, ENREVRJ+8
BPSTYPE GETOVER~, GETOVER+52*, GETOVER+55, GETOVER+58, GETOVER+63, GETOVER+71, GETOVER+79, SETOVER~, SELOVER+9~, SELOVER+33*
SELOVER+37*, SELOVER+40
BPSUNDEF SETOVER+8~
BPSWHERE GETOVER~, GETOVER+21, GETOVER+52
BPSX SETOVER+9~
BPSXXXX SETOVER+8~
BPSY CHKDD~, CHKDD+4
DA GETOVER+12~, GETOVER+43*, CREATE+3~, FILE~, FILE+5, PROMPT~, PROMPT+5, REJECTS+1~, REJECTS+6*, REJECTS+7
DIC GETOVER+12~, GETOVER+27*, SELFLD1+1!, SELFLD1+3*, SELOVER+9~, CREATE+3~, CREATE+4*
DIC("A" SELFLD1+5*
DIC("S" SELFLD1+6*
DIC("T" SELFLD1+7*
DIC(0 GETOVER+27*, SELFLD1+4*, CREATE+4*
DIE FILE~, FILE+5, PROMPT+3~, PROMPT+4*, PROMPT+5, REJECTS+1~, REJECTS+6*, REJECTS+7
DIK GETOVER+12~, GETOVER+43*
DIR GETOVER+12~, SR+13~, SELOVER+9~
DIR("A" GETOVER+38*, SR+14*, SELOVER+23*, SELOVER+30*
DIR("B" GETOVER+38*, SR+14*, SELOVER+23*, SELOVER+30*
DIR(0 GETOVER+37*, SR+14*, SELOVER+20*, SELOVER+22*, SELOVER+29*
DIROUT SR+13~
DIRUT SR+13~
DR FILE+3~, FILE+4*, PROMPT+3~, PROMPT+4*, REJECTS+1~, REJECTS+6*
DT ENREVRJ+6, ENREVRJ+7
DTOUT SR+13~, PROMPT+3~, REJECTS+1~
DUOUT SR+13~
KEY1 GETOVER~, GETOVER+24
KEY2 GETOVER~, GETOVER+24
TMSTAMP ENREVRJ+1~
U ENREVRJ+3, ENREVRJ+4, ENREVRJ+7, ENREVRJ+8
X GETOVER+12~, GETOVER+27*, SELFLD1+1!, SELFLD1+12, SELFLD1+14, SELFLD1+20, CREATE+3~, CREATE+4*, FILE+3~, PROMPT+3~
, REJECTS+1~, ENREVRJ+5~, ENREVRJ+7
X1 ENREVRJ+5~, ENREVRJ+6*
X2 ENREVRJ+5~, ENREVRJ+6*
>> XQY0 GETOVER+18
Y GETOVER+12~, GETOVER+29, GETOVER+42, SR+15, SELFLD1+1!, SELFLD1+16, SELOVER+9~, SELOVER+25, SELOVER+26, SELOVER+32
SELOVER+33, CREATE+3~, CREATE+6, FILE+3~, PROMPT+3~, REJECTS+1~
>> ZTDESC SETDELAY+15*
ZTDTH SETDELAY+14~, SETDELAY+16*
ZTIO SETDELAY+14~, SETDELAY+16*
>> ZTQUEUED GETOVER+21
ZTRTN SETDELAY+14~, SETDELAY+15*
ZTSK SETDELAY+14~
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  | All