AUPNMCDF ;IHS/OIT/NKD - MCD Eligiblity fix ; 02/19/2015
Source file <AUPNMCDF.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 4 | $$GET1^DID (FILE,UPDATE)^DIE $$GET1^DIQ ^DIR |
Kernel | 2 | ($$DT,$$FMTE,$$NOW)^XLFDT ($$CJ,$$REPEAT,$$TITLE)^XLFSTR |
IHS VA Utilities | 1 | ^XBFMK |
Package | Total | Caller Graph |
---|---|---|
Contract Health Management Information System | 1 | ACHSDM |
IHS Patient | 1 | AUPN9924 |
IHS Patient Registration | 1 | AG9924 |
Third Party Billing | 1 | ABMMCDCU |
Name | Comments | DBIA/ICR reference |
---|---|---|
CHKPREV | ; CHECK IF ANCILLARIES RAN ON CORRECTED RECORDS
|
|
SETANC | ; BUILD ANCILLARY GLOBAL
|
|
GETANC(AUPNA,AUPNF) | ; REPLACE GLOBAL READ
; FLAG=(V)ERSION, (R)OUTINE, DEFAULTS TO BOTH |
|
CHKONE(AUPNI,AUPNO,AUPNR,AUPNV) | ; DATA INTEGRITY CHECK, OVERRIDE WILL IGNORE COVERAGE OVERLAP WARNINGS
|
|
RPT3 | ; EXCLUSION REPORT
|
|
PRC | ; PROCESS RESULTS FROM A SCAN
|
|
SCAN | ; SCAN MCD ELIGIBILITY RECORDS FOR NON-DINUMED SUB-RECORDS
|
|
RPT1 | ; SUMMARY REPORT
|
|
RPT2 | ; DETAILED REPORT
|
|
CONT | ; PROMPT TO CONTINUE
|
|
ANCIL | ; LIST OF ANCILLARY CLEANUPS
|
|
GETFIX(AUPNS,AUPNF) | ; REPLACE GLOBAL READ
; FLAG=(C)OUNT, DA(T)E, (U)SER, (O)VERRIDE, DEFAULTS TO ALL |
|
INC(RES,CNT,SUB) | ; INCREMENT A TOTAL
|
|
AUPN(AUPNI,AUPNO,AUPNFX) | ; AUPN MAIN CLEANUP
|
|
ASK(MSG,DEF) | ; PROMPT USER INPUT
|
|
LOG(AUPNFL,AUPNI,AUPNFLD,AUPNO) | ; EP - LOG RESULTS
; FL=FILE I=IEN FLD=FIELD # O=OLD VALUE |
|
REC(AUPNP,AUPNI,AUPNFX,AUPNEX,AUPNV) | ; PROCESS A SINGLE RECORD
|
|
MAIN | ; EP - MAIN MENU
|
|
ANC(AUPNFX,AUPNS,AUPNAL) | ; RUN ANCILLARY CLEANUP ROUTINES
; ANCILLARY LIST DEFAULTS TO ALL, CAN BE USED TO SEND SPECIFIC CLEANUPS (CHKPREV) |
Name | Field # of Occurrence |
---|---|
$$GET1^DID | RPT2+16, RPT2+25 |
FILE^DIE | AUPN+6 |
UPDATE^DIE | AUPN+13, AUPN+21 |
$$GET1^DIQ | AUPN+17 |
^DIR | MAIN+11, ASK+5, CONT+2 |
^XBFMK | ANC+11 |
$$DT^XLFDT | AUPN+18, AUPN+20 |
$$FMTE^XLFDT | MAIN+5, CHKPREV+9, RPT1+7, RPT2+7, RPT2+12 |
$$NOW^XLFDT | SCAN+4, PRC+7 |
$$CJ^XLFSTR | RPT1+4, RPT2+3, RPT3+3 |
$$REPEAT^XLFSTR | RPT1+4, RPT2+3, RPT3+3 |
$$TITLE^XLFSTR | RPT2+16, RPT2+24, RPT2+25 |
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^AUPNMCD - [#9000004] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNMCD - [#9000004] | SCAN+5, SCAN+6, SCAN+8, SCAN+9, REC+5, REC+6, CHKONE+3, CHKONE+4, CHKONE+5, AUPN+3 |
^AUPNTMP("ANCILLARY" | SETANC+4*, GETANC+4, GETANC+6 |
^AUPNTMP("CURRENT" | REC+11*, REC+16!, CHKPREV+14*, CHKPREV+16!, LOG+3 |
^AUPNTMP("EXCLUDE" | PRC+4, RPT3+2 |
^AUPNTMP("FIXED" | PRC+3, PRC+4, CHKPREV+3, RPT1+5, RPT1+6, RPT2+5, RPT2+6, GETFIX+4 |
^AUPNTMP("SCAN" | MAIN+5, SCAN+2, PRC+2 |
^DD( | RPT2+24 |
Name | Line Occurrences |
---|---|
$$ASK | SCAN+18, PRC+5, CHKPREV+10, RPT2+4 |
$$CHKONE | REC+7 |
$$GETANC | CHKPREV+3, CHKPREV+7, CHKPREV+8, ANC+4, ANC+6 |
$$GETFIX | PRC+4, CHKPREV+2, CHKPREV+9, CHKPREV+12, RPT1+3, RPT1+7, RPT2+2, RPT2+7 |
@( | ANC+9 |
ANC | REC+15, CHKPREV+15 |
AUPN | REC+13 |
CHKPREV | MAIN+14 |
CONT | MAIN+13, MAIN+14, MAIN+15 |
INC | SCAN+7, SCAN+10, SCAN+11, SCAN+12, SCAN+13, PRC+3, REC+8, REC+18, LOG+4 |
LOG | AUPN+21 |
PRC | SCAN+18 |
REC | PRC+10 |
RPT1 | AUPNMCDF+11, MAIN+15 |
RPT2 | AUPNMCDF+11, MAIN+15 |
RPT3 | AUPNMCDF+11, MAIN+15 |
SCAN | AUPNMCDF+11, MAIN+13 |
SETANC | AUPNMCDF+11, MAIN+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AUPNA | REC+1~, CHKPREV+1~, CHKPREV+6*, CHKPREV+7, CHKPREV+8, CHKPREV+9, CHKPREV+10, ANC+2~, ANC+5*, ANC+6 , ANC+10, RPT1+1~, RPT2+1~, SETANC+1~, SETANC+3*, SETANC+4, GETANC~, GETANC+3*, GETANC+5, GETANC+6 |
AUPNAL | ANC~, ANC+4*, ANC+5 |
AUPNC | CHKONE+1~, CHKONE+4*, CHKONE+5, CHKONE+6, CHKONE+7, CHKONE+9, CHKONE+10, CHKPREV+1~, CHKPREV+6*, ANC+2~ , ANC+5*, SETANC+1~, SETANC+2*, GETANC+2~, GETANC+4*, GETANC+5, GETANC+6 |
AUPNCHG | REC+1~, REC+2*, REC+3, REC+5*, REC+14*, REC+18 |
AUPND | CHKONE+1~, CHKONE+5*, CHKONE+7, CHKONE+8, CHKONE+9, CHKONE+10, ANC+2~, ANC+7*, ANC+8, RPT1+1~ , RPT2+1~, RPT2+19*, RPT2+21, RPT2+22, RPT2+26, RPT2+27, SETANC+1~, SETANC+3*, SETANC+4 |
AUPNDT | SCAN+1~, SCAN+9*, SCAN+10, RPT1+1~, RPT2+1~ |
AUPNE | REC+4~, REC+18 |
AUPNE( | REC+12!, REC+18 |
AUPNEX | PRC+1~, PRC+4*, PRC+10, PRC+13, REC~, REC+2*, REC+18, RPT3+1~, RPT3+2*, RPT3+6 , RPT3+7, RPT3+8, RPT3+9, RPT3+10, RPT3+11 |
AUPNEXC | RPT3+1~, RPT3+10*, RPT3+11 |
AUPNF | RPT2+1~, RPT2+4*, RPT2+17, GETANC~, GETANC+3*, GETANC+6, GETFIX~, GETFIX+3*, GETFIX+5 |
AUPNFL | RPT2+1~, RPT2+14*, RPT2+15, RPT2+16, RPT2+18, RPT2+19, RPT2+21, RPT2+24, LOG~, LOG+3* , LOG+4, LOG+5 |
AUPNFLD | LOG~, LOG+3*, LOG+5 |
AUPNFX | PRC+1~, PRC+4*, PRC+7, PRC+10, PRC+12, REC~, REC+2*, REC+8, REC+9, REC+10 , REC+11, REC+12, REC+13, REC+15, CHKPREV+1~, CHKPREV+3*, CHKPREV+5, CHKPREV+8, CHKPREV+13, CHKPREV+14 , CHKPREV+15, AUPN~, AUPN+2*, AUPN+7, AUPN+14, AUPN+15, ANC~, ANC+3*, ANC+7, ANC+10 , RPT1+1~, RPT1+6*, RPT1+8, RPT1+9, RPT1+10, RPT1+11, RPT1+12, RPT2+1~, RPT2+6*, RPT2+8 , RPT2+9, RPT2+11, RPT2+12, RPT2+13, RPT2+14, RPT2+15, RPT2+16, RPT2+18, RPT2+19, LOG+2~ , LOG+3*, LOG+4, LOG+5 |
AUPNI | SCAN+1~, SCAN+5*, SCAN+6, SCAN+8, SCAN+9, SCAN+12, SCAN+14, PRC+1~, PRC+9*, PRC+10 , REC~, REC+2*, REC+5, REC+6, REC+7, REC+9, REC+10, REC+13, REC+18, CHKONE~ , CHKONE+2*, CHKONE+3, CHKONE+4, CHKONE+5, AUPN~, AUPN+2*, AUPN+3, AUPN+5, AUPN+9, AUPN+10 , AUPN+11, AUPN+17, AUPN+20, AUPN+21, ANC+2~, ANC+8*, RPT1+1~, RPT1+2~, RPT1+9*, RPT1+10 , RPT2+1~, RPT2+9*, RPT2+10, RPT2+11, RPT3+1~, RPT3+7*, RPT3+8, RPT3+9, RPT3+10, RPT3+11 , LOG~, LOG+3*, LOG+5 |
AUPNI2 | SCAN+1~, SCAN+8*, SCAN+9, RPT2+1~, RPT2+18*, RPT2+19, RPT2+20, RPT3+1~, RPT3+8*, RPT3+9 , RPT3+10, RPT3+11 |
AUPNI3 | RPT3+1~, RPT3+11* |
AUPNN | REC+1~, REC+6*, REC+9, CHKONE+1~, CHKONE+3*, CHKONE+6, CHKONE+8, CHKONE+9, CHKONE+10, AUPN+1~ , AUPN+3*, AUPN+9, AUPN+10, AUPN+11, AUPN+12, AUPN+14, ANC+2~, ANC+8* |
AUPNO | REC+1~, REC+5*, REC+6, REC+7, REC+9, REC+12, REC+13, REC+18*, CHKONE~, CHKONE+2* , CHKONE+3, CHKONE+6, CHKONE+9, CHKONE+10, AUPN~, AUPN+2*, AUPN+3, AUPN+5, ANC+2~, ANC+8* , LOG~, LOG+3*, LOG+5 |
AUPNP | SCAN+1~, SCAN+6*, SCAN+11, SCAN+12, SCAN+14, PRC+1~, PRC+8*, PRC+9, PRC+10, REC~ , REC+2*, REC+9, REC+10, REC+18, ANC+2~, ANC+8*, RPT1+2~, RPT1+8*, RPT1+9, RPT1+10 , RPT2+8*, RPT2+9, RPT2+10, RPT2+11, RPT3+1~, RPT3+6*, RPT3+7, RPT3+8, RPT3+9, RPT3+10 , RPT3+11 |
AUPNQ | AUPNMCDF+10~*, ASK+1, CONT+1 |
AUPNR | SCAN+1~, CHKONE~, CHKONE+2*, CHKONE+6, CHKONE+9, CHKONE+10, CHKPREV+1~, CHKPREV+5*, CHKPREV+10*, CHKPREV+11 , CHKPREV+12, CHKPREV+15, GETANC+2~, GETANC+3*, GETANC+5*, GETANC+6*, GETANC+7, GETFIX+2~, GETFIX+3*, GETFIX+4* , GETFIX+5*, GETFIX+6 |
AUPNRO | REC+1~, ANC+2~, ANC+6*, ANC+9 |
AUPNS | REC+1~, REC+8*, REC+9, REC+10, REC+11, REC+12, REC+13, REC+15, CHKPREV+1~, CHKPREV+5* , CHKPREV+8, CHKPREV+9, CHKPREV+12, CHKPREV+13, CHKPREV+14, CHKPREV+15, ANC~, ANC+3*, ANC+7, RPT1+1~ , RPT1+5*, RPT1+6, RPT1+7, RPT2+1~, RPT2+5*, RPT2+6, RPT2+7, GETFIX~, GETFIX+3*, GETFIX+4 |
AUPNS2 | CHKPREV+1~, CHKPREV+13*, CHKPREV+14, CHKPREV+15, RPT1+2~, RPT1+10*, RPT1+11, RPT1+12, RPT2+11*, RPT2+12 , RPT2+13, RPT2+14, RPT2+15, RPT2+16, RPT2+18, RPT2+19 |
AUPNSC | SCAN+1~, SCAN+2*, SCAN+4, SCAN+7, SCAN+10, SCAN+11, SCAN+12, SCAN+13, SCAN+14, SCAN+15 , SCAN+16, SCAN+17, SCAN+18, PRC+1~, PRC+2*, PRC+6, PRC+8, PRC+9 |
AUPNT | CHKONE+1~, CHKONE+2*, CHKONE+6*, CHKONE+11, CHKPREV+1~, CHKPREV+3*, CHKPREV+6, AUPN+1~, AUPN+17*, AUPN+18 , AUPN+21, RPT2+1~, RPT2+21*, RPT2+24, RPT2+25, SETANC+1~, SETANC+2*, SETANC+3 |
AUPNT2 | CHKONE+1~, CHKONE+2*, CHKONE+9*, CHKONE+10*, CHKONE+11, RPT2+1~, RPT2+22*, RPT2+25 |
AUPNTYP | RPT3+1~, RPT3+9*, RPT3+10, RPT3+11 |
AUPNV | PRC+1~, PRC+5*, PRC+7, PRC+10, REC~, REC+2*, REC+7, REC+12, CHKONE~, CHKONE+2* , CHKONE+11 |
AUPNVR | ANC+2~, ANC+6*, ANC+10 |
AUPNW | RPT1+1~ |
CNT | INC~, INC+1, INC+2 |
DEF | ASK~, ASK+1, ASK+3 |
DIR | MAIN+1~, MAIN+16!, ASK+2~, ASK+5!, CONT+2! |
DIR("A" | MAIN+10*, ASK+4*, CONT+2* |
DIR("B" | ASK+3* |
DIR(0 | MAIN+9*, ASK+3*, CONT+2* |
DIROUT | MAIN+1~, MAIN+3, MAIN+12, MAIN+16! |
DIRUT | MAIN+1~, MAIN+3, MAIN+12, MAIN+16! |
DTOUT | MAIN+1~, MAIN+3, MAIN+12, MAIN+16! |
DUOUT | MAIN+1~, MAIN+3, MAIN+12, MAIN+16! |
DUZ | PRC+7 |
ERR | AUPN+1~, AUPN+4!, AUPN+7, AUPN+8!, AUPN+15 |
FDA | AUPN+1~, AUPN+4!, AUPN+8!, AUPN+19! |
FDA( | AUPN+5*, AUPN+9*, AUPN+10*, AUPN+11* |
FDA(9000004 | AUPN+20* |
FDAIEN | AUPN+1~, AUPN+8! |
FDAIEN(1 | AUPN+12*, AUPN+14 |
MSG | ASK~, ASK+4 |
RES | INC~, INC+1*, INC+2 |
SUB | INC~, INC+1 |
U | SCAN+6, SCAN+9, PRC+7, REC+6, REC+9, CHKONE+5, CHKONE+6, CHKONE+8, CHKONE+9, CHKONE+10 , CHKPREV+6, CHKPREV+10, CHKPREV+12, AUPN+9, AUPN+10, AUPN+11, AUPN+12, AUPN+14, ANC+5, ANC+8 , RPT1+11, RPT2+13, RPT2+24, RPT3+11, SETANC+4, GETANC+5, GETANC+6, GETFIX+5, INC+1 |
Y | MAIN+13, MAIN+14, MAIN+15, ASK+2~, ASK+6 |
Name | Field # of Occurrence |
---|---|
$T(@(4) | CHKPREV+8 |
$T(@AUPNRO | ANC+6 |
$T(ANCIL+AUPNC | SETANC+2 |