BGPMUA03 ; IHS/MSC/MGH - MI measure NQF0031 ;29-Nov-2011 7:37;MMT
Source file <BGPMUA03.m>
Package | Total | Call Graph |
---|---|---|
IHS GPRA Information System | 3 | ($$CPT,$$PRV,$$RAD,$$VSTCPT)^BGPMUUT1 ($$LASTDX,$$LASTPRC)^BGPMUUT2 $$VSTPOV^BGPMUUT3 |
Kernel | 2 | $$FMADD^XLFDT $$VERSION^XPDUTL |
IHS Patient | 1 | $$SEX^AUPNPAT |
Taxonomy | 1 | $$ICD^ATXCHK |
VA Fileman | 1 | C^%DTC |
Name | Comments | DBIA/ICR reference |
---|---|---|
MODIFY(MOD1,MOD2) | ;Check for modifiers
|
|
CPT(CODE) | ;See if the patient has the CPT codes for mastectomy
|
|
TOTAL(DFN,VIEN,BGPDSTR,BGPNSTR) | ;See where this patient ends up
|
|
CSVACT(RTN) | ;EP
|
|
ENTRY | ;EP
; expects: ; DFN = patient code from VA PATIENT file ; BGPBDATE = begin date of report ; BGPEDATE = end date of report ; BGPPROV = provider code from NEW PERSON file ; BGPMUTF = timeframe variable - "C"=current year; "P"=previous year; "B"=baseline year |
|
ICD0(CODE) | ;See if the patient has the CPT codes for mastectomy
|
|
MODGBL() |
Name | Field # of Occurrence |
---|---|
C^%DTC | ENTRY+38 |
$$ICD^ATXCHK | CPT+13, ICD0+14 |
$$SEX^AUPNPAT | ENTRY+17 |
$$CPT^BGPMUUT1 | ENTRY+59 |
$$PRV^BGPMUUT1 | ENTRY+26 |
$$RAD^BGPMUUT1 | ENTRY+65 |
$$VSTCPT^BGPMUUT1 | ENTRY+28 |
$$LASTDX^BGPMUUT2 | ENTRY+63 |
$$LASTPRC^BGPMUUT2 | ENTRY+51, ENTRY+61 |
$$VSTPOV^BGPMUUT3 | ENTRY+29 |
$$FMADD^XLFDT | ENTRY+15 |
$$VERSION^XPDUTL | CSVACT+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ATXAX("B" | CPT+4, ICD0+4 |
^AUPNVCPT - [#9000010.18] | CPT+7, CPT+12, CPT+15, CPT+16 |
^AUPNVCPT("AC" | CPT+6 |
^AUPNVPRC - [#9000010.08] | ICD0+7, ICD0+9, ICD0+13, ICD0+16, ICD0+17 |
^AUPNVPRC("AC" | ICD0+6 |
^AUPNVSIT - [#9000010] | ENTRY+31, ENTRY+32, ENTRY+39, CPT+9, ICD0+10 |
^AUPNVSIT("AA" | ENTRY+23, ENTRY+24 |
^DPT - [#2] | ENTRY+42 |
^TMP("BGPMU0031" | TOTAL+2, TOTAL+3, TOTAL+4, TOTAL+5, TOTAL+10*, TOTAL+12*, TOTAL+13*, TOTAL+14*, TOTAL+15* |
Name | Line Occurrences |
---|---|
$$CPT | ENTRY+45, ENTRY+48 |
$$CSVACT | MODGBL |
$$ICD0 | ENTRY+54 |
$$MODGBL | MODIFY+3, MODIFY+4 |
MODIFY | CPT+17, ICD0+18 |
TOTAL | ENTRY+77 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AENC | ENTRY+7~, ENTRY+9~, ENTRY+28*, ENTRY+30, ENTRY+40 |
BENC | ENTRY+7~, ENTRY+9~, ENTRY+29*, ENTRY+30, ENTRY+41 |
>> BGPAGEE | ENTRY+21 |
>> BGPBDATE | ENTRY+14 |
BGPBICPT | ENTRY+10~, ENTRY+45*, ENTRY+46 |
BGPBIICD | ENTRY+10~, ENTRY+51*, ENTRY+52 |
BGPBIRTH | ENTRY+9~, ENTRY+42*, ENTRY+43*, ENTRY+51 |
BGPDEN | ENTRY+7~, ENTRY+12* |
BGPDSTR | ENTRY+11~, ENTRY+13*, ENTRY+57*, ENTRY+77, TOTAL~, TOTAL+13, TOTAL+14, TOTAL+17 |
BGPDT | ENTRY+11~, ENTRY+39*, ENTRY+57 |
>> BGPEDATE | ENTRY+14, ENTRY+15, ENTRY+51, ENTRY+59, ENTRY+61, ENTRY+63, ENTRY+65, CPT+11, ICD0+12 |
BGPENC | ENTRY+10~, ENTRY+38*, ENTRY+43, ENTRY+59, ENTRY+61, ENTRY+63, ENTRY+65 |
>> BGPICARE("MU.EP.0031.1" | TOTAL+17* |
BGPMAM | ENTRY+9~, ENTRY+59*, ENTRY+60, ENTRY+67 |
BGPMAM2 | ENTRY+9~, ENTRY+61*, ENTRY+62, ENTRY+68, ENTRY+69, ENTRY+70 |
BGPMAM3 | ENTRY+9~, ENTRY+63*, ENTRY+64, ENTRY+71, ENTRY+72, ENTRY+73 |
BGPMAM4 | ENTRY+9~, ENTRY+65*, ENTRY+66, ENTRY+74, ENTRY+75, ENTRY+76 |
BGPMAS | ENTRY+9~ |
BGPMUMAM | ENTRY+9~ |
>> BGPMUTF | TOTAL+2, TOTAL+3, TOTAL+4, TOTAL+5, TOTAL+10, TOTAL+12, TOTAL+13, TOTAL+14, TOTAL+15, TOTAL+17 |
BGPN1 | ENTRY+9~ |
BGPN3 | ENTRY+9~ |
BGPNSTR | ENTRY+11~, ENTRY+13*, ENTRY+67*, ENTRY+69*, ENTRY+70*, ENTRY+72*, ENTRY+73*, ENTRY+75*, ENTRY+76*, ENTRY+77 , TOTAL~, TOTAL+13, TOTAL+14, TOTAL+17 |
BGPNUM | ENTRY+7~, ENTRY+12* |
>> BGPPROV | ENTRY+26 |
>> BGPSEX | ENTRY+17*, ENTRY+18 |
BGPUICPT | ENTRY+10~, ENTRY+48*, ENTRY+49 |
BGPUIICD | ENTRY+10~, ENTRY+54*, ENTRY+55 |
BGPX | ENTRY+7~, ENTRY+35! |
BGPX( | MODIFY+7* |
BGPX(1 | MODIFY+9 |
CODE | CPT~, CPT+14, ICD0~, ICD0+15, MODIFY+6, MODIFY+8 |
CPT | CPT+1~, CPT+6*, CPT+7, CPT+12, CPT+15, CPT+16 |
CPTCODE | CPT+1~, CPT+12*, CPT+13 |
DATA | ENTRY+8~, ENTRY+31*, ICD0+1~, ICD0+2* |
DATE2 | MODIFY+1~ |
DENCT | TOTAL+1~, TOTAL+3*, TOTAL+10* |
DFN | ENTRY+17, ENTRY+23, ENTRY+24, ENTRY+28, ENTRY+29, ENTRY+42, ENTRY+51, ENTRY+59, ENTRY+61, ENTRY+63 , ENTRY+65, ENTRY+77, TOTAL~, TOTAL+13, TOTAL+14, CPT+6, ICD0+6 |
DUZ("AG" | MODGBL, CSVACT+1 |
END | ENTRY+7~, ENTRY+14*, ENTRY+23 |
EXCCT | TOTAL+1~ |
EXCEPT | ENTRY+8~ |
FIRST | ENTRY+8~, ENTRY+23*, ENTRY+24 |
FOUND | CPT+1~, CPT+5*, CPT+6, CPT+18*, CPT+19, ICD0+1~, ICD0+5*, ICD0+6, ICD0+19*, ICD0+20 , MODIFY+5*, MODIFY+9* |
ICD0 | ICD0+1~, ICD0+6*, ICD0+7, ICD0+9, ICD0+13, ICD0+16, ICD0+17 |
ICDCODE | ICD0+1~, ICD0+13*, ICD0+14 |
IEN | ENTRY+8~, ENTRY+24*, ENTRY+26, ENTRY+28, ENTRY+29, ENTRY+31, ENTRY+32 |
INV | ENTRY+8~ |
MASTCNT | ENTRY+7~, ENTRY+36*, CPT+14*, ICD0+15*, MODIFY+6, MODIFY+7, MODIFY+8 |
MDATE | CPT+1~, CPT+9*, CPT+10, CPT+11, ICD0+1~, ICD0+9*, ICD0+10*, ICD0+11, ICD0+12, MODIFY+7 , MODIFY+9 |
MOD | MODIFY+1~, MODIFY+2*, MODIFY+3*, MODIFY+4*, MODIFY+7 |
MOD1 | CPT+1~, CPT+15*, CPT+17, ICD0+1~, ICD0+16*, ICD0+18, MODIFY~, MODIFY+3, MODIFY+5 |
MOD2 | CPT+1~, CPT+16*, CPT+17, ICD0+1~, ICD0+17*, ICD0+18, MODIFY~, MODIFY+4, MODIFY+5 |
>> NOTCT | TOTAL+5* |
NUMCT | TOTAL+1~, TOTAL+4*, TOTAL+12* |
PTCNT | TOTAL+1~, TOTAL+6*, TOTAL+7*, TOTAL+13, TOTAL+14, TOTAL+15 |
REF | ENTRY+8~ |
RESULT | ENTRY+8~, ENTRY+12*, ENTRY+60*, ENTRY+62*, ENTRY+64*, ENTRY+66*, TOTAL+11, TOTAL+17 |
RETVAL | ENTRY+9~, ENTRY+16*, ENTRY+46*, ENTRY+49*, ENTRY+52*, ENTRY+55* |
RTN | CSVACT~, CSVACT+1 |
START | ENTRY+7~, ENTRY+14* |
>> START2Y | ENTRY+15*, ENTRY+23 |
STRING1 | ENTRY+10~, ENTRY+34*, ENTRY+40*, ENTRY+41*, TOTAL+13, TOTAL+14 |
STRING2 | ENTRY+10~, ENTRY+34*, ENTRY+67*, ENTRY+69*, ENTRY+70*, ENTRY+72*, ENTRY+73*, ENTRY+75*, ENTRY+76*, TOTAL+13 , TOTAL+14 |
TAX | CPT+1~, CPT+4*, CPT+5, CPT+13, ICD0+1~, ICD0+4*, ICD0+5, ICD0+14 |
TOTALS | TOTAL+1~, TOTAL+2*, TOTAL+6 |
U | ENTRY+32, ENTRY+39, ENTRY+40, ENTRY+41, ENTRY+42, ENTRY+66, ENTRY+67, ENTRY+69, ENTRY+70, ENTRY+72 , ENTRY+73, ENTRY+75, ENTRY+76, TOTAL+13, TOTAL+14, TOTAL+17, CPT+7, CPT+9, CPT+12, CPT+15 , CPT+16, ICD0+7, ICD0+9, ICD0+10, ICD0+13, ICD0+16, ICD0+17, MODIFY+3, MODIFY+4, MODIFY+7 , MODIFY+9 |
VAL | CPT+1~, CPT+2*, ICD0+1~, ICD0+2* |
VALUE | ENTRY+8~, ENTRY+14*, ENTRY+46*, ENTRY+49*, ENTRY+52*, ENTRY+55*, TOTAL+9 |
VDATE | ENTRY+8~, ENTRY+32*, ENTRY+38 |
VIEN | ENTRY+8~, ENTRY+16*, ENTRY+23, ENTRY+24, ENTRY+32*, ENTRY+33, ENTRY+39, ENTRY+77, TOTAL~ |
VISIT | ENTRY+8~, CPT+1~, CPT+7*, CPT+8, CPT+9, ICD0+1~, ICD0+7*, ICD0+8, ICD0+10 |
WTIEN | ENTRY+8~ |
X | ENTRY+38~ |
X1 | ENTRY+38~* |
X2 | ENTRY+38~* |
Name | Field # of Occurrence |
---|---|
$T( | CSVACT+1 |