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: BDMDG10

Package: Diabetes Registry

Routine: BDMDG10


Information

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

Source Information

Source file <BDMDG10.m>

Call Graph

Call Graph Total: 19

Package Total Call Graph
Diabetes Registry 16 WRITEF^BDMDG1  $$CESS^BDMDG11  ($$ACAR,$$AMYLIN,$$BROM,$$COLE,$$CVD,$$DEPDX,$$DEPSCR,$$DPP4,$$GLP1,$$INSULIN,$$MET,$$SGLT2,$$SULF,$$SULFLIKE,$$TBTX,$$TROG)^BDMDG12  ($$BPS,$$CMSFDX,$$FLU,$$FRSTDMDX,$$HEP,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$PLDMDOO,$$PLDMDXS,$$PNEU)^BDMDG13  CUML^BDMDG15  ($$ACE,$$ASPIRIN,$$DODX,$$STATIN)^BDMDG16  ($$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$OTHEDUC)^BDMDG17  ($$BMI,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$PPD,$$TRIG,$$URIN)^BDMDG18  
($$PREG,$$TD,$$TDAP)^BDMDG1B  ($$COMBINED,$$EGFRUACR,$$GFR)^BDMDG1C  ($$DMRETDX,$$HEPCDX,$$HEPSCR,$$LEAMP)^BDMDG1D  $$ACTDMPT^BDMDG1G  EPICHK^BDMDG1J  SDPI16^BDMDG1R  ($$ENDS,$$LASTENDS,$$TOBACCO)^BDMDG1T  ($$CODEN,$$DEMO,$$ICD,BUILDSML)^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: 4

Package Total Caller Graph
Diabetes Registry 4 BDMDG1  BDMDG1E  BDMDG1P  BDMDG1Y  

Entry Points

Name Comments DBIA/ICR reference
DEMO ;pat demographics
ACTONREG(P,R) ;
LOCN(P,R) ;EP
COMM(P) ;EP
PPD ;
EPIREC ;create epi info record in ^BDMDATA("BDMEPI",$J,n)
LOCT(P,R) ;EP
REC(DFN,BDMRTYP,BDMRBD,BDMRED,BDMED,BDMDMRG,BDMBDAT) ;EP - called to send back a visit record as
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
HEPC ;
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, DXDT+14
$$HRN^AUPNPAT DEMO+1
$$TRIBE^AUPNPAT TRIBE+3
WRITEF^BDMDG1 EN+13, EAUDIT+28
$$CESS^BDMDG11 DXDT+12
$$ACAR^BDMDG12 THERAPY+6
$$AMYLIN^BDMDG12 THERAPY+10
$$BROM^BDMDG12 THERAPY+12
$$COLE^BDMDG12 THERAPY+13
$$CVD^BDMDG12 THERAPY+22
$$DEPDX^BDMDG12 MH+1
$$DEPSCR^BDMDG12 MH+3
$$DPP4^BDMDG12 THERAPY+9
$$GLP1^BDMDG12 THERAPY+11
$$INSULIN^BDMDG12 THERAPY+2
$$MET^BDMDG12 THERAPY+5
$$SGLT2^BDMDG12 THERAPY+14
$$SULF^BDMDG12 THERAPY+3
$$SULFLIKE^BDMDG12 THERAPY+4
$$TBTX^BDMDG12 PPD+3
$$TROG^BDMDG12 THERAPY+7
$$BPS^BDMDG13 VITAL+7
$$CMSFDX^BDMDG13 DXDT+1, DXDT+2
$$FLU^BDMDG13 IMM+1
$$FRSTDMDX^BDMDG13 DXDT+5
$$HEP^BDMDG13 IMM+5
$$HTNDX^BDMDG13 VITAL+5
$$LASTDMDX^BDMDG13 DXDT+6
$$LASTHT^BDMDG13 VITAL+1
$$LASTWT^BDMDG13 VITAL+2
$$PLDMDOO^BDMDG13 DXDT+3
$$PLDMDXS^BDMDG13 DXDT+4
$$PNEU^BDMDG13 IMM+2
CUML^BDMDG15 EN+14, EAUDIT+29
$$ACE^BDMDG16 THERAPY+19
$$ASPIRIN^BDMDG16 THERAPY+20
$$DODX^BDMDG16 EPIREC+2, DXDT+7
$$STATIN^BDMDG16 THERAPY+21
$$DENTAL^BDMDG17 EXAMS+3
$$DFE^BDMDG17 EXAMS+1
$$DIETEDUC^BDMDG17 MH+5
$$EXEDUC^BDMDG17 MH+6
$$EYE^BDMDG17 EXAMS+2
$$OTHEDUC^BDMDG17 MH+7
$$BMI^BDMDG18 VITAL+3
$$CHOL^BDMDG18 LABS+4
$$CREAT^BDMDG18 LABS+3
$$HDL^BDMDG18 LABS+6
$$HGBA1C^BDMDG18 LABS+1
$$LASTNP^BDMDG18 PPD+2
$$LDL^BDMDG18 LABS+5
$$PPD^BDMDG18 PPD+1
$$TRIG^BDMDG18 LABS+7
$$URIN^BDMDG18 LABS+9
$$PREG^BDMDG1B EAUDIT+14, EAUDIT+24
$$TD^BDMDG1B IMM+3
$$TDAP^BDMDG1B IMM+4
$$COMBINED^BDMDG1C LABS+10
$$EGFRUACR^BDMDG1C LABS+11
$$GFR^BDMDG1C LABS+2
$$DMRETDX^BDMDG1D HEPC+3
$$HEPCDX^BDMDG1D HEPC+1
$$HEPSCR^BDMDG1D HEPC+2
$$LEAMP^BDMDG1D HEPC+5
$$ACTDMPT^BDMDG1G EAUDIT+12, EAUDIT+21
EPICHK^BDMDG1J EN+11, EAUDIT+16, EAUDIT+26
SDPI16^BDMDG1R EN+15, EAUDIT+30
$$ENDS^BDMDG1T DXDT+13
$$LASTENDS^BDMDG1T DXDT+14
$$TOBACCO^BDMDG1T DXDT+10, DXDT+11
$$CODEN^BDMUTL TYPEDM+9, TYPEDM+11
$$DEMO^BDMUTL EN+9, EAUDIT+11, EAUDIT+20
$$ICD^BDMUTL TYPEDM+9, TYPEDM+11
BUILDSML^BDMUTL EN+2
$$VAL^XBDIQ1 HEADER+9, DEMO+3, LOCN+6, LOCT+6
$$FMADD^XLFDT EN+4, EN+5, 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+19
^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("BDMDM19 ERRORS" EN+5*
^XTMP("BDMDM19" EN+4*, EN+8, 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+23
$$COMM HEADER+7
$$REC EPIREC+5
EAUDIT EN+7
EPIREC EN+10, EAUDIT+15, EAUDIT+25
GATHER EN+12, EAUDIT+17, EAUDIT+27
S DXDT+4, DXDT+5, DXDT+6, DXDT+7, DXDT+8, DXDT+9, DXDT+10, DXDT+11, DXDT+12, DXDT+13
, DXDT+14, 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, HEPC+1, HEPC+2, HEPC+3, HEPC+5, 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+21
>> 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+20, THERAPY+21, LABS+10
>> BDMACTI EAUDIT+7, EAUDIT+19, EAUDIT+23
>> BDMADAT EPIREC+3, EPIREC+5, DXDT+7, DXDT+10, DXDT+11, DXDT+12, DXDT+13, DXDT+14, 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, HEPC+1, HEPC+2, HEPC+3, HEPC+5, 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+21, EAUDIT+24
BDMBDAT REC~, EPIREC+5, DXDT+11, DXDT+12, DXDT+13, VITAL+2, EXAMS+1, EXAMS+2, EXAMS+3, MH+1
, MH+3, 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+24
>> BDMBEGD EAUDIT+5*, EAUDIT+12, EAUDIT+21
>> BDMBEN EAUDIT+12, EAUDIT+21
>> BDMBTH EN+8, 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+9, EAUDIT+11, EAUDIT+20
>> BDMDGP MH+2*, MH+3
BDMDMRG REC~, EPIREC+2, EPIREC+5, DXDT+1, DXDT+2, DXDT+7, EAUDIT+8, EAUDIT+23
>> BDMDUZ2 DEMO+1
>> BDMEAUT EAUDIT+8*, EAUDIT+9, EAUDIT+10
>> BDMECNT EN+6*
BDMED REC~
>> BDMEPIN EN+6*, EPIREC+5*, EAUDIT+4*
>> BDMEPIR EPIREC+4*, EPIREC+5*
>> BDMEPIX PROC+1*, PROC+2*
>> BDMER GATHER+1*
>> BDMJOB EN+8, 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+8*, EN+9, 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, DXDT+14, 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, HEPC+1, HEPC+2, HEPC+3, HEPC+5, 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+19*, EAUDIT+20, EAUDIT+21, EAUDIT+23
>> BDMPREG EAUDIT+14, EAUDIT+24
>> BDMPREP EN+10, EN+11, EN+13, EN+14, EN+15, EAUDIT+15, EAUDIT+16, EAUDIT+25, EAUDIT+26, EAUDIT+28
, EAUDIT+29, EAUDIT+30
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+21
>> 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, EN+9
BDMX REC+1~, EAUDIT+12*, EAUDIT+13, EAUDIT+21*, EAUDIT+22
>> C TYPEDM+9*, TYPEDM+11*
D DATE~, DATE+1, DATE+2
DFN REC~
DT EN+4, EN+5, 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+24, 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