BGPMUH12 ;IHS/MSC/MGH - MI measure NQF0373-VTE-3 ;02-Mar-2011 16:21;DU
Source file <BGPMUH12.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
OPINJ(DFN,BGPDIS) | ;Check to see if pt was discharged on concurrent therapy
|
|
OPWAR(DFN,BGPDIS) | ;Check to see if pt was discharged on Warfarin
|
|
INWAR(DFN,BGPADMIT,BGPDD) | ;Check to see if Warfarin given in inpt
|
|
MEDLIST(ARRAY,DFN,BGPADMIT,BGPDD,TAX) | ;Check each day of inpt stay to see if med active
|
|
TOTAL(BGPIEN) | ;add up the totals
|
|
ENTRY | ;PEP Vte measure 3 - VTE pts on overlap therapy
; Print routine - VTE3^BGPMUHP7 ; Delimited output - VTE3^BGPMUHD6 |
|
NUMER(DFN,ADMIT,DISCH,TVST) | ;Check to see if pt is in the numerator
|
|
INRCK(LABS,BGPDD) | ;Find the INR prior to discharge date
|
|
EXCLUDE(DFN,BGPIEN,BGPVST,BGPDIS,BGPADMIT,OPWAR,IPWAR) | ;See if there are exclusions
|
Name | Field # of Occurrence |
---|---|
$$AGE^AUPNPAT | ENTRY+13 |
$$ACTUPAP^BGPMUEHD | ENTRY+15 |
$$HOSPICE^BGPMUH08 | EXCLUDE+9 |
$$LOS^BGPMUH08 | EXCLUDE+6 |
$$TRIAL^BGPMUH08 | EXCLUDE+12 |
$$VSTCPT^BGPMUUT1 | EXCLUDE+14 |
$$VSTPOVA^BGPMUUT3 | ENTRY+25 |
$$FIND^BGPMUUT4 | OPWAR+4, INWAR+3, OPINJ+4 |
LAB^BGPMUUT5 | NUMER+6 |
$$FIND^BGPMUUT6 | MEDLIST+8, MEDLIST+15 |
$$FIND^BGPMUUT7 | EXCLUDE+15 |
$$DATE^BGPMUUTL | TOTAL+9, INRCK+7 |
$$FMADD^XLFDT | MEDLIST+4, MEDLIST+5, MEDLIST+6, MEDLIST+7, MEDLIST+11, MEDLIST+12, MEDLIST+13, MEDLIST+14 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGPM - [#405] | ENTRY+11, ENTRY+12, ENTRY+17, ENTRY+19, ENTRY+22, ENTRY+23, TOTAL+9, OPWAR+3, OPINJ+3 |
^DGPM("B" | ENTRY+9, ENTRY+10 |
^TMP("BGPMU0373" | TOTAL+2, TOTAL+3, TOTAL+4, TOTAL+5, TOTAL+6, TOTAL+10*, TOTAL+12*, TOTAL+13*, TOTAL+16*, TOTAL+17* , TOTAL+19*, TOTAL+20*, TOTAL+21* |
Name | Line Occurrences |
---|---|
$$EXCLUDE | ENTRY+29 |
$$INRCK | NUMER+22, NUMER+30 |
$$INWAR | ENTRY+36 |
$$NUMER | ENTRY+39 |
$$OPINJ | NUMER+26, NUMER+31 |
$$OPWAR | ENTRY+32 |
MEDLIST | NUMER+9, NUMER+12 |
TOTAL | ENTRY+41 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADMIT | NUMER~, NUMER+6, NUMER+9, NUMER+12 |
ARRAY | MEDLIST~ |
ARRAY( | MEDLIST+9*, MEDLIST+16* |
BDATE | MEDLIST+1~, MEDLIST+4*, MEDLIST+5, MEDLIST+11*, MEDLIST+12 |
>> BGPACTUP | ENTRY+15*, ENTRY+16 |
BGPADMIT | ENTRY+22*, ENTRY+29, ENTRY+36, ENTRY+39, EXCLUDE~, EXCLUDE+15, INWAR~, INWAR+3, MEDLIST~, MEDLIST+4 , MEDLIST+11 |
BGPADTMI | ENTRY+4~ |
BGPAGEE | ENTRY+3~, ENTRY+13*, EXCLUDE+4 |
BGPALL | EXCLUDE+1~ |
>> BGPBDATE | ENTRY+7, ENTRY+15 |
>> BGPBEN | ENTRY+15 |
BGPCLIN | EXCLUDE+1~, EXCLUDE+12*, EXCLUDE+13 |
BGPDD | ENTRY+4~, ENTRY+23*, ENTRY+36, ENTRY+39, EXCLUDE+15, NUMER+22, NUMER+27, NUMER+30, NUMER+32, INWAR~ , INWAR+3, MEDLIST~, MEDLIST+4, MEDLIST+11, INRCK~, INRCK+5, INRCK+6 |
BGPDIS | ENTRY+3~, ENTRY+19*, ENTRY+20, ENTRY+23, ENTRY+29, ENTRY+32, EXCLUDE~, EXCLUDE+6, NUMER+26, NUMER+31 , OPWAR~, OPWAR+3, OPINJ~, OPINJ+3 |
BGPECI | EXCLUDE+1~ |
>> BGPEDATE | ENTRY+8, ENTRY+13, ENTRY+15 |
BGPER | ENTRY+4~ |
BGPHOS | EXCLUDE+1~, EXCLUDE+9*, EXCLUDE+10 |
BGPHPROB | ENTRY+3~ |
BGPHSDX | ENTRY+3~ |
>> BGPICARE("MU.VTE.0373.1" | TOTAL+22* |
BGPIEN | ENTRY+3~, ENTRY+10*, ENTRY+11, ENTRY+12, ENTRY+17, ENTRY+19, ENTRY+22, ENTRY+29, ENTRY+41, TOTAL~ , TOTAL+9, EXCLUDE~, EXCLUDE+6 |
>> BGPIISO | ENTRY+16 |
BGPIPROB | ENTRY+3~ |
BGPISDX | ENTRY+3~ |
BGPLOS | EXCLUDE+1~, EXCLUDE+6*, EXCLUDE+7 |
>> BGPMUTF | TOTAL+2, TOTAL+3, TOTAL+4, TOTAL+5, TOTAL+6, TOTAL+10, TOTAL+12, TOTAL+13, TOTAL+16, TOTAL+17 , TOTAL+19, TOTAL+20, TOTAL+21, TOTAL+22 |
BGPRCODE | EXCLUDE+2~, EXCLUDE+15*, EXCLUDE+18 |
BGPREF | EXCLUDE+1~ |
BGPVCODE | ENTRY+4~, EXCLUDE+2~, EXCLUDE+14*, EXCLUDE+18 |
BGPVICD0 | ENTRY+4~, EXCLUDE+2~ |
BGPVST | ENTRY+3~, ENTRY+17*, ENTRY+18, ENTRY+25, ENTRY+29, ENTRY+39, EXCLUDE~, EXCLUDE+9, EXCLUDE+12, EXCLUDE+14 |
BGPVTE | ENTRY+4~, ENTRY+25*, ENTRY+28 |
BGPVTEPB | ENTRY+4~ |
>> BGPXPXPX | ENTRY+16 |
CK | INRCK+1~, INRCK+4*, INRCK+5, INRCK+6, INRCK+7 |
CNT | NUMER+2~, NUMER+16*, NUMER+18*, NUMER+20, NUMER+21, NUMER+23, NUMER+27, NUMER+29, NUMER+32 |
CPT | EXCLUDE+1~ |
DATE | TOTAL+1~, TOTAL+9*, TOTAL+13, TOTAL+17, TOTAL+19, TOTAL+22 |
DDATE | OPWAR+1~, OPWAR+3*, OPWAR+4, MEDLIST+1~, OPINJ+1~, OPINJ+3*, OPINJ+4 |
DENCT | TOTAL+1~, TOTAL+3*, TOTAL+10* |
DFN | ENTRY+3~, ENTRY+12*, ENTRY+13, ENTRY+14, ENTRY+15, ENTRY+25, ENTRY+29, ENTRY+32, ENTRY+36, ENTRY+39 , TOTAL+13, TOTAL+17, TOTAL+19, TOTAL+22, EXCLUDE~, EXCLUDE+9, EXCLUDE+12, EXCLUDE+14, EXCLUDE+15, NUMER~ , NUMER+6, NUMER+9, NUMER+12, NUMER+26, NUMER+31, OPWAR~, OPWAR+4, INWAR~, INWAR+3, MEDLIST~ , MEDLIST+8, MEDLIST+15, OPINJ~, OPINJ+4 |
DISCH | NUMER~, NUMER+6, NUMER+9, NUMER+12 |
DISPENSE | NUMER+1~ |
DRUG | NUMER+1~, OPWAR+1~, OPWAR+4*, OPWAR+5, INWAR+1~, INWAR+3*, INWAR+4, MEDLIST+1~, MEDLIST+8*, MEDLIST+9 , MEDLIST+15*, MEDLIST+16, OPINJ+1~, OPINJ+4*, OPINJ+5 |
EDATE | MEDLIST+1~, MEDLIST+4*, MEDLIST+6, MEDLIST+11*, MEDLIST+13 |
END | ENTRY+3~, ENTRY+8*, ENTRY+9, MEDLIST+1~, MEDLIST+7*, MEDLIST+8, MEDLIST+14*, MEDLIST+15 |
ENDDT | NUMER+1~ |
EVDT | ENTRY+4~ |
EXC | ENTRY+3~, ENTRY+4~, ENTRY+5*, ENTRY+29*, ENTRY+31, ENTRY+33*, ENTRY+35, ENTRY+37*, ENTRY+39, TOTAL+11 , TOTAL+13, TOTAL+14, TOTAL+22 |
EXCCT | TOTAL+1~, TOTAL+5*, TOTAL+12* |
EXCL | ENTRY+4~, ENTRY+7* |
FIRST | ENTRY+4~, EXCLUDE+1~ |
I | MEDLIST+1~ |
INJDATA | NUMER+2~, NUMER+12 |
INJDATA( | NUMER+18 |
INR | NUMER+1~, NUMER+22*, NUMER+23, NUMER+25, NUMER+27, NUMER+30*, NUMER+32 |
INWAR | ENTRY+3~, ENTRY+36*, ENTRY+37 |
IPWAR | ENTRY+4~, ENTRY+7*, EXCLUDE~ |
LABDATA | NUMER+2~, NUMER+6, NUMER+22, NUMER+30 |
LABS | INRCK~ |
LABS( | INRCK+3, INRCK+6 |
MECH | EXCLUDE+1~ |
MECHP | EXCLUDE+1~ |
MED | EXCLUDE+1~ |
MEDDTE | NUMER+1~ |
MEDIEN | NUMER+1~ |
MEDTYPE | OPWAR+1~, OPWAR+2*, OPWAR+4, INWAR+1~, INWAR+2*, INWAR+3, MEDLIST+1~, MEDLIST+2*, MEDLIST+8, MEDLIST+10* , MEDLIST+15, OPINJ+1~, OPINJ+2*, OPINJ+4 |
NOTCT | TOTAL+1~, TOTAL+6*, TOTAL+20* |
NUM | ENTRY+3~, ENTRY+39*, TOTAL+15, TOTAL+17, TOTAL+18, TOTAL+19, TOTAL+22 |
NUMCT | TOTAL+1~, TOTAL+4*, TOTAL+16* |
OPWAR | ENTRY+4~, ENTRY+7*, ENTRY+32*, ENTRY+33, EXCLUDE~ |
OVER | NUMER+2~, NUMER+26*, NUMER+27, NUMER+31*, NUMER+32 |
PDTE | ENTRY+4~ |
PHARM | EXCLUDE+1~ |
PHARMP | EXCLUDE+1~ |
PTCNT | TOTAL+1~, TOTAL+7*, TOTAL+8*, TOTAL+13, TOTAL+17, TOTAL+19, TOTAL+21 |
REASON | EXCLUDE+1~, EXCLUDE+3*, EXCLUDE+4*, EXCLUDE+7*, EXCLUDE+10*, EXCLUDE+13*, EXCLUDE+18*, EXCLUDE+19 |
RETURN | NUMER+1~, NUMER+3*, NUMER+23*, NUMER+27*, NUMER+32*, NUMER+33 |
START | ENTRY+3~, ENTRY+7*, ENTRY+9*, ENTRY+10, MEDLIST+1~, MEDLIST+5*, MEDLIST+6*, MEDLIST+7, MEDLIST+8, MEDLIST+9 , MEDLIST+12*, MEDLIST+13*, MEDLIST+14, MEDLIST+15, MEDLIST+16 |
STATUS | NUMER+1~ |
TAX | NUMER+1~, NUMER+5*, NUMER+6, NUMER+8*, NUMER+9, NUMER+11*, NUMER+12, OPWAR+1~, OPWAR+2*, OPWAR+4 , INWAR+1~, INWAR+2*, INWAR+3, MEDLIST~, MEDLIST+8, MEDLIST+15, OPINJ+1~, OPINJ+2*, OPINJ+4 |
TOTALS | TOTAL+1~, TOTAL+2*, TOTAL+7 |
TVST | NUMER~ |
U | ENTRY+11, ENTRY+12, ENTRY+17, ENTRY+19, ENTRY+22, ENTRY+23, TOTAL+9, TOTAL+13, TOTAL+17, TOTAL+19 , TOTAL+22, NUMER+23, NUMER+25, NUMER+27, NUMER+32, OPWAR+3, OPINJ+3, INRCK+7 |
VALUE | INRCK+1~, INRCK+2*, INRCK+3, INRCK+6*, INRCK+7 |
WARDATA | NUMER+2~, NUMER+9 |
WARDATA( | NUMER+17 |
X | NUMER+2~, NUMER+17*, NUMER+18, INRCK+1~, INRCK+3*, INRCK+4, INRCK+6 |