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

Package: Diabetes Registry

Routine: BDMDF10


Information

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

Source Information

Source file <BDMDF10.m>

Call Graph

Call Graph Total: 20

Package Total Call Graph
Diabetes Registry 17 WRITEF^BDMDF1  $$CESS^BDMDF11  ($$ACAR,$$AMYLIN,$$BROM,$$COLE,$$CVD,$$DEPDX,$$DEPSCR,$$DPP4,$$GLP1,$$INSULIN,$$MET,$$SGLT2,$$SULF,$$SULFLIKE,$$TBTX,$$TROG)^BDMDF12  ($$BPS,$$CMSFDX,$$FLU,$$FRSTDMDX,$$HEP,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$PLDMDOO,$$PLDMDXS,$$PNEU)^BDMDF13  CUML^BDMDF15  ($$ACE,$$ASPIRIN,$$DODX,$$STATIN)^BDMDF16  ($$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$OTHEDUC)^BDMDF17  ($$BMI,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$PPD,$$TRIG,$$URIN)^BDMDF18  
($$PREG,$$TD,$$TDAP)^BDMDF1B  ($$COMBINED,$$EGFRUACR,$$GFR)^BDMDF1C  ($$DMRETDX,$$HEPCDX,$$HEPSCR)^BDMDF1D  $$ACTDMPT^BDMDF1G  EPICHK^BDMDF1J  SDPI16^BDMDF1R  SDPI^BDMDF1S  ($$ENDS,$$LASTENDS,$$TOBACCO)^BDMDF1T  
($$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: 3

Package Total Caller Graph
Diabetes Registry 3 BDMDF1  BDMDF1E  BDMDF1P  

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^BDMDF1 EN+12, EAUDIT+28
$$CESS^BDMDF11 DXDT+12
$$ACAR^BDMDF12 THERAPY+6
$$AMYLIN^BDMDF12 THERAPY+10
$$BROM^BDMDF12 THERAPY+12
$$COLE^BDMDF12 THERAPY+13
$$CVD^BDMDF12 THERAPY+22
$$DEPDX^BDMDF12 MH+1
$$DEPSCR^BDMDF12 MH+3
$$DPP4^BDMDF12 THERAPY+9
$$GLP1^BDMDF12 THERAPY+11
$$INSULIN^BDMDF12 THERAPY+2
$$MET^BDMDF12 THERAPY+5
$$SGLT2^BDMDF12 THERAPY+14
$$SULF^BDMDF12 THERAPY+3
$$SULFLIKE^BDMDF12 THERAPY+4
$$TBTX^BDMDF12 PPD+3
$$TROG^BDMDF12 THERAPY+7
$$BPS^BDMDF13 VITAL+7
$$CMSFDX^BDMDF13 DXDT+1, DXDT+2
$$FLU^BDMDF13 IMM+1
$$FRSTDMDX^BDMDF13 DXDT+5
$$HEP^BDMDF13 IMM+5
$$HTNDX^BDMDF13 VITAL+5
$$LASTDMDX^BDMDF13 DXDT+6
$$LASTHT^BDMDF13 VITAL+1
$$LASTWT^BDMDF13 VITAL+2
$$PLDMDOO^BDMDF13 DXDT+3
$$PLDMDXS^BDMDF13 DXDT+4
$$PNEU^BDMDF13 IMM+2
CUML^BDMDF15 EN+13, EAUDIT+29
$$ACE^BDMDF16 THERAPY+19
$$ASPIRIN^BDMDF16 THERAPY+20
$$DODX^BDMDF16 EPIREC+2, DXDT+7
$$STATIN^BDMDF16 THERAPY+21
$$DENTAL^BDMDF17 EXAMS+3
$$DFE^BDMDF17 EXAMS+1
$$DIETEDUC^BDMDF17 MH+5
$$EXEDUC^BDMDF17 MH+6
$$EYE^BDMDF17 EXAMS+2
$$OTHEDUC^BDMDF17 MH+7
$$BMI^BDMDF18 VITAL+3
$$CHOL^BDMDF18 LABS+4
$$CREAT^BDMDF18 LABS+3
$$HDL^BDMDF18 LABS+6
$$HGBA1C^BDMDF18 LABS+1
$$LASTNP^BDMDF18 PPD+2
$$LDL^BDMDF18 LABS+5
$$PPD^BDMDF18 PPD+1
$$TRIG^BDMDF18 LABS+7
$$URIN^BDMDF18 LABS+9
$$PREG^BDMDF1B EAUDIT+14, EAUDIT+24
$$TD^BDMDF1B IMM+3
$$TDAP^BDMDF1B IMM+4
$$COMBINED^BDMDF1C LABS+10
$$EGFRUACR^BDMDF1C LABS+11
$$GFR^BDMDF1C LABS+2
$$DMRETDX^BDMDF1D HEPC+3
$$HEPCDX^BDMDF1D HEPC+1
$$HEPSCR^BDMDF1D HEPC+2
$$ACTDMPT^BDMDF1G EAUDIT+12, EAUDIT+21
EPICHK^BDMDF1J EN+10, EAUDIT+16, EAUDIT+26
SDPI16^BDMDF1R EN+15, EAUDIT+31
SDPI^BDMDF1S EN+14, EAUDIT+30
$$ENDS^BDMDF1T DXDT+13
$$LASTENDS^BDMDF1T DXDT+14
$$TOBACCO^BDMDF1T DXDT+10, DXDT+11
$$CODEN^BDMUTL TYPEDM+9, TYPEDM+11
$$DEMO^BDMUTL EN+8, 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("BDMDM18 ERRORS" EN+5*
^XTMP("BDMDM18" EN+4*, EN+7, 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
EPIREC EN+9, EAUDIT+15, EAUDIT+25
GATHER EN+11, 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, 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, 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+7, 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+8, EAUDIT+11, EAUDIT+20
>> BDMDFP 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+7, 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+7*, EN+8, 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, 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+9, EN+10, EN+12, EN+13, EN+14, EN+15, EAUDIT+15, EAUDIT+16, EAUDIT+25, EAUDIT+26
, EAUDIT+28, EAUDIT+29, EAUDIT+30, EAUDIT+31
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+8
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