Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ACDNOTE2

ACDNOTE2.m

Go to the documentation of this file.
  1. ACDNOTE2 ;IHS/ADC/EDE/KML - CDMIS KEY VAR DICTIONAR;
  1. ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
  1. ACDRPTS ;Holds reports to run (i.e., 1,2,3-6,7,9,8)
  1. ACDPG ;Program free text name
  1. ACDPROV ;Provider name
  1. ACDPROVA ;Provider array of providers
  1. ACDDFN ;Patient name in external format used for printing and sorting
  1. ACDDFNP ;Patient pointer to file ^DPT
  1. ;form taken is 1_ACD6DIG_DFN
  1. ACDCOMC ;Component code
  1. ACDCOMT ;Component type
  1. ACDCONT ;Contact type
  1. ACDAGER ;Client age range
  1. ACDTO ;To visit date for reports
  1. ACDFR ;From visit date for reports
  1. ACDDA ;Internal DA passed to utilities for local file sets
  1. ACDPROBP ;Primary problem
  1. ACDPROBS ;Secondary problem
  1. ACDCIT ;Client in treatment
  1. ACDDUA ;Days used alcohol
  1. ACDDUD ;Days used drugs
  1. ;or '999' for unknown
  1. ACDDH ;Days hospitalized
  1. ;or '999' for unknown
  1. ACDAAR ;Alcohol and drug related arrests
  1. ;or '999' for unknown
  1. ACDSUS ;Substance stage
  1. ACDPS ;Physical stage
  1. ACDES ;Emotional stage
  1. ACDSS ;Social stage
  1. ACDCS ;Cultural stage
  1. ACDBS ;Behavioral stage
  1. ACDPLAR ;Recommended placement (component)
  1. ACDPLAR1 ;Recommended placement (type)
  1. ACDPLAA ;Actual placement (component)
  1. ACDPLAA1 ;Actual placement (type)
  1. ACDDIF ;Difference reason
  1. ;
  1. ;---------------------------------------------------------
  1. ACDH ;Report header variables
  1. ;(0)=Report name and location
  1. ;(1)=line 79 characters long
  1. ;(2)=Date range reports run for
  1. ;(3)=Page count
  1. ;(4)=Who printed report and when
  1. ;(6)="#CLIENTS" constant
  1. ;(7)="#VISITS" constant
  1. ;(8)="AVE V/C" constant
  1. ;(9)="CONTACT TYPE" constant
  1. ;(10)="ACTUAL PLACEMENT" constant
  1. ;(11)="RECOMMENDED PLACEMENT" constant
  1. ;(12)="AVE DAYS USED DRUGS" constant
  1. ;(13)="AVE DAYS USED ALCOHOL" constant
  1. ;(14)="DIFFERENCE REASON" constant
  1. ;(15)="NUMBER SERVED"
  1. ;(16)="LOCATION"
  1. ;(17)="TARGET"
  1. ;(18)="OUTCOME"
  1. ;(19)="ACTIVITY"
  1. ;(20)="COMPONENT/TYPE"
  1. ;(21)="AGE RANGE"
  1. ;(22)="AVE NS/V"
  1. ;(50)="SEARCH CRITERIA IS: "
  1. ;(51)="PRIMARY PROBLEM"
  1. ;(52)="OTHER PROBLEM"
  1. ;(53)="SEX"
  1. ;(54)="COMPONENT"
  1. ;(55)="COMPONENT/CODE TYPE"
  1. ;(56)="AVE CLIENT STAGE"
  1. ;(57)="AVE ARREST PER CLIENT"
  1. ;(58)="AVE DAYS PER CLIENT"
  1. ;(59)="UNIQ CLIENTS"
  1. ;(60)="TOTAL ARREST"
  1. ;(61)="TOTAL HOSPITAL DAYS"
  1. ;
  1. ;--------------------------------------------------
  1. ACDP1 ;First variable subscript for report generator
  1. ACDP2 ;Second variable subscript for report generator
  1. ACDP3 ;Third variable subscript for report generator
  1. ACDP4 ;Fourth variable subscript for report generator
  1. ACDP5 ;Fifth variable subscript for report generator
  1. ;-----------------------------------------------------------
  1. ;
  1. ACDC ;Column header values
  1. ;(1)=First
  1. ;(2)=Second
  1. ;(3)=Third
  1. ;(4)=Fourth
  1. ;(5)=Fifth
  1. ;--------------------------------------------------------------
  1. ;
  1. ACDTDCR ;Transfer discharge close reason
  1. ACDDAP ;Discharge after plan
  1. ACDGA ;Goal attainment
  1. ACDID ;Inpatient days
  1. ACDDTA ;Array holding drug types client are on. This way I can report which
  1. ;drugs there are no clients on for the 2 drug type reports
  1. ;This variable MUST be killed at the top of RTN ACDDIIF,ACDTDC
  1. ACDCODR ;Array holding clients and all drugs they are on. This way I
  1. ;can determine which clients are on combination drugs
  1. ACDCBO ;Component code concatenates with component type
  1. ACDIFCNT ;Number of clients with a difference reason
  1. ACDSCNT ;Number of clients with no difference reason
  1. ;
  1. ;------------------------------------------------------
  1. ACDNW ;Array to hold report predefinition values
  1. ;(1)=Stop date of report
  1. ;(2)=Start date of report
  1. ;(3)=Site location
  1. ;(4)=List of various reports to run
  1. ;
  1. ;--------------------------------------
  1. ;^ACDVTMP -Visit data transmission global
  1. ;^ACDPTMP-Program data transmission global
  1. ;^ACDV1TMP-Global flag to indicate corruption in location file
  1. ;^ACDP1TMP-Global flag to indicate corruption in location file
  1. ;^ACDVTMP4-Global audit to prevent duplicate data importing
  1. ACDPCHRS ;Providers to credit hours for prevention portion
  1. ;of the staff report
  1. ACDOTHRS ;This is the hours for an 'OT' contact type
  1. ACDOTDIS ;Disposition for 'OT' contact type
  1. ACDTRIB ;Client tribe
  1. ACDFOLL ;Follow up months