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

Package: Diabetes Registry

Routine: BDMD200


Information

BDMD200 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT ;

Source Information

Source file <BDMD200.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Diabetes Registry 9 WRITEF^BDMD20  $$CESS^BDMD201  ($$ACAR,$$ALT,$$AST,$$EKG,$$INSULIN,$$MAMMOG,$$MET,$$PAP,$$SULF,$$TBTX,$$TROG)^BDMD202  CUML^BDMD205  ($$ACE,$$ASPIRIN,$$FLU,$$LIPID,$$PNEU,$$SDM,$$SELF,$$TD,$$TOBACCO)^BDMD206  ($$BPS,$$CMSFDX,$$DENTAL,$$DFE,$$DIETEDUC,$$EXEDUC,$$EYE,$$FRSTDMDX,$$HTNDX,$$LASTDMDX,$$LASTHT,$$LASTWT,$$OTHEDUC,$$PLDMDOO,$$PLDMDXS)^BDMD207  ($$BMI,$$BS,$$CHOL,$$CREAT,$$HDL,$$HGBA1C,$$LASTNP,$$LDL,$$MICRO,$$PPD,$$PROTEIN,$$TRIG,$$URIN)^BDMD208  $$RSTAT^BDMDM6  
$$DEMO^BDMUTL  
IHS Patient 1 ($$DOB,$$HRN)^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
EN ; - ENTRY POINT - from ^BDMASK
S(P,I,V) ;
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

External References

Name Field # of Occurrence
$$DOB^AUPNPAT DEMO+2
$$HRN^AUPNPAT DEMO+1
WRITEF^BDMD20 EN+8
$$CESS^BDMD201 DXDT+9
$$ACAR^BDMD202 THERAPY+5
$$ALT^BDMD202 LABS+15
$$AST^BDMD202 LABS+14
$$EKG^BDMD202 PPD+4
$$INSULIN^BDMD202 THERAPY+2
$$MAMMOG^BDMD202 LABS+17
$$MET^BDMD202 THERAPY+4
$$PAP^BDMD202 LABS+16
$$SULF^BDMD202 THERAPY+3
$$TBTX^BDMD202 PPD+3
$$TROG^BDMD202 THERAPY+6
CUML^BDMD205 EN+9
$$ACE^BDMD206 THERAPY+9
$$ASPIRIN^BDMD206 IMM+1
$$FLU^BDMD206 IMM+3
$$LIPID^BDMD206 IMM+2
$$PNEU^BDMD206 IMM+4
$$SDM^BDMD206 LABS+12
$$SELF^BDMD206 LABS+11
$$TD^BDMD206 IMM+5
$$TOBACCO^BDMD206 DXDT+7
$$BPS^BDMD207 VITAL+6
$$CMSFDX^BDMD207 DXDT+1, DXDT+2
$$DENTAL^BDMD207 EXAMS+3
$$DFE^BDMD207 EXAMS+1
$$DIETEDUC^BDMD207 EXAMS+4
$$EXEDUC^BDMD207 EXAMS+5
$$EYE^BDMD207 EXAMS+2
$$FRSTDMDX^BDMD207 DXDT+5
$$HTNDX^BDMD207 VITAL+4
$$LASTDMDX^BDMD207 DXDT+6
$$LASTHT^BDMD207 VITAL+1
$$LASTWT^BDMD207 VITAL+2
$$OTHEDUC^BDMD207 EXAMS+6
$$PLDMDOO^BDMD207 DXDT+3
$$PLDMDXS^BDMD207 DXDT+4
$$BMI^BDMD208 LABS+18
$$BS^BDMD208 LABS+2
$$CHOL^BDMD208 LABS+4
$$CREAT^BDMD208 LABS+3
$$HDL^BDMD208 LABS+6
$$HGBA1C^BDMD208 LABS+1
$$LASTNP^BDMD208 PPD+2
$$LDL^BDMD208 LABS+5
$$MICRO^BDMD208 LABS+10
$$PPD^BDMD208 PPD+1
$$PROTEIN^BDMD208 LABS+9
$$TRIG^BDMD208 LABS+7
$$URIN^BDMD208 LABS+8
$$RSTAT^BDMDM6 HEADER+11
$$DEMO^BDMUTL EN+5
$$VAL^XBDIQ1 HEADER+14, DEMO+3
$$FMADD^XLFDT EN+2, THERAPY+1
$$FMTE^XLFDT HEADER+4, THERAPY+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTLOC - [#9999999.06] HEADER+7, HEADER+8, HEADER+9
^BDMDATA("BDMEPI" EN+1!, EPIREC+1*, EPIREC+2*, EPIREC+3*
^BDMRECD - [#9003202.1] PROC+2, PROC+3, PROC+4
^BDMRECD("B" REC+3
^DIC(4 - [#4] HEADER+6
^VA(200 - [#200] HEADER+13
^XTMP("BDMDM20" 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*, DXDT+1*, DXDT+2*, DXDT+3*, THERAPY+7, TYPEDM+1
, TYPEDM+2, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11

Label References

Name Line Occurrences
$$REC EPIREC+1, EPIREC+2, EPIREC+3
EPIREC EN+6
GATHER EN+7
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

Local Variables

Legend:

>> 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, 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, DXDT+1, DXDT+2, DXDT+3, THERAPY+7, TYPEDM+1, TYPEDM+2
, TYPEDM+3, TYPEDM+4, TYPEDM+5, TYPEDM+6, TYPEDM+11
>> BDMDEMO EN+5
BDMDMRG REC~, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+11, DXDT+1, DXDT+2
BDMED REC~
>> BDMEPIN EN+3*, EPIREC+1*, EPIREC+2*, EPIREC+3*
>> BDMEPIR EPIREC+1*, EPIREC+2*, EPIREC+3*
>> 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, 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*, EN+5, EPIREC+1, EPIREC+2, EPIREC+3, HEADER+2, HEADER+4, HEADER+6, HEADER+7, HEADER+8
, HEADER+9, HEADER+11, HEADER+13, HEADER+14, DEMO+1, DEMO+2, DEMO+3, 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+6, EN+8, EN+9
BDMRBD REC~, EPIREC+1, EPIREC+2, EPIREC+3, 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, 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*
>> BDMTYPE EN+5
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
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
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All