
| Name | Value | 
|---|---|
| FILE | 162.3 | 
| NAME | AD | 
| DESCRIPTION | 
The "AD" cross reference is a compound cross-reference on fields in the
FEE CNH ACTIVITY file. It is defined as
   ^FBAACNH("AD",veteran,da)
 where veteran is the VETERAN (#1)
       da      is the FEE CNH ACTIVITY entry
 
The "AD" cross-reference should only exist when the ACTIVE ADMISSION (#3)
field of the entry is equal to "Y".
 | 
| SHORT DESCRIPTION | Index of patients with an active admission. | 
| TYPE | REGULAR | 
| EXECUTION | RECORD | 
| ACTIVITY | IR | 
| USE | SORTING ONLY | 
| ROOT TYPE | INDEX FILE | 
| ROOT FILE | 162.3 | 
| SET LOGIC | S ^FBAACNH("AD",X(1),DA)="" | 
| SET CONDITION CODE | S X=$S(X(2)="Y":1,1:0) | 
| CROSS-REFERENCE VALUES | 
  | 
| KILL LOGIC | K ^FBAACNH("AD",X(1),DA) | 
| KILL ENTIRE INDEX CODE | K ^FBAACNH("AD") |