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 |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BDMDE10

Package: Diabetes Registry

Routine: BDMDE10


Information

BDMDE10 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT 19 Dec 2016 1:31 PM ; 17 Jan 2017 1:34 PM

Source Information

Source file <BDMDE10.m>

Call Graph

Call Graph Total: 18

Package Total Call Graph
Diabetes Registry 15 WRITEF^BDMDE1  $$CESS^BDMDE11  ($$ACAR,$$AMYLIN,$$BROM,$$COLE,$$CVD,$$DEPDX,$$DEPSCR,$$DPP4,$$GLP1,$$INSULIN,$$MET,$$SGLT2,$$SULF,$$SULFLIKE,$$TBTX,$$TROG)^BDMDE12  ($$BPS,$$CMSFDX,$$FLU,$$FRSTDMDX,$$HEP,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$PLDMDOO,$$PLDMDXS,$$PNEU)^BDMDE13  CUML^BDMDE15  ($$ACE,$$ASPIRIN,$$DODX,$$STATIN)^BDMDE16  ($$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$OTHEDUC)^BDMDE17  ($$BMI,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$PPD,$$TRIG,$$URIN)^BDMDE18  
($$PREG,$$TD,$$TDAP)^BDMDE1B  ($$COMBINED,$$EGFRUACR,$$GFR)^BDMDE1C  $$ACTDMPT^BDMDE1G  SDPI16^BDMDE1R  SDPI^BDMDE1S  ($$ENDS,$$TOBACCO)^BDMDE1T  ($$CODEN,$$DEMO,$$ICD)^BDMUTL  
IHS Patient 1 ($$COMMRES,$$DOB,$$HRN,$$TRIBE)^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Diabetes Registry 3 BDMDE1  BDMDE1E  BDMDE1P  

Entry Points

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
LOCN(P,R) ;EP
COMM(P) ;EP
PPD ;
EPIREC ;create epi info record in ^BDMDATA("BDMEPI",$J,n)
LOCT(P,R) ;EP
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
MH ;MH
THERAPY ;
PROC ;

External References

Name Field # of Occurrence
$$COMMRES^AUPNPAT COMM+3
$$DOB^AUPNPAT DEMO+2, DXDT+10
$$HRN^AUPNPAT DEMO+1
$$TRIBE^AUPNPAT TRIBE+3
WRITEF^BDMDE1 EN+10, EAUDIT+26
$$CESS^BDMDE11 DXDT+12
$$ACAR^BDMDE12 THERAPY+6
$$AMYLIN^BDMDE12 THERAPY+10
$$BROM^BDMDE12 THERAPY+12
$$COLE^BDMDE12 THERAPY+13
$$CVD^BDMDE12 THERAPY+22
$$DEPDX^BDMDE12 MH+1
$$DEPSCR^BDMDE12 MH+3
$$DPP4^BDMDE12 THERAPY+9
$$GLP1^BDMDE12 THERAPY+11
$$INSULIN^BDMDE12 THERAPY+2
$$MET^BDMDE12 THERAPY+5
$$SGLT2^BDMDE12 THERAPY+14
$$SULF^BDMDE12 THERAPY+3
$$SULFLIKE^BDMDE12 THERAPY+4
$$TBTX^BDMDE12 PPD+3
$$TROG^BDMDE12 THERAPY+7
$$BPS^BDMDE13 VITAL+7
$$CMSFDX^BDMDE13 DXDT+1, DXDT+2
$$FLU^BDMDE13 IMM+1
$$FRSTDMDX^BDMDE13 DXDT+5
$$HEP^BDMDE13 IMM+5
$$HTNDX^BDMDE13 VITAL+5
$$LASTDMDX^BDMDE13 DXDT+6
$$LASTHT^BDMDE13 VITAL+1
$$LASTWT^BDMDE13 VITAL+2
$$PLDMDOO^BDMDE13 DXDT+3
$$PLDMDXS^BDMDE13 DXDT+4
$$PNEU^BDMDE13 IMM+2
CUML^BDMDE15 EN+11, EAUDIT+27
$$ACE^BDMDE16 THERAPY+19
$$ASPIRIN^BDMDE16 THERAPY+20
$$DODX^BDMDE16 EPIREC+2, DXDT+7
$$STATIN^BDMDE16 THERAPY+21
$$DENTAL^BDMDE17 EXAMS+3
$$DFE^BDMDE17 EXAMS+1
$$DIETEDUC^BDMDE17 MH+5
$$EXEDUC^BDMDE17 MH+6
$$EYE^BDMDE17 EXAMS+2
$$OTHEDUC^BDMDE17 MH+7
$$BMI^BDMDE18 VITAL+3
$$CHOL^BDMDE18 LABS+4
$$CREAT^BDMDE18 LABS+3
$$HDL^BDMDE18 LABS+6
$$HGBA1C^BDMDE18 LABS+1
$$LASTNP^BDMDE18 PPD+2
$$LDL^BDMDE18 LABS+5
$$PPD^BDMDE18 PPD+1
$$TRIG^BDMDE18 LABS+7
$$URIN^BDMDE18 LABS+9
$$PREG^BDMDE1B EAUDIT+14, EAUDIT+23
$$TD^BDMDE1B IMM+3
$$TDAP^BDMDE1B IMM+4
$$COMBINED^BDMDE1C LABS+10
$$EGFRUACR^BDMDE1C LABS+11
$$GFR^BDMDE1C LABS+2
$$ACTDMPT^BDMDE1G EAUDIT+12, EAUDIT+20
SDPI16^BDMDE1R EN+13, EAUDIT+29
SDPI^BDMDE1S EN+12, EAUDIT+28
$$ENDS^BDMDE1T DXDT+13
$$TOBACCO^BDMDE1T DXDT+10, DXDT+11
$$CODEN^BDMUTL TYPEDM+9, TYPEDM+11
$$DEMO^BDMUTL EN+7, EAUDIT+11, EAUDIT+19
$$ICD^BDMUTL TYPEDM+9, TYPEDM+11
$$VAL^XBDIQ1 HEADER+9, DEMO+3, LOCN+6, LOCT+6
$$FMADD^XLFDT EN+4, THERAPY+1, EAUDIT+3, EAUDIT+5, EAUDIT+6
$$FMTE^XLFDT HEADER+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,BDMTTT,?5,$P(^BDMRECD(BDMRTYP("IEN"),11,BDMTTT,0),U),?40,X
  • Line Location: PROC+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACM(41 - [#9002241] EAUDIT+8, EAUDIT+9, EAUDIT+10, ACTONREG+3, ACTONREG+4, ACTONREG+5, LOCN+3, LOCN+4, LOCT+3, LOCT+4
^AUPNPAT - [#9000001] TRIBE+2, COMM+2, EAUDIT+18
^BDMDATA("BDMEPI" EN+3!, EPIREC+5*, EAUDIT+2!
^BDMRECD - [#9003202.1] PROC+2, PROC+3, PROC+5
^BDMRECD("B" REC+3
^DIC(5 - [#5] HEADER+8
^DPT - [#2] HEADER+8
^VA(200 - [#200] HEADER+6
^XTMP("BDMDM17" EN+4*, EN+6, S+1*, HEADER+2*, HEADER+4*, HEADER+6*, HEADER+7*, HEADER+8*, HEADER+9*, DEMO+1*
, DEMO+2*, DEMO+3*, DXDT+1*, DXDT+2*, DXDT+3*, MH+2, THERAPY+15, THERAPY+17, TYPEDM+2, TYPEDM+3
, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+8, TYPEDM+13, EAUDIT+3*

Label References

Name Line Occurrences
$$ACTONREG EAUDIT+22
$$COMM HEADER+7
$$REC EPIREC+5
EPIREC EN+8, EAUDIT+15, EAUDIT+24
GATHER EN+9, EAUDIT+16, EAUDIT+25
S DXDT+4, DXDT+5, DXDT+6, DXDT+7, DXDT+8, DXDT+9, DXDT+10, DXDT+11, DXDT+12, DXDT+13
, VITAL+1, VITAL+2, VITAL+3, VITAL+5, VITAL+7, EXAMS+1, EXAMS+2, EXAMS+3, MH+1, MH+3
, MH+5, MH+6, MH+7, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+9
, THERAPY+10, THERAPY+11, THERAPY+12, THERAPY+13, THERAPY+14, THERAPY+18, THERAPY+19, THERAPY+20, THERAPY+21, THERAPY+22
, PPD+1, PPD+2, PPD+3, IMM+1, IMM+2, IMM+3, IMM+4, IMM+5, LABS+1, LABS+2
, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7, LABS+9, LABS+10, LABS+11
TYPEDM DXDT+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BDM3YE EAUDIT+6*, EAUDIT+12, EAUDIT+20
>> BDM6MBD THERAPY+1*, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+9, THERAPY+10, THERAPY+11
, THERAPY+12, THERAPY+13, THERAPY+14, THERAPY+19, THERAPY+21, LABS+10
>> BDMACTI EAUDIT+7, EAUDIT+18, EAUDIT+22
>> BDMADAT EPIREC+3, EPIREC+5, DXDT+7, DXDT+10, DXDT+11, DXDT+12, DXDT+13, VITAL+2, VITAL+5, EXAMS+1
, EXAMS+2, EXAMS+3, MH+1, MH+3, THERAPY+1, THERAPY+19, THERAPY+20, THERAPY+21, THERAPY+22, PPD+1
, PPD+2, IMM+1, IMM+2, IMM+3, IMM+4, IMM+5, LABS+1, LABS+2, LABS+3, LABS+4
, LABS+5, LABS+6, LABS+7, LABS+9, LABS+10, LABS+11, EAUDIT+5, EAUDIT+6, EAUDIT+12, EAUDIT+14
, EAUDIT+20, EAUDIT+23
BDMBDAT REC~, EPIREC+5, DXDT+11, DXDT+12, DXDT+13, VITAL+2, EXAMS+1, EXAMS+2, EXAMS+3, MH+1
, MH+3, THERAPY+20, IMM+1, LABS+1, LABS+2, LABS+3, LABS+4, LABS+5, LABS+6, LABS+7
, LABS+9, LABS+10, LABS+11, EAUDIT+14, EAUDIT+23
>> BDMBEGD EAUDIT+5*, EAUDIT+12, EAUDIT+20
>> BDMBEN EAUDIT+12, EAUDIT+20
>> BDMBTH EN+6, S+1, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, DEMO+1, DEMO+2
, DEMO+3, DXDT+1, DXDT+2, DXDT+3, MH+2, THERAPY+15, THERAPY+17, TYPEDM+2, TYPEDM+3, TYPEDM+4
, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+8, TYPEDM+13
>> BDMDEMO EN+7, EAUDIT+11, EAUDIT+19
>> BDMDEP MH+2*, MH+3
BDMDMRG REC~, EPIREC+2, EPIREC+5, DXDT+1, DXDT+2, DXDT+7, EAUDIT+8, EAUDIT+22
>> BDMDUZ2 DEMO+1
>> BDMEAUT EAUDIT+8*, EAUDIT+9, EAUDIT+10
BDMED REC~
>> BDMEPIN EN+5*, EPIREC+5*, EAUDIT+4*
>> BDMEPIR EPIREC+4*, EPIREC+5*
>> BDMEPIX PROC+1*, PROC+2*
>> BDMER GATHER+1*
>> BDMJOB EN+6, S+1, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9, DEMO+1, DEMO+2
, DEMO+3, DXDT+1, DXDT+2, DXDT+3, MH+2, THERAPY+15, THERAPY+17, TYPEDM+2, TYPEDM+3, TYPEDM+4
, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+8, TYPEDM+13
>> BDMPD EN+6*, EN+7, EPIREC+2, EPIREC+5, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8, HEADER+9
, DEMO+1, DEMO+2, DEMO+3, DXDT+1, DXDT+2, DXDT+3, DXDT+4, DXDT+5, DXDT+6, DXDT+7
, DXDT+8, DXDT+9, DXDT+10, DXDT+11, DXDT+12, DXDT+13, VITAL+1, VITAL+2, VITAL+3, VITAL+5
, VITAL+7, EXAMS+1, EXAMS+2, EXAMS+3, MH+1, MH+2, MH+3, MH+5, MH+6, MH+7
, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+9, THERAPY+10, THERAPY+11, THERAPY+12
, THERAPY+13, THERAPY+14, THERAPY+15, THERAPY+17, THERAPY+18, THERAPY+19, THERAPY+20, THERAPY+21, THERAPY+22, PPD+1
, PPD+2, PPD+3, IMM+1, IMM+2, IMM+3, IMM+4, IMM+5, LABS+1, LABS+2, LABS+3
, LABS+4, LABS+5, LABS+6, LABS+7, LABS+9, LABS+10, LABS+11, TYPEDM+2, TYPEDM+3, TYPEDM+4
, TYPEDM+5, TYPEDM+6, TYPEDM+7, TYPEDM+8, TYPEDM+13, EAUDIT+10*, EAUDIT+11, EAUDIT+12, EAUDIT+18*, EAUDIT+19
, EAUDIT+20, EAUDIT+22
>> BDMPREG EAUDIT+14, EAUDIT+23
>> BDMPREP EN+8, EN+10, EN+11, EN+12, EN+13, EAUDIT+15, EAUDIT+24, EAUDIT+26, EAUDIT+27, EAUDIT+28
, EAUDIT+29
BDMRBD REC~, EPIREC+5, HEADER+2, VITAL+3, VITAL+7, MH+5, MH+6, MH+7
BDMREC REC+1~, REC+2*, REC+4, PROC+2, PROC+5*, PROC+7
BDMRED REC~, EPIREC+5, HEADER+2, DXDT+6, VITAL+1, VITAL+3, VITAL+7, MH+5, MH+6, MH+7
, THERAPY+2, THERAPY+3, THERAPY+4, THERAPY+5, THERAPY+6, THERAPY+7, THERAPY+9, THERAPY+10, THERAPY+11, THERAPY+12
, THERAPY+13, THERAPY+14
BDMRTYP REC~, REC+3
BDMRTYP("IEN" REC+3*, REC+4, PROC+2, PROC+3, PROC+5
>> BDMTAXI EAUDIT+12, EAUDIT+20
>> BDMTHER EPIREC+4*
>> BDMTTT PROC+2*, PROC+3, PROC+5
>> BDMTYDM DXDT+9*, TYPEDM+2*, TYPEDM+3*, TYPEDM+4*, TYPEDM+5*, TYPEDM+6*, TYPEDM+7*, TYPEDM+9*, TYPEDM+10, TYPEDM+11*
, TYPEDM+12, TYPEDM+14*, TYPEDM+15*
>> BDMTYPE EN+7
BDMX REC+1~, EAUDIT+12*, EAUDIT+13, EAUDIT+20*, EAUDIT+21
>> C TYPEDM+9*, TYPEDM+11*
D DATE~, DATE+1, DATE+2
DFN REC~
DT EN+4, HEADER+4, EAUDIT+3
DUZ HEADER+6
DUZ(2 DEMO+1
I S~, S+1, TYPEDM+9*, TYPEDM+11*
>> J TYPEDM+9*, TYPEDM+11*
P S~, S+1, TRIBE~, TRIBE+1, TRIBE+2, TRIBE+3, COMM~, COMM+1, COMM+2, COMM+3
, EAUDIT+14, EAUDIT+23, ACTONREG~, ACTONREG+2, ACTONREG+3, ACTONREG+4, LOCN~, LOCN+2, LOCN+3, LOCN+4
, LOCT~, LOCT+2, LOCT+3, LOCT+4
R ACTONREG~, ACTONREG+1, ACTONREG+3, ACTONREG+4, LOCN~, LOCN+1, LOCN+3, LOCN+4, LOCT~, LOCT+1
, LOCT+3, LOCT+4
U PROC+5, HEADER+6, HEADER+8, EAUDIT+9, EAUDIT+10, ACTONREG+5
V S~, S+1
X PROC+3*, PROC+4*, PROC+5, EPIREC+2*, EPIREC+3, THERAPY+15*, THERAPY+17*, TYPEDM+1~, TYPEDM+8*, TYPEDM+9
, TYPEDM+11, TYPEDM+13*, TYPEDM+14, TYPEDM+15, ACTONREG+4*, ACTONREG+5, LOCN+4*, LOCN+5, LOCN+6, LOCT+4*
, LOCT+5, LOCT+6
>> Y THERAPY+17*, THERAPY+18
>> Z THERAPY+15*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All