162.1 (69)    INDEX (.11)

Name Value
FILE 162.1
NAME AJ
DESCRIPTION
The AJ cross reference is a whole file compound cross reference on fields
in the PRESCRIPTION NUMBER subfile. It is defined as
   FBAA(162.1,"AJ",batch_number,patient,da(1),da)
 where batch_number is the BATCH NUMBER (#13)
       patient      is the PATIENT (#4)
       da(1)        is the IEN of the FEE BASIS PHARMACY INVOICE
       da           is the IEN of the PRESCRIPTION NUMBER multiple
SHORT DESCRIPTION Index of prescriptions on invoice by batch number and patient.
TYPE REGULAR
EXECUTION RECORD
ACTIVITY IR
USE SORTING ONLY
ROOT TYPE WHOLE FILE
ROOT FILE 162.11
SET LOGIC S ^FBAA(162.1,"AJ",X(1),X(2),DA(1),DA)=""
CROSS-REFERENCE VALUES
  • ORDER NUMBER:   1
    SUBSCRIPT NUMBER:   1
    TYPE OF VALUE:   FIELD
    FILE:   162.11
    FIELD:   13
    COLLATION:   forwards
  • ORDER NUMBER:   2
    SUBSCRIPT NUMBER:   2
    TYPE OF VALUE:   FIELD
    FILE:   162.11
    FIELD:   4
    COLLATION:   forwards
KILL LOGIC K ^FBAA(162.1,"AJ",X(1),X(2),DA(1),DA)
KILL ENTIRE INDEX CODE K ^FBAA(162.1,"AJ")