BDMD910 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT ;
Source file <BDMD910.m>
Package | Total | Call Graph |
---|---|---|
Diabetes Registry | 14 | WRITEF^BDMD91 $$CESS^BDMD911 ($$ACAR,$$AMYLIN,$$DEPDX,$$DEPSCR,$$DPP4,$$EKG,$$INCR,$$INSULIN,$$MET,$$REFMED,$$SULF,$$TBTX,$$TROG)^BDMD912 ($$BPS,$$CMSFDX,$$FLU,$$FRSTDMDX,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$PLDMDOO,$$PLDMDXS,$$PNEU)^BDMD913 CUML^BDMD915 ($$ACE,$$ASPIRIN,$$DODX,$$LIPID)^BDMD916 ($$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$OTHEDUC)^BDMD917 ($$BMI,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$PPD,$$TRIG,$$URIN)^BDMD918 $$TD^BDMD91B $$GFR^BDMD91C $$ACTDMPT^BDMD91G $$TOBACCO^BDMD91T $$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 | BDMD91 BDMD912 BDMD91E |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; - ENTRY POINT - from ^BDMASK
|
|
S(P,I,V) | ;
|
|
COMM(P) | ;EP
|
|
PPD | ;
|
|
EPIREC | ;create epi info record in ^BDMDATA("BDMEPI",$J,n)
|
|
DEMO | ;pat demographics
|
|
ACTONREG(P,R) | ;
|
|
GATHER | ;gather data for 1 patient
|
|
IMM | ;
|
|
REC(DFN,BDMRTYP,BDMRBD,BDMRED,BDMED,BDMDMRG,BDMBDAT) | ;EP - called to send back a visit record as
|
|
LABS | ;
|
|
HEADER | ; Set node with report header info
|
|
VITAL | ;
|
|
THERAPY | ;
|
|
EXAMS | ;
|
|
DXDT | ;dates of and dm dxs
|
|
EAUDIT | ;EP
|
|
TYPEDM | ;return type of DM in BDMTYDM
|
|
PROC | ;
|
|
DATE(D) | ;EP
|
|
TRIBE(P) | ;EP
|
Name | Field # of Occurrence |
---|---|
$$COMMRES^AUPNPAT | COMM+3 |
$$DOB^AUPNPAT | DEMO+2 |
$$HRN^AUPNPAT | DEMO+1 |
$$TRIBE^AUPNPAT | TRIBE+3 |
WRITEF^BDMD91 | EN+8, EAUDIT+22 |
$$CESS^BDMD911 | DXDT+11 |
$$ACAR^BDMD912 | THERAPY+5 |
$$AMYLIN^BDMD912 | THERAPY+9 |
$$DEPDX^BDMD912 | LABS+17 |
$$DEPSCR^BDMD912 | LABS+19 |
$$DPP4^BDMD912 | THERAPY+8 |
$$EKG^BDMD912 | PPD+4 |
$$INCR^BDMD912 | THERAPY+7 |
$$INSULIN^BDMD912 | THERAPY+2 |
$$MET^BDMD912 | THERAPY+4 |
$$REFMED^BDMD912 | THERAPY+11 |
$$SULF^BDMD912 | THERAPY+3 |
$$TBTX^BDMD912 | PPD+3 |
$$TROG^BDMD912 | THERAPY+6 |
$$BPS^BDMD913 | VITAL+6 |
$$CMSFDX^BDMD913 | DXDT+1, DXDT+2 |
$$FLU^BDMD913 | IMM+3 |
$$FRSTDMDX^BDMD913 | DXDT+5 |
$$HTNDX^BDMD913 | VITAL+4 |
$$LASTDMDX^BDMD913 | DXDT+6 |
$$LASTHT^BDMD913 | VITAL+1 |
$$LASTWT^BDMD913 | VITAL+2 |
$$PLDMDOO^BDMD913 | DXDT+3 |
$$PLDMDXS^BDMD913 | DXDT+4 |
$$PNEU^BDMD913 | IMM+4 |
CUML^BDMD915 | EN+9, EAUDIT+23 |
$$ACE^BDMD916 | THERAPY+14 |
$$ASPIRIN^BDMD916 | IMM+1 |
$$DODX^BDMD916 | EPIREC+2, DXDT+7 |
$$LIPID^BDMD916 | IMM+2 |
$$DENTAL^BDMD917 | EXAMS+3 |
$$DFE^BDMD917 | EXAMS+1 |
$$DIETEDUC^BDMD917 | EXAMS+4 |
$$EXEDUC^BDMD917 | EXAMS+5 |
$$EYE^BDMD917 | EXAMS+2 |
$$OTHEDUC^BDMD917 | EXAMS+6 |
$$BMI^BDMD918 | LABS+16 |
$$CHOL^BDMD918 | LABS+4 |
$$CREAT^BDMD918 | LABS+3 |
$$HDL^BDMD918 | LABS+6 |
$$HGBA1C^BDMD918 | LABS+1 |
$$LASTNP^BDMD918 | PPD+2 |
$$LDL^BDMD918 | LABS+5 |
$$PPD^BDMD918 | PPD+1 |
$$TRIG^BDMD918 | LABS+7 |
$$URIN^BDMD918 | LABS+12 |
$$TD^BDMD91B | IMM+5 |
$$GFR^BDMD91C | LABS+2 |
$$ACTDMPT^BDMD91G | EAUDIT+11, EAUDIT+17 |
$$TOBACCO^BDMD91T | DXDT+9 |
$$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+4*, EPIREC+5*, EPIREC+6*, EPIREC+7*, EAUDIT+1! |
^BDMRECD - [#9003202.1] | PROC+2, PROC+3, PROC+4 |
^BDMRECD("B" | REC+3 |
^DIC(4 - [#4] | HEADER+6 |
^DIC(5 - [#5] | DEMO+5 |
^DPT - [#2] | DEMO+5 |
^VA(200 - [#200] | HEADER+13 |
^XTMP("BDMDM91" | 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+5*, DEMO+6*, DXDT+1*, DXDT+2* , DXDT+3*, THERAPY+10, THERAPY+12, LABS+18, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7 , TYPEDM+12, EAUDIT+2* |
Name | Line Occurrences |
---|---|
$$ACTONREG | EAUDIT+19 |
$$COMM | DEMO+6 |
$$REC | EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7 |
$$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, DXDT+10, DXDT+11, 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+13, THERAPY+14, IMM+1 , IMM+2, IMM+3, IMM+4, IMM+5, PPD+1, PPD+2, PPD+3, PPD+4, LABS+1, LABS+2 , LABS+3, LABS+4, LABS+5, LABS+6, LABS+7, LABS+12, LABS+16, LABS+17, LABS+19 |
TYPEDM | DXDT+10 |
>> | 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+9, THERAPY+14 |
>> BDMACTI | EAUDIT+6, EAUDIT+16, EAUDIT+19 |
>> BDMADAT | EPIREC+3, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, DXDT+7, DXDT+9, DXDT+11, EXAMS+1, EXAMS+2 , EXAMS+3, THERAPY+1, THERAPY+14, IMM+1, IMM+2, IMM+3, IMM+4, IMM+5, PPD+1, PPD+2 , PPD+4, LABS+1, LABS+2, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7, LABS+12, LABS+17 , LABS+19, EAUDIT+4, EAUDIT+5, EAUDIT+11, EAUDIT+17 |
BDMBDAT | REC~, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, DXDT+9, DXDT+11, EXAMS+1, EXAMS+2, EXAMS+3 , IMM+1, IMM+2, IMM+3, LABS+1, LABS+2, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7 , LABS+12, LABS+17, LABS+19 |
>> 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+5, DEMO+6, DXDT+1, DXDT+2, DXDT+3 , THERAPY+10, THERAPY+12, 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+2, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, HEADER+11, DXDT+1, DXDT+2, DXDT+7 , EAUDIT+7, EAUDIT+19 |
>> BDMDUZ2 | HEADER+6, HEADER+7, HEADER+8, HEADER+9, DEMO+1 |
>> BDMEAUT | EAUDIT+7*, EAUDIT+8, EAUDIT+9 |
BDMED | REC~ |
>> BDMEPIN | EN+3*, EPIREC+4*, EPIREC+5*, EPIREC+6*, EPIREC+7*, EAUDIT+3* |
>> BDMEPIR | EPIREC+4*, EPIREC+5*, EPIREC+6*, EPIREC+7* |
>> 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+5, DEMO+6, DXDT+1, DXDT+2, DXDT+3 , THERAPY+10, THERAPY+12, LABS+18, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+12 |
>> BDMPD | EN+4*, EN+5, EPIREC+2, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, 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+5, DEMO+6, DXDT+1, DXDT+2, DXDT+3, DXDT+4, DXDT+5, DXDT+6, DXDT+7, DXDT+8 , DXDT+9, DXDT+10, DXDT+11, 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, THERAPY+13, THERAPY+14, IMM+1, IMM+2, IMM+3, IMM+4 , IMM+5, PPD+1, PPD+2, PPD+3, PPD+4, LABS+1, LABS+2, LABS+3, LABS+4, LABS+5 , LABS+6, LABS+7, LABS+12, 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 |
>> BDMPREP | EN+6, EN+8, EN+9, EAUDIT+13, EAUDIT+20, EAUDIT+22, EAUDIT+23 |
BDMRBD | REC~, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, HEADER+2, VITAL+6, EXAMS+4, EXAMS+5, EXAMS+6 , THERAPY+11, LABS+16 |
BDMREC | REC+1~, REC+2*, REC+4, PROC+2, PROC+4*, PROC+5 |
BDMRED | REC~, EPIREC+4, EPIREC+5, EPIREC+6, EPIREC+7, HEADER+2, DXDT+6, VITAL+1, VITAL+2, VITAL+4 , VITAL+6, EXAMS+4, EXAMS+5, EXAMS+6, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7 , THERAPY+8, THERAPY+9, THERAPY+11, 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+5* |
>> BDMTTT | PROC+2*, PROC+3, PROC+4 |
>> BDMTYDM | DXDT+10*, 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+5, THERAPY+11, EAUDIT+8, EAUDIT+9 , ACTONREG+3 |
V | S~, S+1 |
X | PROC+3*, PROC+4, EPIREC+2*, EPIREC+3, THERAPY+10*, THERAPY+12*, TYPEDM+1~, TYPEDM+7*, TYPEDM+8, TYPEDM+10 , TYPEDM+12*, TYPEDM+13, TYPEDM+14, ACTONREG+2*, ACTONREG+3 |
>> Y | THERAPY+11*, THERAPY+12*, THERAPY+13 |
>> Z | THERAPY+10*, THERAPY+11 |