Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BGPMUG05

Package: IHS GPRA Information System

Routine: BGPMUG05


Information

BGPMUG05 ; IHS/MSC/MMT - MI measure NQF0036 ;20-Aug-2011 14:56;DU

Source Information

Source file <BGPMUG05.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
IHS GPRA Information System 5 ($$PLTAX,$$PRV,$$VSTCPT)^BGPMUUT1  $$LASTDX^BGPMUUT2  $$VSTPOV^BGPMUUT3  $$FIND^BGPMUUT8  $$DATE^BGPMUUTL  
Kernel 2 ($$FMADD,$$FMDIFF)^XLFDT  ($$RJ,$$UP)^XLFSTR  
IHS Patient 1 $$DOB^AUPNPAT  

Entry Points

Name Comments DBIA/ICR reference
TOTAL(DFN,DEN,NUM,EXC) ;See where this patient ends up
VSTSTORE ;Store compliant visit into array
DENMEDS ;
DENSTR1(ASTHMA,STRING) ;generate display string for denom criteria 1 - Dx present with IP/ED visit
NDC(A,B) ;
ASTHMA(DFN,EDATE) ;Find if patient had a PROBLEM of Asthma on or before the end date
DEN(DFN,BDATE,EDATE) ;CHECK IF PT IS IN DENOMINATOR
TOTSUB(DENPOP) ;ADD Patient to a population's totals
DENSTR4(VIEN,LEUKS) ;generate display string for denom criteria 4 - all leuk and 1 dx
EXCLUDE(DFN,BGPBDATE,BGPEDATE) ;Look for exclusions
NUM(DFN,BGPBDATE,BGPEDATE) ;Look for PRESCRIPTION
ENTRY ;EP
DENSTR3(VIEN,MEDS) ;generate display string for denom criteria 3 - 4 meds, not all were leuko
DENSTR2(VIEN,MEDS) ;generate display string for denom criteria 2 - 4 povs and 2 dispensing events

External References

Name Field # of Occurrence
$$DOB^AUPNPAT ASTHMA+6
$$PLTAX^BGPMUUT1 ASTHMA+3, EXCLUDE+4
$$PRV^BGPMUUT1 DEN+11, DENMEDS+12
$$VSTCPT^BGPMUUT1 DEN+12, DEN+14, DENMEDS+13
$$LASTDX^BGPMUUT2 ASTHMA+7, EXCLUDE+2
$$VSTPOV^BGPMUUT3 DENMEDS+16
$$FIND^BGPMUUT8 NUM+3, NUM+5, NUM+7
$$DATE^BGPMUUTL TOTSUB+12, VSTSTORE+4, DENSTR1+1, DENSTR2+2, DENSTR2+3, DENSTR3+4, DENSTR4+2, DENSTR4+4
$$FMADD^XLFDT DEN+2
$$FMDIFF^XLFDT DENMEDS+32, DENMEDS+40
$$RJ^XLFSTR NDC+6
$$UP^XLFSTR DENMEDS+22

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] NDC+7
^ATXAX("B" DENMEDS+3, DENMEDS+4, DENMEDS+5, DENMEDS+6
^AUPNVMED - [#9000010.14] DENMEDS+21, DENMEDS+22, DENMEDS+23, DENMEDS+24, DENMEDS+25, DENMEDS+27, DENMEDS+31, DENMEDS+33, DENMEDS+36, DENMEDS+39
, DENMEDS+41, DENMEDS+44
^AUPNVMED("AD" DENMEDS+19
^AUPNVSIT - [#9000010] DENMEDS+28, DENMEDS+32, DENMEDS+37, DENMEDS+40, DENMEDS+45, DENMEDS+46, VSTSTORE+2
^AUPNVSIT("AA" DEN+8, DEN+9, DENMEDS+9, DENMEDS+10
^PSDRUG - [#50] NDC+3
^TMP("BGPMU0036" TOTSUB+2, TOTSUB+3, TOTSUB+4, TOTSUB+5, TOTSUB+6, TOTSUB+9*, TOTSUB+11*, TOTSUB+12*, TOTSUB+14*, TOTSUB+15*
, TOTSUB+17*, TOTSUB+18*, TOTSUB+19*

Label References

Name Line Occurrences
$$ASTHMA DEN+5
$$DEN ENTRY+8
$$DENSTR1 DEN+17
$$DENSTR2 DENMEDS+47
$$DENSTR3 DENMEDS+48
$$DENSTR4 DENMEDS+49
$$EXCLUDE ENTRY+13
$$NDC DENMEDS+25, DENMEDS+29, DENMEDS+30, DENMEDS+38
$$NUM ENTRY+11
DENMEDS DEN+6
TOTAL ENTRY+14
TOTSUB TOTAL+1, TOTAL+2, TOTAL+3
VSTSTORE DEN+13, DEN+15, DENMEDS+14, DENMEDS+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A NDC~, NDC+3
ASTDT ENTRY+3~
ASTDX ENTRY+3~, ASTHMA+7*, ASTHMA+8
ASTHENC ENTRY+3~
ASTHMA ENTRY+3~, ASTHMA+1~, ASTHMA+2*, ASTHMA+5*, ASTHMA+8*, ASTHMA+9, DEN+5*, DEN+6, DEN+17, DENMEDS+47
, DENMEDS+49, DENSTR1~, DENSTR1+1, DENSTR2+2, DENSTR4+2
ASTPL ENTRY+3~, ASTHMA+3*, ASTHMA+5
B NDC~, NDC+7
BDATE DEN~, DEN+2
>> BETATAX DENMEDS+4*, DENMEDS+25
>> BGPAGEE ENTRY+7, TOTAL+1, TOTAL+2
BGPBDATE ENTRY+8, ENTRY+11, ENTRY+13, NUM~, NUM+3, NUM+5, NUM+7, EXCLUDE~, EXCLUDE+2
>> BGPBIRTH ASTHMA+6*, ASTHMA+7
BGPEDATE ENTRY+8, ENTRY+11, ENTRY+13, NUM~, NUM+3, NUM+5, NUM+7, DEN+5, EXCLUDE~, EXCLUDE+2
, EXCLUDE+4
>> BGPICARE("MU.EP.0036.1" TOTSUB+21*
>> BGPMUTF TOTSUB+2, TOTSUB+3, TOTSUB+4, TOTSUB+5, TOTSUB+6, TOTSUB+9, TOTSUB+11, TOTSUB+12, TOTSUB+14, TOTSUB+15
, TOTSUB+17, TOTSUB+18, TOTSUB+19, TOTSUB+21
>> BGPNDC NDC+3*, NDC+4, NDC+6
>> BGPPROV DEN+11, DENMEDS+12, DENMEDS+24
CNT ENTRY+3~, DEN+7*, DEN+9, DEN+16, DENMEDS+7!, DENMEDS+8*, DENMEDS+47, VSTSTORE+1*, VSTSTORE+3, VSTSTORE+4
DATA ENTRY+2~
DEN ENTRY+3~, ENTRY+4*, ENTRY+8*, ENTRY+9, ENTRY+14, TOTAL~, TOTSUB+12, TOTSUB+15, TOTSUB+18, TOTSUB+21
, DEN+17*, DEN+18
DENCT TOTSUB+1~, TOTSUB+3*, TOTSUB+9*
DENPOP TOTSUB~, TOTSUB+2, TOTSUB+3, TOTSUB+4, TOTSUB+5, TOTSUB+6, TOTSUB+9, TOTSUB+11, TOTSUB+12, TOTSUB+14
, TOTSUB+15, TOTSUB+17, TOTSUB+18, TOTSUB+19, TOTSUB+21
DENSTR DENSTR2+1~, DENSTR2+2*, DENSTR2+3*, DENSTR2+5*, DENSTR2+6, DENSTR3+1~, DENSTR3+2*, DENSTR3+4*, DENSTR3+5, DENSTR4+1~
, DENSTR4+2*, DENSTR4+4*, DENSTR4+5
DFN ENTRY+8, ENTRY+11, ENTRY+13, ENTRY+14, TOTAL~, TOTSUB+12, TOTSUB+15, TOTSUB+18, ASTHMA~, ASTHMA+3
, ASTHMA+6, ASTHMA+7, NUM~, NUM+3, NUM+5, NUM+7, DEN~, DEN+5, DEN+8, DEN+9
, DEN+12, DEN+14, DENMEDS+9, DENMEDS+10, DENMEDS+13, DENMEDS+16, EXCLUDE~, EXCLUDE+2, EXCLUDE+4
>> E DENMEDS+8*, DENMEDS+43*, DENMEDS+48, DENMEDS+49
EDATE ASTHMA~, ASTHMA+5, ASTHMA+7, DEN~, DEN+2
>> EDENC DEN+12*, DEN+13
END ENTRY+1~, DEN+2*, DEN+8, DENMEDS+9
EXC ENTRY+3~, ENTRY+4*, ENTRY+13*, ENTRY+14, TOTAL~, TOTSUB+13, TOTSUB+16, TOTSUB+21
EXCCT TOTSUB+1~, TOTSUB+5*, TOTSUB+14*
EXDX EXCLUDE+1~, EXCLUDE+2*, EXCLUDE+3
EXPL EXCLUDE+1~, EXCLUDE+4*, EXCLUDE+5
FIRST ENTRY+2~, DEN+8*, DEN+9, DENMEDS+9*, DENMEDS+10
FOUND NUM+1~, NUM+2*, NUM+3*, NUM+4, NUM+5*, NUM+6, NUM+7*, NUM+8
IEN ENTRY+2~, DEN+9*, DEN+11, DEN+12, DEN+14, DENMEDS+10*, DENMEDS+12, DENMEDS+13, DENMEDS+16, DENMEDS+19
, DENMEDS+28, DENMEDS+32, DENMEDS+37, DENMEDS+40, DENMEDS+45, DENMEDS+46, VSTSTORE+2, VSTSTORE+3
INHTAX DENMEDS+1~, DENMEDS+5*, DENMEDS+25
INV ENTRY+2~
>> IPENC DEN+14*, DEN+15
>> J DENMEDS+31*, DENMEDS+32, DENMEDS+33, DENMEDS+39*, DENMEDS+40, DENMEDS+41
>> K DENMEDS+34*, DENMEDS+35, DENMEDS+42*, DENMEDS+43
LASTVDT ENTRY+3~
LCNT DENMEDS+1~, DENMEDS+8*, DENMEDS+46*
LEUKS DENMEDS+1~, DENMEDS+49, DENSTR4~
LEUKS( DENMEDS+46*
LEUKTAX DENMEDS+1~, DENMEDS+6*, DENMEDS+30, DENMEDS+38
>> M DENMEDS+8*, DENMEDS+26*, DENMEDS+35*, DENMEDS+43*, DENMEDS+47, DENMEDS+48, DENMEDS+49
MCNT DENMEDS+1~, DENMEDS+8*, DENMEDS+28*, DENMEDS+37*, DENMEDS+45*
MEDS DENMEDS+1~, DENMEDS+47, DENMEDS+48, DENSTR2~, DENSTR3~
MEDS( DENMEDS+28*, DENMEDS+37*, DENMEDS+45*, DENSTR3+4, DENSTR4+4
MEDS(1 DENSTR2+3
MEDS(2 DENSTR2+3
MEDTAX DENMEDS+1~, DENMEDS+3*, DENMEDS+29
MEVT DENMEDS+1~, DENMEDS+27*, DENMEDS+28, DENMEDS+36*, DENMEDS+37, DENMEDS+44*, DENMEDS+45, DENMEDS+46
MI DENSTR3+1~, DENSTR3+3*, DENSTR3+4, DENSTR4+3*, DENSTR4+4
>> NDCCODE NDC+6*, NDC+7
NOTNUM TOTSUB+1~, TOTSUB+6*, TOTSUB+17*
NUM ENTRY+3~, ENTRY+4*, ENTRY+11*, ENTRY+13, ENTRY+14, TOTAL~, TOTSUB+10, TOTSUB+12, TOTSUB+16, TOTSUB+21
NUMCT TOTSUB+1~, TOTSUB+4*, TOTSUB+11*
>> OPENC DENMEDS+13*, DENMEDS+14
PTCNT TOTSUB+1~, TOTSUB+7*, TOTSUB+8*, TOTSUB+12, TOTSUB+15, TOTSUB+18, TOTSUB+19
>> S DENMEDS+20*, DENMEDS+32*, DENMEDS+33*, DENMEDS+34, DENMEDS+40*, DENMEDS+41*, DENMEDS+42
START ENTRY+1~, DEN+2*, DEN+3*, DEN+8, DENMEDS+9
STRING ENTRY+1~, DEN+17, DENMEDS+7!, DENSTR1~
STRING( VSTSTORE+4*, DENSTR2+5
STRING(1 DENSTR1+1
STRING2 ENTRY+1~
TOTAL TOTSUB+1~, TOTSUB+2*, TOTSUB+7
U TOTSUB+12, TOTSUB+15, TOTSUB+18, TOTSUB+21, ASTHMA+5, DEN+17, DENMEDS+22, DENMEDS+23, DENMEDS+24, DENMEDS+25
, DENMEDS+27, DENMEDS+28, DENMEDS+31, DENMEDS+32, DENMEDS+33, DENMEDS+36, DENMEDS+37, DENMEDS+39, DENMEDS+40, DENMEDS+41
, DENMEDS+44, DENMEDS+45, DENMEDS+46, DENMEDS+47, DENMEDS+48, DENMEDS+49, NDC+3, VSTSTORE+2, VSTSTORE+3, DENSTR1+1
, DENSTR2+2, DENSTR2+3, DENSTR3+4, DENSTR4+2, DENSTR4+4
VALUE ENTRY+2~, DEN+2*
VDATE ENTRY+2~, VSTSTORE+2*, VSTSTORE+3, VSTSTORE+4
>> VENC DENMEDS+16*, DENMEDS+17
VI DENSTR2+1~, DENSTR2+4*, DENSTR2+5
VIEN ENTRY+2~, DENMEDS+7!, DENMEDS+47, DENMEDS+48, DENMEDS+49, DENSTR2~, DENSTR3~, DENSTR4~
VIEN( VSTSTORE+3*
VISIT ENTRY+2~
>> Y DENMEDS+19*, DENMEDS+21, DENMEDS+22, DENMEDS+23, DENMEDS+24, DENMEDS+25, DENMEDS+27, DENMEDS+31, DENMEDS+33, DENMEDS+36
, DENMEDS+39, DENMEDS+41, DENMEDS+44
>> Z DENMEDS+23*, DENMEDS+25, DENMEDS+28, DENMEDS+29, DENMEDS+30, DENMEDS+37, DENMEDS+38, DENMEDS+45, DENMEDS+46
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All