BPSTEST ;OAK/ELZ - ECME TESTING TOOL ;11/15/07 09:55
Source file <BPSTEST.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
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) | ;
|
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 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^BPS(9002313.32 - [#9002313.32] | Classic Fileman Calls, GET1^DIQ |
^BPSF(9002313.91 - [#9002313.91] | GET1^DIQ |
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* |
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 |
>> | 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~ |