$$DEF(SDPSODFN) |
This entry point returns the default Institution and
Station Number.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
SDPSODFN |
Input |
This is the internal entry number from the PATIENT
(#2) File.
|
$$DEF |
Output |
This variable contains the default Institution and
Station Number. If a '0' is returned, that means defaults could not be found.
If defaults can be found, this variable will be 2 pieces, with the '^' as the
delimiter. The first piece will be the internal number from the INSTITUTION
(#4) File, the second piece will be that Institution's Station Number.
|
|
$$PRIAPT(SDPSOPAT) |
This entry point returns the nearest Primary Care
Appointment for a patient. Primary Care is determined by the DSS credit pair
codes that were exported as part of the Transitional Pharmacy Benefit project.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
SDPSOPAT |
Input |
This is the internal entry number from the PATIENT
(#2) File.
|
$$PRIAPT |
Output |
This variable contains the Primary Care Appointment
information. It will be returned in the following format in 3 pieces of
information:
OCT 29, 2003@12:30 OUTPATIENT LAB (6 days)
The first piece is the date/time of the appointment, the second piece is the
Hospital Location, the third piece is the number of days from the current date
to the appointment. Outpatient Encounters are also evaluated. Whichever is
closest to the current date, either encounter or appointment, is returned. If
it is a past encounter that is returned, then the third piece would be
returned like this for an encounter 6 days ago: (-6 days). The Hospital
Location associated with the Outpatient Encounter must be for one of the DSS
credit pair codes as determined by the Transitional Pharmacy Benefit project,
and the status of the Outpatient Encounter must be either "CHECKED OUT" or
"INPATIENT APPOINTMENT".
|
|