BGPMUF06 ; IHS/MSC/MGH - MI measure NQF0073 ;02-Aug-2011 14:56;DU
Source file <BGPMUF06.m>
Package | Total | Call Graph |
---|---|---|
IHS GPRA Information System | 4 | ($$CPT,$$PRV,$$VSTCPT)^BGPMUUT1 $$LASTPRC^BGPMUUT2 ($$VSTICD0,$$VSTPOV)^BGPMUUT3 $$DATE^BGPMUUTL |
Kernel | 1 | $$FMADD^XLFDT |
VA Fileman | 1 | $$GET1^DIQ |
Name | Comments | DBIA/ICR reference |
---|---|---|
VSTSTORE | ;Store compliant visit into array
|
|
TOTAL1(DFN,IVD,NUM) | ;See where this patient ends up
|
|
NUM(DFN,BGPBDATE,BGPEDATE) | ;check for BP's
|
|
OUTPTDEN(DFN,VIEN) | ; Get the denominator
|
|
ENTRY | ;EP
|
|
INPTDEN(DFN,VIEN,START,END) | ;Evaluate Inpatient visit denominator criteria
|
|
NUMCHKS | ;If the patient had IVD, check to see if they are in the numerator
|
Name | Field # of Occurrence |
---|---|
$$CPT^BGPMUUT1 | INPTDEN+4 |
$$PRV^BGPMUUT1 | ENTRY+17, ENTRY+32 |
$$VSTCPT^BGPMUUT1 | ENTRY+18, ENTRY+20, ENTRY+33, INPTDEN+13 |
$$LASTPRC^BGPMUUT2 | INPTDEN+7 |
$$VSTICD0^BGPMUUT3 | INPTDEN+15 |
$$VSTPOV^BGPMUUT3 | ENTRY+22, OUTPTDEN+5, INPTDEN+10 |
$$DATE^BGPMUUTL | ENTRY+37, ENTRY+38, VSTSTORE+3, VSTSTORE+4, TOTAL1+10, NUM+18 |
$$GET1^DIQ | OUTPTDEN+4, NUM+13 |
$$FMADD^XLFDT | ENTRY+5 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^AUPNVMSR - [#9000010.01] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVMSR - [#9000010.01] | NUM+15, NUM+17, NUM+18 |
^AUPNVMSR("AD" | NUM+12 |
^AUPNVSIT - [#9000010] | ENTRY+35, VSTSTORE+1 |
^AUPNVSIT("AA" | ENTRY+14, ENTRY+15, ENTRY+29, ENTRY+30 |
^AUTTMSR("B" | NUM+7 |
^TMP("BGPMU0073" | TOTAL1+2, TOTAL1+3, TOTAL1+4, TOTAL1+5, TOTAL1+9*, TOTAL1+13*, TOTAL1+14*, TOTAL1+16*, TOTAL1+17*, TOTAL1+18* |
Name | Line Occurrences |
---|---|
$$INPTDEN | ENTRY+39 |
$$NUM | NUMCHKS+2 |
$$OUTPTDEN | VSTSTORE+5 |
NUMCHKS | ENTRY+25 |
TOTAL1 | NUMCHKS+3 |
VSTSTORE | ENTRY+19, ENTRY+21, ENTRY+23 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AMI | INPTDEN+1~, INPTDEN+10*, INPTDEN+11 |
ARRAY | NUM+5~ |
ARRAY( | NUM+18*, NUM+20, NUM+21, NUM+23, NUM+24, NUM+29, NUM+30, NUM+35, NUM+38, NUM+41 |
>> BGPAGEE | ENTRY+10 |
BGPBDATE | NUMCHKS+2, NUM~ |
BGPBP | NUM+2~ |
BGPCNT | NUM+2~ |
BGPDEN | ENTRY+1~, ENTRY+4* |
BGPEDATE | ENTRY+5, ENTRY+13, NUMCHKS+2, NUM~ |
BGPI | NUM+2~ |
>> BGPICARE("MU.EP.0073.1" | TOTAL1+20* |
>> BGPMUTF | TOTAL1+2, TOTAL1+3, TOTAL1+4, TOTAL1+5, TOTAL1+9, TOTAL1+13, TOTAL1+14, TOTAL1+16, TOTAL1+17, TOTAL1+18 , TOTAL1+20 |
BGPNUM | ENTRY+1~, ENTRY+4*, NUM+2~ |
>> BGPPROV | ENTRY+17, ENTRY+32 |
BP | NUM+2~, NUM+5~, NUM+6*, NUM+23*, NUM+24*, NUM+35*, NUM+46*, NUM+47 |
BPCNT | NUM+5~, NUM+6*, NUM+16*, NUM+19, NUM+26 |
CABG | INPTDEN+1~, INPTDEN+13*, INPTDEN+14 |
CABGP | INPTDEN+1~, INPTDEN+15*, INPTDEN+16 |
CNT | ENTRY+3~, ENTRY+11*, ENTRY+27*, ENTRY+36*, ENTRY+37, ENTRY+38, VSTSTORE+2*, VSTSTORE+3, VSTSTORE+4 |
DATA | ENTRY+2~ |
DEN | TOTAL1+1~, TOTAL1+8*, TOTAL1+11*, TOTAL1+14, TOTAL1+17, TOTAL1+20 |
DENCT | TOTAL1+1~, TOTAL1+3*, TOTAL1+9* |
DFN | ENTRY+14, ENTRY+15, ENTRY+18, ENTRY+20, ENTRY+22, ENTRY+29, ENTRY+30, ENTRY+33, ENTRY+39, NUMCHKS+2 , NUMCHKS+3, VSTSTORE+5, TOTAL1~, TOTAL1+14, TOTAL1+17, OUTPTDEN~, OUTPTDEN+4, OUTPTDEN+5, INPTDEN~, INPTDEN+4 , INPTDEN+7, INPTDEN+10, INPTDEN+13, INPTDEN+15, NUM~ |
DIA | NUM+2~ |
DIAARRAY | NUM+27~, NUM+43 |
DIAARRAY( | NUM+41*, NUM+46 |
DIAARRAY("" | NUM+45 |
>> DIAS | NUM+22*, NUM+23, NUM+31*, NUM+32, NUM+40, NUM+41 |
DOB | OUTPTDEN+1~, OUTPTDEN+4* |
DONE | NUM+27~, NUM+28*, NUM+29, NUM+34* |
DTE | NUM+5~, NUM+20*, NUM+21, NUM+23, NUM+24, NUM+29*, NUM+30, NUM+35, NUM+38, NUM+41 |
DXTIME | TOTAL1+1~, TOTAL1+8*, TOTAL1+10*, TOTAL1+11 |
EIE | NUM+5~, NUM+13*, NUM+14 |
END | ENTRY+1~, ENTRY+13*, ENTRY+14, ENTRY+28*, ENTRY+29, INPTDEN~ |
FIRST | ENTRY+2~, ENTRY+14*, ENTRY+15, ENTRY+29*, ENTRY+30 |
IEN | ENTRY+2~, ENTRY+15*, ENTRY+17, ENTRY+18, ENTRY+20, ENTRY+22, ENTRY+30*, ENTRY+32, ENTRY+33, ENTRY+35 , ENTRY+37, ENTRY+39, VSTSTORE+1, VSTSTORE+3, VSTSTORE+5, NUM+5~ |
INCT | ENTRY+1~ |
INV | ENTRY+2~, NUM+5~, NUM+17*, NUM+18 |
IVD | ENTRY+3~, ENTRY+7*, ENTRY+14, ENTRY+15, ENTRY+25, ENTRY+29, ENTRY+30, ENTRY+39*, NUMCHKS+1, NUMCHKS+3 , VSTSTORE+5*, TOTAL1~, TOTAL1+10, TOTAL1+11 |
IVDA | OUTPTDEN+1~, OUTPTDEN+5*, OUTPTDEN+7, OUTPTDEN+10 |
IVDB | OUTPTDEN+1~ |
IVDDX | ENTRY+3~, ENTRY+6*, OUTPTDEN+1~, OUTPTDEN+7*, OUTPTDEN+10 |
IVDEND | ENTRY+2~, ENTRY+5*, ENTRY+28, ENTRY+39, INPTDEN+4, INPTDEN+7 |
IVDSTRT | ENTRY+2~, ENTRY+5*, ENTRY+13, ENTRY+28, ENTRY+39, INPTDEN+4, INPTDEN+7 |
LDIA | NUM+2~, NUM+3* |
LSYS | NUM+2~, NUM+3* |
MSR | NUM+5~, NUM+12*, NUM+13, NUM+15, NUM+17, NUM+18 |
MTYP | NUM+5~, NUM+7*, NUM+8, NUM+15 |
NFCT | ENTRY+1~ |
NFENC | ENTRY+3~, ENTRY+20*, ENTRY+21, ENTRY+33*, ENTRY+34 |
NOTNUM1 | TOTAL1+1~, TOTAL1+5*, TOTAL1+16* |
NUM | ENTRY+3~, ENTRY+7*, NUMCHKS+2*, NUMCHKS+3, TOTAL1~, TOTAL1+12, TOTAL1+14, TOTAL1+15, TOTAL1+17, TOTAL1+20 |
NUM1CT | TOTAL1+1~, TOTAL1+4*, TOTAL1+13* |
OUTCT | ENTRY+1~ |
OUTENC | ENTRY+3~, ENTRY+18*, ENTRY+19 |
PTCA | INPTDEN+1~, INPTDEN+4*, INPTDEN+6 |
PTCAP | INPTDEN+1~, INPTDEN+7*, INPTDEN+8 |
PTCNT | TOTAL1+1~, TOTAL1+6*, TOTAL1+7*, TOTAL1+14, TOTAL1+17, TOTAL1+18 |
>> RES1 | NUM+44*, NUM+46 |
>> RES2 | NUM+45*, NUM+46 |
RESULT | ENTRY+2~, ENTRY+4*, OUTPTDEN+1~, OUTPTDEN+2*, OUTPTDEN+10*, OUTPTDEN+11, INPTDEN+1~, INPTDEN+2*, INPTDEN+6*, INPTDEN+8* , INPTDEN+11*, INPTDEN+14*, INPTDEN+16*, INPTDEN+17, NUM+2~, NUM+21*, NUM+22, NUM+23, NUM+24, NUM+30* , NUM+31, NUM+35, NUM+38, NUM+41 |
SAVE | NUM+5~, NUM+11* |
START | ENTRY+1~, ENTRY+13*, ENTRY+14, ENTRY+28*, ENTRY+29, INPTDEN~ |
STRING | ENTRY+1~, ENTRY+6* |
STRING( | ENTRY+38*, VSTSTORE+4* |
STRING(1 | TOTAL1+11 |
SYS | NUM+2~, NUM+22*, NUM+23, NUM+31*, NUM+32, NUM+37, NUM+38 |
SYSARRAY | NUM+27~, NUM+43 |
SYSARRAY( | NUM+38*, NUM+46 |
SYSARRAY("" | NUM+44 |
TOTALS | TOTAL1+1~, TOTAL1+2*, TOTAL1+6 |
U | ENTRY+35, ENTRY+37, VSTSTORE+1, VSTSTORE+3, TOTAL1+10, TOTAL1+11, TOTAL1+14, TOTAL1+17, TOTAL1+20, OUTPTDEN+10 , INPTDEN+6, INPTDEN+8, INPTDEN+11, INPTDEN+14, INPTDEN+16, NUM+10, NUM+15, NUM+17, NUM+18, NUM+21 , NUM+23, NUM+24, NUM+30, NUM+35, NUM+38, NUM+41, NUM+46 |
VALUE | ENTRY+2~, ENTRY+13*, ENTRY+28* |
VCNT | NUM+5~, NUM+6* |
VDATE | ENTRY+2~, ENTRY+35*, ENTRY+37, ENTRY+38, VSTSTORE+1*, VSTSTORE+3, VSTSTORE+4 |
VENC | ENTRY+3~, ENTRY+22*, ENTRY+23 |
VIEN | ENTRY+2~, OUTPTDEN~, OUTPTDEN+5, INPTDEN~, INPTDEN+10, INPTDEN+13, INPTDEN+15, NUM+9 |
VIEN( | ENTRY+37*, VSTSTORE+3* |
VIEN(1 | NUM+10 |
VISIT | ENTRY+2~ |
VSIEN | NUM+2~, NUM+10*, NUM+12, NUM+18 |
VST | NUM+5~ |