BGPMUF07 ; IHS/MSC/MGH - MI measure NQF0068 ;02-Aug-2011 14:56;DU
Source file <BGPMUF07.m>
Package | Total | Call Graph |
---|---|---|
IHS GPRA Information System | 5 | ($$CPT,$$PRV,$$VSTCPT)^BGPMUUT1 $$LASTPRC^BGPMUUT2 ($$VSTICD0,$$VSTPOV)^BGPMUUT3 $$FIND^BGPMUUT8 $$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 Antiplatelet Rx
|
|
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 |
$$FIND^BGPMUUT8 | NUM+3 |
$$DATE^BGPMUUTL | ENTRY+37, ENTRY+38, VSTSTORE+3, VSTSTORE+4, TOTAL1+10 |
$$GET1^DIQ | OUTPTDEN+4 |
$$FMADD^XLFDT | ENTRY+5 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVSIT - [#9000010] | ENTRY+35, VSTSTORE+1 |
^AUPNVSIT("AA" | ENTRY+14, ENTRY+15, ENTRY+29, ENTRY+30 |
^TMP("BGPMU0068" | 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 |
>> BGPAGEE | ENTRY+10 |
BGPBDATE | NUMCHKS+2, NUM~, NUM+3 |
BGPDEN | ENTRY+1~, ENTRY+4* |
BGPEDATE | ENTRY+5, ENTRY+13, NUMCHKS+2, NUM~, NUM+3 |
>> BGPICARE("MU.EP.0068.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* |
>> BGPPROV | ENTRY+17, ENTRY+32 |
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~, NUM+3 |
DOB | OUTPTDEN+1~, OUTPTDEN+4* |
DXTIME | TOTAL1+1~, TOTAL1+8*, TOTAL1+10*, TOTAL1+11 |
END | ENTRY+1~, ENTRY+13*, ENTRY+14, ENTRY+28*, ENTRY+29, INPTDEN~ |
FIRST | ENTRY+2~, ENTRY+14*, ENTRY+15, ENTRY+29*, ENTRY+30 |
FOUND | NUM+1~, NUM+2*, NUM+4*, NUM+5 |
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 |
INCT | ENTRY+1~ |
INV | ENTRY+2~ |
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 |
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+20 |
NUM1CT | TOTAL1+1~, TOTAL1+4*, TOTAL1+13* |
OUTCT | ENTRY+1~ |
OUTENC | ENTRY+3~, ENTRY+18*, ENTRY+19 |
PMED | NUM+1~, NUM+3*, NUM+4 |
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 |
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 |
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 |
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+4 |
VALUE | ENTRY+2~, ENTRY+13*, ENTRY+28* |
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 |
VIEN( | ENTRY+37*, VSTSTORE+3* |
VISIT | ENTRY+2~ |