BDMD810 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT ;
Source file <BDMD810.m>
Package | Total | Call Graph |
---|---|---|
Diabetes Registry | 13 | WRITEF^BDMD81 $$CESS^BDMD811 ($$ACAR,$$DEPDX,$$DEPSCR,$$DPP4,$$EKG,$$INCR,$$INSULIN,$$MET,$$REFMED,$$SULF,$$TBTX,$$TROG)^BDMD812 ($$BPS,$$CMSFDX,$$FLU,$$FRSTDMDX,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$PLDMDOO,$$PLDMDXS,$$PNEU)^BDMD813 CUML^BDMD815 ($$ACE,$$ASPIRIN,$$LIPID,$$TOBACCO)^BDMD816 ($$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$OTHEDUC)^BDMD817 ($$BMI,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$MICRO,$$PPD,$$PROTEIN,$$TRIG)^BDMD818 $$TD^BDMD81B ($$GFR,$$QUAN,$$UACR,$$UPCR)^BDMD81C $$ACTDMPT^BDMD81G $$RSTAT^BDMDM6 $$DEMO^BDMUTL |
IHS Patient | 1 | ($$COMMRES,$$DOB,$$HRN,$$TRIBE)^AUPNPAT |
IHS VA Utilities | 1 | $$VAL^XBDIQ1 |
Kernel | 1 | ($$FMADD,$$FMTE)^XLFDT |
Package | Total | Caller Graph |
---|---|---|
Diabetes Registry | 3 | BDMD81 BDMD812 BDMD81E |
Name | Comments | DBIA/ICR reference |
---|---|---|
DEMO | ;pat demographics
|
|
REC(DFN,BDMRTYP,BDMRBD,BDMRED,BDMED,BDMDMRG,BDMBDAT) | ;EP - called to send back a visit record as
|
|
URINPROT() | ;
|
|
COMM(P) | ;EP
|
|
PPD | ;
|
|
EPIREC | ;create epi info record in ^BDMDATA("BDMEPI",$J,n)
|
|
ACTONREG(P,R) | ;
|
|
EAUDIT | ;EP
|
|
TRIBE(P) | ;EP
|
|
DXDT | ;dates of and dm dxs
|
|
DATE(D) | ;EP
|
|
EN | ; - ENTRY POINT - from ^BDMASK
|
|
IMM | ;
|
|
TYPEDM | ;return type of DM in BDMTYDM
|
|
LABS | ;
|
|
HEADER | ; Set node with report header info
|
|
VITAL | ;
|
|
EXAMS | ;
|
|
S(P,I,V) | ;
|
|
GATHER | ;gather data for 1 patient
|
|
THERAPY | ;
|
|
PROC | ;
|
Name | Field # of Occurrence |
---|---|
$$COMMRES^AUPNPAT | COMM+3 |
$$DOB^AUPNPAT | DEMO+2 |
$$HRN^AUPNPAT | DEMO+1 |
$$TRIBE^AUPNPAT | TRIBE+3 |
WRITEF^BDMD81 | EN+8, EAUDIT+22 |
$$CESS^BDMD811 | DXDT+9 |
$$ACAR^BDMD812 | THERAPY+5 |
$$DEPDX^BDMD812 | LABS+17 |
$$DEPSCR^BDMD812 | LABS+19 |
$$DPP4^BDMD812 | THERAPY+8 |
$$EKG^BDMD812 | PPD+4 |
$$INCR^BDMD812 | THERAPY+7 |
$$INSULIN^BDMD812 | THERAPY+2 |
$$MET^BDMD812 | THERAPY+4 |
$$REFMED^BDMD812 | THERAPY+9 |
$$SULF^BDMD812 | THERAPY+3 |
$$TBTX^BDMD812 | PPD+3 |
$$TROG^BDMD812 | THERAPY+6 |
$$BPS^BDMD813 | VITAL+6 |
$$CMSFDX^BDMD813 | DXDT+1, DXDT+2 |
$$FLU^BDMD813 | IMM+3 |
$$FRSTDMDX^BDMD813 | DXDT+5 |
$$HTNDX^BDMD813 | VITAL+4 |
$$LASTDMDX^BDMD813 | DXDT+6 |
$$LASTHT^BDMD813 | VITAL+1 |
$$LASTWT^BDMD813 | VITAL+2 |
$$PLDMDOO^BDMD813 | DXDT+3 |
$$PLDMDXS^BDMD813 | DXDT+4 |
$$PNEU^BDMD813 | IMM+4 |
CUML^BDMD815 | EN+9, EAUDIT+23 |
$$ACE^BDMD816 | THERAPY+12 |
$$ASPIRIN^BDMD816 | IMM+1 |
$$LIPID^BDMD816 | IMM+2 |
$$TOBACCO^BDMD816 | DXDT+7 |
$$DENTAL^BDMD817 | EXAMS+3 |
$$DFE^BDMD817 | EXAMS+1 |
$$DIETEDUC^BDMD817 | EXAMS+4 |
$$EXEDUC^BDMD817 | EXAMS+5 |
$$EYE^BDMD817 | EXAMS+2 |
$$OTHEDUC^BDMD817 | EXAMS+6 |
$$BMI^BDMD818 | LABS+16 |
$$CHOL^BDMD818 | LABS+5 |
$$CREAT^BDMD818 | LABS+4 |
$$HDL^BDMD818 | LABS+7 |
$$HGBA1C^BDMD818 | LABS+1 |
$$LASTNP^BDMD818 | PPD+2 |
$$LDL^BDMD818 | LABS+6 |
$$MICRO^BDMD818 | LABS+14 |
$$PPD^BDMD818 | PPD+1 |
$$PROTEIN^BDMD818 | LABS+13 |
$$TRIG^BDMD818 | LABS+8 |
$$TD^BDMD81B | IMM+5 |
$$GFR^BDMD81C | LABS+3 |
$$QUAN^BDMD81C | LABS+11, URINPROT+3 |
$$UACR^BDMD81C | LABS+9, URINPROT+1 |
$$UPCR^BDMD81C | LABS+10, URINPROT+2 |
$$ACTDMPT^BDMD81G | EAUDIT+11, EAUDIT+17 |
$$RSTAT^BDMDM6 | HEADER+11 |
$$DEMO^BDMUTL | EN+5, EAUDIT+10 |
$$VAL^XBDIQ1 | HEADER+14, DEMO+3 |
$$FMADD^XLFDT | EN+2, THERAPY+1, EAUDIT+2, EAUDIT+4, EAUDIT+5 |
$$FMTE^XLFDT | HEADER+4, THERAPY+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ACM(41 - [#9002241] | EAUDIT+7, EAUDIT+8, EAUDIT+9, ACTONREG+1, ACTONREG+2, ACTONREG+3 |
^AUPNPAT - [#9000001] | TRIBE+2, COMM+2, EAUDIT+16 |
^AUTTLOC - [#9999999.06] | HEADER+7, HEADER+8, HEADER+9 |
^BDMDATA("BDMEPI" | EN+1!, EPIREC+1*, EPIREC+2*, EPIREC+3*, EAUDIT+1! |
^BDMRECD - [#9003202.1] | PROC+2, PROC+3, PROC+4 |
^BDMRECD("B" | REC+3 |
^DIC(4 - [#4] | HEADER+6 |
^DIC(5 - [#5] | DEMO+6 |
^DPT - [#2] | DEMO+6 |
^VA(200 - [#200] | HEADER+13 |
^XTMP("BDMDM81" | EN+2*, EN+4, S+1*, HEADER+2*, HEADER+4*, HEADER+6*, HEADER+7*, HEADER+8*, HEADER+9*, HEADER+11* , HEADER+13*, HEADER+14*, DEMO+1*, DEMO+2*, DEMO+3*, DEMO+4*, DEMO+6*, DXDT+1*, DXDT+2*, DXDT+3* , THERAPY+10, LABS+18, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+12, EAUDIT+2* |
Name | Line Occurrences |
---|---|
$$ACTONREG | EAUDIT+19 |
$$REC | EPIREC+1, EPIREC+2, EPIREC+3 |
$$TRIBE | DEMO+4 |
EPIREC | EN+6, EAUDIT+13, EAUDIT+20 |
GATHER | EN+7, EAUDIT+14, EAUDIT+21 |
S | DXDT+4, DXDT+5, DXDT+6, DXDT+7, DXDT+8, DXDT+9, VITAL+1, VITAL+2, VITAL+4, VITAL+6 , EXAMS+1, EXAMS+2, EXAMS+3, EXAMS+4, EXAMS+5, EXAMS+6, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5 , THERAPY+6, THERAPY+7, THERAPY+8, THERAPY+9, THERAPY+11, THERAPY+12, IMM+1, IMM+2, IMM+3, IMM+4 , IMM+5, PPD+1, PPD+2, PPD+3, PPD+4, LABS+1, LABS+3, LABS+4, LABS+5, LABS+6 , LABS+7, LABS+8, LABS+9, LABS+10, LABS+11, LABS+13, LABS+14, LABS+16, LABS+17, LABS+19 |
TYPEDM | DXDT+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> BDM3YE | EAUDIT+5*, EAUDIT+11, EAUDIT+17 |
>> BDM6MBD | THERAPY+1*, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+8, THERAPY+12 |
>> BDMACTI | EAUDIT+6, EAUDIT+16, EAUDIT+19 |
>> BDMADAT | EPIREC+1, EPIREC+2, EPIREC+3, THERAPY+1, LABS+1, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7 , LABS+8, LABS+9, LABS+10, LABS+11, LABS+13, LABS+14, LABS+17, LABS+19, EAUDIT+4, EAUDIT+5 , EAUDIT+11, EAUDIT+17, URINPROT+1, URINPROT+2, URINPROT+3 |
BDMBDAT | REC~, EPIREC+1, EPIREC+2, EPIREC+3, LABS+1, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7 , LABS+8, LABS+9, LABS+10, LABS+11, LABS+13, LABS+14, LABS+17, LABS+19, URINPROT+1, URINPROT+2 , URINPROT+3 |
>> BDMBEGD | EAUDIT+4*, EAUDIT+11, EAUDIT+17 |
>> BDMBEN | EAUDIT+11, EAUDIT+17 |
>> BDMBTH | EN+4, S+1, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, HEADER+11, HEADER+13 , HEADER+14, DEMO+1, DEMO+2, DEMO+3, DEMO+4, DEMO+6, DXDT+1, DXDT+2, DXDT+3, THERAPY+10 , LABS+18, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+12 |
>> BDMDEMO | EN+5, EAUDIT+10 |
>> BDMDEP | LABS+18*, LABS+19 |
BDMDMRG | REC~, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+11, DXDT+1, DXDT+2, EAUDIT+7, EAUDIT+19 |
>> BDMEAUT | EAUDIT+7*, EAUDIT+8, EAUDIT+9 |
BDMED | REC~ |
>> BDMEPIN | EN+3*, EPIREC+1*, EPIREC+2*, EPIREC+3*, EAUDIT+3* |
>> BDMEPIR | EPIREC+1*, EPIREC+2*, EPIREC+3* |
>> BDMEPIX | PROC+1*, PROC+2* |
>> BDMER | GATHER+1* |
>> BDMFISC | HEADER+2 |
>> BDMJOB | EN+4, S+1, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, HEADER+11, HEADER+13 , HEADER+14, DEMO+1, DEMO+2, DEMO+3, DEMO+4, DEMO+6, DXDT+1, DXDT+2, DXDT+3, THERAPY+10 , LABS+18, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+12 |
>> BDMPD | EN+4*, EN+5, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8 , HEADER+9, HEADER+11, HEADER+13, HEADER+14, DEMO+1, DEMO+2, DEMO+3, DEMO+4, DEMO+6, DXDT+1 , DXDT+2, DXDT+3, DXDT+4, DXDT+5, DXDT+6, DXDT+7, DXDT+8, DXDT+9, VITAL+1, VITAL+2 , VITAL+4, VITAL+6, EXAMS+1, EXAMS+2, EXAMS+3, EXAMS+4, EXAMS+5, EXAMS+6, THERAPY+2, THERAPY+3 , THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+8, THERAPY+9, THERAPY+10, THERAPY+11, THERAPY+12, IMM+1 , IMM+2, IMM+3, IMM+4, IMM+5, PPD+1, PPD+2, PPD+3, PPD+4, LABS+1, LABS+3 , LABS+4, LABS+5, LABS+6, LABS+7, LABS+8, LABS+9, LABS+10, LABS+11, LABS+13, LABS+14 , LABS+16, LABS+17, LABS+18, LABS+19, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7 , TYPEDM+12, EAUDIT+9*, EAUDIT+10, EAUDIT+11, EAUDIT+16*, EAUDIT+17, EAUDIT+19, URINPROT+1, URINPROT+2, URINPROT+3 |
>> BDMPREP | EN+6, EN+8, EN+9, EAUDIT+13, EAUDIT+20, EAUDIT+22, EAUDIT+23 |
BDMRBD | REC~, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+2, DXDT+9, VITAL+6, EXAMS+1, EXAMS+2, EXAMS+3 , EXAMS+4, EXAMS+5, EXAMS+6, THERAPY+9, IMM+1, IMM+2, IMM+3, LABS+16 |
BDMREC | REC+1~, REC+2*, REC+4, PROC+2, PROC+4*, PROC+5 |
BDMRED | REC~, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+2, DXDT+6, DXDT+7, DXDT+9, VITAL+1, VITAL+2 , VITAL+4, VITAL+6, EXAMS+1, EXAMS+2, EXAMS+3, EXAMS+4, EXAMS+5, EXAMS+6, THERAPY+2, THERAPY+3 , THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+8, THERAPY+9, THERAPY+12, IMM+1, IMM+2, IMM+3 , IMM+4, IMM+5, PPD+1, PPD+2, PPD+4, LABS+16 |
BDMRTYP | REC~, REC+3 |
BDMRTYP("IEN" | REC+3*, REC+4, PROC+2, PROC+3, PROC+4 |
>> BDMTAXI | EAUDIT+11, EAUDIT+17 |
>> BDMTHER | EPIREC+2* |
>> BDMTTT | PROC+2*, PROC+3, PROC+4 |
>> BDMTYDM | DXDT+8*, TYPEDM+2*, TYPEDM+3*, TYPEDM+4*, TYPEDM+5*, TYPEDM+6*, TYPEDM+8*, TYPEDM+9, TYPEDM+10*, TYPEDM+11 , TYPEDM+13*, TYPEDM+14* |
>> BDMTYPE | EN+5 |
BDMX | REC+1~, EAUDIT+11*, EAUDIT+12, EAUDIT+17*, EAUDIT+18 |
>> C | TYPEDM+8*, TYPEDM+10* |
D | DATE~, DATE+1, DATE+2 |
DFN | REC~ |
DT | EN+2, HEADER+4, EAUDIT+2 |
DUZ | HEADER+13 |
DUZ(2 | HEADER+6, HEADER+7, HEADER+8, HEADER+9, DEMO+1 |
I | S~, S+1, TYPEDM+8*, TYPEDM+10* |
P | S~, S+1, TRIBE~, TRIBE+1, TRIBE+2, TRIBE+3, COMM~, COMM+1, COMM+2, COMM+3 , ACTONREG~, ACTONREG+1, ACTONREG+2 |
R | ACTONREG~, ACTONREG+1, ACTONREG+2 |
U | PROC+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, HEADER+13, DEMO+6, THERAPY+9, EAUDIT+8, EAUDIT+9 , ACTONREG+3 |
V | S~, S+1 |
X | PROC+3*, PROC+4, THERAPY+10*, TYPEDM+1~, TYPEDM+7*, TYPEDM+8, TYPEDM+10, TYPEDM+12*, TYPEDM+13, TYPEDM+14 , ACTONREG+2*, ACTONREG+3 |
>> Y | THERAPY+9*, THERAPY+10*, THERAPY+11 |