BDMD210 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT ;
Source file <BDMD210.m>
Package | Total | Call Graph |
---|---|---|
Diabetes Registry | 8 | WRITEF^BDMD21 $$CESS^BDMD211 ($$ACAR,$$ALT,$$AST,$$EKG,$$INSULIN,$$MAMMOG,$$MET,$$PAP,$$SULF,$$TBTX,$$TROG)^BDMD212 CUML^BDMD215 ($$ACE,$$ASPIRIN,$$FLU,$$LIPID,$$PNEU,$$SDM,$$SELF,$$TD,$$TOBACCO)^BDMD216 ($$BPS,$$CMSFDX,$$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$FRSTDMDX,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$OTHEDUC,$$PLDMDOO,$$PLDMDXS)^BDMD217 ($$BMI,$$BS,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$MICRO,$$PPD,$$PROTEIN,$$TRIG,$$URIN)^BDMD218 $$RSTAT^BDMDM6 |
IHS Patient | 1 | ($$COMMRES,$$DOB,$$HRN,$$TRIBE)^AUPNPAT |
IHS VA Utilities | 1 | $$VAL^XBDIQ1 |
Kernel | 1 | ($$FMADD,$$FMTE)^XLFDT |
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)
|
|
REC(DFN,BDMRTYP,BDMRBD,BDMRED,BDMED,BDMDMRG) | ;EP - called to send back a visit record as
|
|
GATHER | ;gather data for 1 patient
|
|
IMM | ;
|
|
TYPEDM | ;return type of DM in BDMTYDM
|
|
LABS | ;
|
|
HEADER | ; Set node with report header info
|
|
VITAL | ;
|
|
THERAPY | ;
|
|
EXAMS | ;
|
|
DEMO | ;pat demographics
|
|
DXDT | ;dates of and dm dxs
|
|
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^BDMD21 | EN+7 |
$$CESS^BDMD211 | DXDT+9 |
$$ACAR^BDMD212 | THERAPY+5 |
$$ALT^BDMD212 | LABS+15 |
$$AST^BDMD212 | LABS+14 |
$$EKG^BDMD212 | PPD+4 |
$$INSULIN^BDMD212 | THERAPY+2 |
$$MAMMOG^BDMD212 | LABS+17 |
$$MET^BDMD212 | THERAPY+4 |
$$PAP^BDMD212 | LABS+16 |
$$SULF^BDMD212 | THERAPY+3 |
$$TBTX^BDMD212 | PPD+3 |
$$TROG^BDMD212 | THERAPY+6 |
CUML^BDMD215 | EN+8 |
$$ACE^BDMD216 | THERAPY+9 |
$$ASPIRIN^BDMD216 | IMM+1 |
$$FLU^BDMD216 | IMM+3 |
$$LIPID^BDMD216 | IMM+2 |
$$PNEU^BDMD216 | IMM+4 |
$$SDM^BDMD216 | LABS+12 |
$$SELF^BDMD216 | LABS+11 |
$$TD^BDMD216 | IMM+5 |
$$TOBACCO^BDMD216 | DXDT+7 |
$$BPS^BDMD217 | VITAL+6 |
$$CMSFDX^BDMD217 | DXDT+1, DXDT+2 |
$$DENTAL^BDMD217 | EXAMS+3 |
$$DFE^BDMD217 | EXAMS+1 |
$$DIETEDUC^BDMD217 | EXAMS+4 |
$$EXEDUC^BDMD217 | EXAMS+5 |
$$EYE^BDMD217 | EXAMS+2 |
$$FRSTDMDX^BDMD217 | DXDT+5 |
$$HTNDX^BDMD217 | VITAL+4 |
$$LASTDMDX^BDMD217 | DXDT+6 |
$$LASTHT^BDMD217 | VITAL+1 |
$$LASTWT^BDMD217 | VITAL+2 |
$$OTHEDUC^BDMD217 | EXAMS+6 |
$$PLDMDOO^BDMD217 | DXDT+3 |
$$PLDMDXS^BDMD217 | DXDT+4 |
$$BMI^BDMD218 | LABS+18 |
$$BS^BDMD218 | LABS+2 |
$$CHOL^BDMD218 | LABS+4 |
$$CREAT^BDMD218 | LABS+3 |
$$HDL^BDMD218 | LABS+6 |
$$HGBA1C^BDMD218 | LABS+1 |
$$LASTNP^BDMD218 | PPD+2 |
$$LDL^BDMD218 | LABS+5 |
$$MICRO^BDMD218 | LABS+10 |
$$PPD^BDMD218 | PPD+1 |
$$PROTEIN^BDMD218 | LABS+9 |
$$TRIG^BDMD218 | LABS+7 |
$$URIN^BDMD218 | LABS+8 |
$$RSTAT^BDMDM6 | HEADER+11 |
$$VAL^XBDIQ1 | HEADER+14, DEMO+3 |
$$FMADD^XLFDT | EN+2, THERAPY+1 |
$$FMTE^XLFDT | HEADER+4, THERAPY+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNPAT - [#9000001] | TRIBE+2, COMM+2 |
^AUTTLOC - [#9999999.06] | HEADER+7, HEADER+8, HEADER+9 |
^BDMDATA("BDMEPI" | EN+1!, EPIREC+1*, EPIREC+2*, EPIREC+3*, EPIREC+4* |
^BDMRECD - [#9003202.1] | PROC+2, PROC+3, PROC+4 |
^BDMRECD("B" | REC+3 |
^DIC(4 - [#4] | HEADER+6 |
^VA(200 - [#200] | HEADER+13 |
^XTMP("BDMDM21" | 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*, DXDT+1*, DXDT+2*, DXDT+3* , THERAPY+7, TYPEDM+1, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11 |
Name | Line Occurrences |
---|---|
$$COMM | DEMO+5 |
$$REC | EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4 |
$$TRIBE | DEMO+4 |
EPIREC | EN+5 |
GATHER | EN+6 |
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+8, THERAPY+9, 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+8 , LABS+9, LABS+10, LABS+11, LABS+12, LABS+14, LABS+15, LABS+16, LABS+17, LABS+18 |
TYPEDM | DXDT+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> BDM6MBD | THERAPY+1*, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+9, IMM+2 |
>> BDMADAT | EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4, THERAPY+1 |
>> 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, DXDT+1, DXDT+2, DXDT+3, THERAPY+7 , TYPEDM+1, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11 |
BDMDMRG | REC~, EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4, HEADER+11, DXDT+1, DXDT+2 |
BDMED | REC~ |
>> BDMEPIN | EN+3*, EPIREC+1*, EPIREC+2*, EPIREC+3*, EPIREC+4* |
>> BDMEPIR | EPIREC+1*, EPIREC+2*, EPIREC+3*, EPIREC+4* |
>> 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, DXDT+1, DXDT+2, DXDT+3, THERAPY+7 , TYPEDM+1, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11 |
>> BDMPD | EN+4*, EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4, 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, 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, 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+8, LABS+9, LABS+10, LABS+11, LABS+12, LABS+14, LABS+15, LABS+16 , LABS+17, LABS+18, TYPEDM+1, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11 |
>> BDMPREP | EN+5, EN+7, EN+8 |
BDMRBD | REC~, EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4, HEADER+2, DXDT+9, VITAL+6, EXAMS+1, EXAMS+2 , EXAMS+3, EXAMS+4, EXAMS+5, EXAMS+6, IMM+1, IMM+3, LABS+1, LABS+2, LABS+3, LABS+4 , LABS+5, LABS+6, LABS+7, LABS+8, LABS+9, LABS+10, LABS+11, LABS+12, LABS+14, LABS+15 , LABS+16, LABS+17, LABS+18 |
BDMREC | REC+1~, REC+2*, REC+4, PROC+2, PROC+4*, PROC+5 |
BDMRED | REC~, EPIREC+1, EPIREC+2, EPIREC+3, EPIREC+4, 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+9, 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+8, LABS+9, LABS+10, LABS+11, LABS+12, LABS+14, LABS+15, LABS+16, LABS+17, LABS+18 |
BDMRTYP | REC~, REC+3 |
BDMRTYP("IEN" | REC+3*, REC+4, PROC+2, PROC+3, PROC+4 |
>> BDMTTT | PROC+2*, PROC+3, PROC+4 |
>> BDMTYDM | DXDT+8*, TYPEDM+1*, TYPEDM+2*, TYPEDM+3*, TYPEDM+4*, TYPEDM+5*, TYPEDM+7*, TYPEDM+8, TYPEDM+9*, TYPEDM+10 , TYPEDM+12*, TYPEDM+13* |
BDMX | REC+1~, PROC+1*, PROC+2* |
>> C | TYPEDM+7*, TYPEDM+9* |
D | DATE~, DATE+1, DATE+2 |
DFN | REC~ |
DT | EN+2, HEADER+4 |
DUZ | HEADER+13 |
DUZ(2 | HEADER+6, HEADER+7, HEADER+8, HEADER+9, DEMO+1 |
I | S~, S+1, TYPEDM+7*, TYPEDM+9* |
P | S~, S+1, TRIBE~, TRIBE+1, TRIBE+2, TRIBE+3, COMM~, COMM+1, COMM+2, COMM+3 |
U | PROC+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, HEADER+13 |
V | S~, S+1 |
>> X | PROC+3*, PROC+4, THERAPY+7*, TYPEDM+6*, TYPEDM+7, TYPEDM+9, TYPEDM+11*, TYPEDM+12, TYPEDM+13 |
>> Y | THERAPY+7*, THERAPY+8 |