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

ACDWVAR.m

Go to the documentation of this file.
  1. ACDWVAR ;IHS/ADC/EDE/KML - CDMIS KEY VAR DICTIONARY;
  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. ACDDFN ;Patent 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. ACDDH ;Days hopitalized
  1. ACDAAR ;Alcohol and drug related arrests
  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 palcement (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" contant
  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 ;Fourthy 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 ;Coponent 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. PAK ;Package wide variables
  1. ;ACDQUIT= Flag saying quit whatever
  1. ;ACDVER= Present version of software
  1. ;ACDNM = Name of software
  1. ;ACDSITE= Site name running software
  1. ;ACD6DIG= 6 digit code to identify location
  1. ;ACDUSER= Package user
  1. ;--------------------------------
  1. ACDPRVA ;PREVENTION ACTION
  1. ACDLOTY ;LOCATION
  1. ACDTRG ;TARGET
  1. ACDNUMR ;NUMBER REACHED
  1. ACDOUTC ;OUTCOME
  1. ACDAY ;DAY OF PREVENTION
  1. ACDPRVC ;PREVENTION ACTIVITY CODE
  1. ACD6DIG ;6digit asufac of the CDMIS SIGN ON USERS SITE
  1. ACDAUF ;6digit not for user but as location of the cdmis record
  1. ACDCLIV ;.01 of record i.e printable date
  1. ACDFAC ;Array holding 6 digit codes if reports run by facility.
  1. ACDAREA ;Array holding 2 digit code if reports run by area.
  1. ACDSU ;Array holding 4 digit code if report run by service unit.
  1. ACDPT ;Array ACDPT(DFN) is used by the client detail reports to specify
  1. ;showing only certain selected patients. The DFN takes the form
  1. ;1_ACD6DIG_DFN
  1. ACDP ;(1),(2),(3) array to pass the file number, field number, and set of
  1. ;code value into routine ^ACDFUNC to convert the internal code to
  1. ;a external format
  1. ACDPT1 ;Array ACDPT1(DFN) is used by the client service visit duplication
  1. ;routine ^ACDAUTO1 and holds the names of patients to duplicate
  1. ;the original client visit for.
  1. ACDPTA ;Array holding the visit problem types for 'other problems'. The
  1. ;primary problem field has not changed.