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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ACDRR1CC

Package: Alcohol Chemical Dependency

Routine: ACDRR1CC


Information

ACDRR1CC ;IHS/ADC/EDE/KML - BROKE UP ACDRR1CB;

Source Information

Source file <ACDRR1CC.m>

Call Graph

Call Graph Total: 1

Package Total Call Graph
IHS Patient 1 ($$AGE,$$SEX,$$TRIBE)^AUPNPAT  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Alcohol Chemical Dependency 1 ACDRR1CB  

Entry Points

Name Comments DBIA/ICR reference
COUNTCS ; COUNT ALL CS ENTRIES FOR THIS PATIENT & GET AVG HOURS
COMPDAYS ; COMPUTE AVERAGE NUMBER OF DAYS USED FOR ALCOHOL/DRUGS
DRUGCNT ; EP-COUNT PATIENTS BY DRUG USED
; compute patient totals for each drug
PATCNT ; EP-COUNT PATIENT DATA
PROBCNT ; EP-COUNT PATIENTS BY PROBLEM
; compute patient totals for each problem

External References

Name Field # of Occurrence
$$AGE^AUPNPAT PATCNT+2, PROBCNT+11, PROBCNT+27, DRUGCNT+11, DRUGCNT+28
$$SEX^AUPNPAT PATCNT+1, PROBCNT+9, PROBCNT+25, DRUGCNT+9, DRUGCNT+26
$$TRIBE^AUPNPAT PATCNT+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACDCS - [#9002172] COUNTCS+5
^ACDCS("C" COUNTCS+5
^TMP("ACDRR1" PATCNT+13, PATCNT+20, PATCNT+21, COUNTCS+3, COMPDAYS+3, COMPDAYS+6, PROBCNT+4, PROBCNT+7, PROBCNT+14!, PROBCNT+15*
, PROBCNT+16*, PROBCNT+20, PROBCNT+23, PROBCNT+30!, PROBCNT+31*, PROBCNT+32*, DRUGCNT+4, DRUGCNT+7, DRUGCNT+14!, DRUGCNT+15*
, DRUGCNT+16*, DRUGCNT+21, DRUGCNT+24, DRUGCNT+31!, DRUGCNT+32*, DRUGCNT+33*

Label References

Name Line Occurrences
COMPDAYS PATCNT+5
COUNTCS PATCNT+4

Naked Globals

Name Field # of Occurrence
^( COMPDAYS+3, COMPDAYS+6, PROBCNT+14*, PROBCNT+30*, DRUGCNT+14*, DRUGCNT+31*
^(0 COUNTCS+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A PROBCNT+2~, PROBCNT+11*, PROBCNT+27*, DRUGCNT+2~, DRUGCNT+11*, DRUGCNT+28*
>> ACDA PATCNT+20*, PATCNT+22, PATCNT+38, PATCNT+45, PATCNT+52, PATCNT+59
>> ACDADAYS PATCNT+25, PATCNT+41, PATCNT+48, PATCNT+62, COMPDAYS+2*, COMPDAYS+4*
>> ACDAGE PATCNT+2*, PATCNT+8, PATCNT+11, PATCNT+18, PATCNT+28, PATCNT+36, PROBCNT+11*, PROBCNT+12, PROBCNT+16*, PROBCNT+27*
, PROBCNT+28, PROBCNT+32*, DRUGCNT+11*, DRUGCNT+12, DRUGCNT+16*, DRUGCNT+28*, DRUGCNT+29, DRUGCNT+33*
ACDATBL PROBCNT+18!, PROBCNT+34!, DRUGCNT+19!, DRUGCNT+35!
ACDATBL( PROBCNT+5*, PROBCNT+12*, PROBCNT+16, PROBCNT+21*, PROBCNT+28*, PROBCNT+32, DRUGCNT+5*, DRUGCNT+12*, DRUGCNT+16, DRUGCNT+22*
, DRUGCNT+29*, DRUGCNT+33
>> ACDCSC PATCNT+24, PATCNT+32, PATCNT+40, PATCNT+47, PATCNT+54, PATCNT+61, COUNTCS+2*, COUNTCS+5*
>> ACDCSH PATCNT+26, PATCNT+34, PATCNT+42, PATCNT+49, PATCNT+56, PATCNT+63, COUNTCS+2*, COUNTCS+5*, COUNTCS+7*
>> ACDCSHC COUNTCS+2*, COUNTCS+5*, COUNTCS+7
>> ACDCSIEN COUNTCS+4*, COUNTCS+5*
>> ACDCT("ALCOHO L ONLY" , PATCNT+46*, PATCNT+47*, PATCNT+48*, PATCNT+49*, PATCNT+50*
>> ACDCT("ALCOHOL" PATCNT+23*, PATCNT+24*, PATCNT+25*, PATCNT+26*, PATCNT+27*, PATCNT+28*
>> ACDCT("ALCOHOL&DRUGS" PATCNT+39*, PATCNT+40*, PATCNT+41*, PATCNT+42*, PATCNT+43*
>> ACDCT("DRUGS ONLY" , PATCNT+53*, PATCNT+54*, PATCNT+55*, PATCNT+56*, PATCNT+57*
>> ACDCT("DRUGS" PATCNT+31*, PATCNT+32*, PATCNT+33*, PATCNT+34*, PATCNT+35*, PATCNT+36*
>> ACDCT("NEITHER" PATCNT+60*, PATCNT+61*, PATCNT+62*, PATCNT+63*, PATCNT+64*
>> ACDCT("SEEN" PATCNT+6*, PATCNT+7*, PATCNT+8*
>> ACDCT("TOBACCO" PATCNT+16*, PATCNT+17*, PATCNT+18*
>> ACDCT("TRIBE" PATCNT+9*, PATCNT+10*, PATCNT+11*
>> ACDD PATCNT+21*, PATCNT+30, PATCNT+38, PATCNT+45, PATCNT+52, PATCNT+59
>> ACDDDAYS PATCNT+33, PATCNT+55, COMPDAYS+5*, COMPDAYS+7*
>> ACDDIEN DRUGCNT+3*, DRUGCNT+4*, DRUGCNT+7, DRUGCNT+14, DRUGCNT+15, DRUGCNT+16
>> ACDDTLO PATCNT+2, PROBCNT+11, PROBCNT+27, DRUGCNT+11, DRUGCNT+28
>> ACDPIEN PATCNT+1, PATCNT+2, PATCNT+3, PATCNT+13, PATCNT+20, PATCNT+21, COUNTCS+3, COMPDAYS+3, COMPDAYS+6, DRUGCNT+24*
, DRUGCNT+26, DRUGCNT+28
>> ACDPRIEN PROBCNT+3*, PROBCNT+4*, PROBCNT+7, PROBCNT+14, PROBCNT+15, PROBCNT+16, PROBCNT+19*, PROBCNT+20*, PROBCNT+23, PROBCNT+30
, PROBCNT+31, PROBCNT+32
>> ACDSEX PATCNT+1*, PATCNT+7, PATCNT+10, PATCNT+17, PATCNT+27, PATCNT+35, PATCNT+43, PATCNT+50, PATCNT+57, PATCNT+64
, PROBCNT+9*, PROBCNT+10, PROBCNT+15*, PROBCNT+25*, PROBCNT+26, PROBCNT+31*, DRUGCNT+9*, DRUGCNT+10, DRUGCNT+15*, DRUGCNT+26*
, DRUGCNT+27, DRUGCNT+32*
>> ACDTRIBE PATCNT+3*, PATCNT+9, PATCNT+10, PATCNT+11
ACDVIEN COUNTCS+1~, COUNTCS+2*, COUNTCS+3*, COUNTCS+5, COMPDAYS+1~, COMPDAYS+2*, COMPDAYS+3*, COMPDAYS+5*, COMPDAYS+6*
C COMPDAYS+2*, COMPDAYS+3*, COMPDAYS+4, COMPDAYS+5*, COMPDAYS+6*, COMPDAYS+7, PROBCNT+2~, PROBCNT+6*, PROBCNT+8*, PROBCNT+14
, PROBCNT+22*, PROBCNT+24*, PROBCNT+30, DRUGCNT+2~, DRUGCNT+6*, DRUGCNT+8*, DRUGCNT+14, DRUGCNT+23*, DRUGCNT+25*, DRUGCNT+31
F PROBCNT+2~, PROBCNT+6*, PROBCNT+22*, DRUGCNT+2~, DRUGCNT+6*, DRUGCNT+23*
M PROBCNT+2~, PROBCNT+6*, PROBCNT+22*, DRUGCNT+2~, DRUGCNT+6*, DRUGCNT+23*
U COUNTCS+5
>> V COMPDAYS+2*, COMPDAYS+3*, COMPDAYS+4, COMPDAYS+5*, COMPDAYS+6*, COMPDAYS+7
>> X PATCNT+12*, PATCNT+13*, PATCNT+14*, PATCNT+15, PATCNT+16, PATCNT+17, PATCNT+18, COUNTCS+5*, DRUGCNT+20*, DRUGCNT+21*
, DRUGCNT+24, DRUGCNT+31, DRUGCNT+32, DRUGCNT+33
Y PATCNT+2*, PATCNT+3*, PATCNT+12*, PATCNT+13*, COMPDAYS+3*, COMPDAYS+6*, PROBCNT+2~, PROBCNT+5*, PROBCNT+6*, PROBCNT+7*
, PROBCNT+9, PROBCNT+11, PROBCNT+21*, PROBCNT+22*, PROBCNT+23*, PROBCNT+25, PROBCNT+27, DRUGCNT+2~, DRUGCNT+5*, DRUGCNT+6*
, DRUGCNT+7*, DRUGCNT+9, DRUGCNT+11, DRUGCNT+22*, DRUGCNT+23*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All