GENERAL DESCRIPTION |
DSS Extracts references the following data from the
OUTPATIENT ENCOUNTER file (#409.68). The data is referenced in the Clinic
Visit Extract for scheduled appointments, dispositions, stand- alones, and
appended visits.
(1) In determining the number of scheduled appointments: For each clinic in
the HOSPITAL LOCATION file, the APPOINTMENT multiple is examined. For each
patient appointment in the date range, the APPOINTMENT multiple in the PATIENT
file is examined. We get the OUTPATIENT ENCOUNTER (p20) pointer. Using this
IEN, we get the VISIT FILE ENTRY from the OUTPATIENT ENCOUNTER file. This is
used to call a PCE API for data. (2) In determining the number of
dispositions, stand-alones, etc.: We loop through the "B" cross-reference of
the OUTPATIENT ENCOUNTER file for the extract date range and get the encounter
IEN. Since all of the data is on the zero node, we set a local variable to the
zero node and process it from there.
DSS uses the "B" cross reference on the DATE field. ^SCE("B",DATE,D0)
|