ENSE |
Allows the editing of the ADMINISTRATION SCHEDULE
file (51.1).
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJPP |
Input |
This is the package prefix as found in the PACKAGE
file (9.4).
|
PSJSHLS |
Input |
This is executable code that sets $T to be used to
screen Hospital Locations when editing schedules and shifts. If PSJSHLS
exists, DIC("S") is set to PSJSHLS. The scheduler will not try to validate
PSJSHLS.
|
|
ENSHE |
Allows the editing of the ADMINISTRATION SHIFT file
(51.15).
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJPP |
Input |
This is the package prefix as found in the PACKAGE
file (9.4).
|
PSJSHLS |
Input |
This is executable code that sets $T to be used to
screen Hospital Locations when editing schedules and shifts. If PSJSHLS
exists, DIC("S") is set to PSJSHLS. The scheduler will not try to validate
PSJSHLS.
|
|
ENSVI |
View standard schedule information.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJPP |
Input |
This is the package prefix as found in the PACKAGE
file (9.4).
|
PSJX |
Input |
This is the schdule to be viewed. If only the first
few characters of the schedule name is entered, the user will be asked to
select from all schedules in the ADMINISTRATION SCHEDULE file (51.1) beginning
with these characters. If a valid schedule is selected, information pertaining
to the schedule will be displayed.
|
|
ENSV |
Validates a schedule and gives the administration
times or shifts and frequency (in minutes) of the schedule.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJX |
Both |
This is the schdule to be validated. If only the
first few characters of the schedule name is entered, the user will be asked
to select from all schedules in the ADMINISTRATION SCHEDULE file (51.1)
beginning with these characters. If a valid schedule is selected, it's name
will will be returned in PSJX. If a valid schedule is not selected, PSJX will
be killed.
|
PSJPP |
Input |
This is the package prefix as found in the PACKAGE
file (9.4).
|
PSJM |
Output |
This is the frequency in minutes that the action is
to be taken. This will be null if PSGX is invalid.
|
PSJAT |
Output |
These are the administration times or shifts that are
associated with the selected schedule. This will be null if PSGX is invalid.
|
PSJY |
Output |
This is a pointer to the ADMINISTRATION SCHEDULE file
(51.1) if PSJX is found in the file. This will be null if PSJX is invalid or
not found.
|
PSJTS |
Output |
This is a code representing the type of schedule.
This will be null if the schedule is invalid.
|
PSJAX |
Output |
This is the maximum days continuous orders last for
the selected schedule, or null if not found.
|
PSJW |
Input |
This is a pointer to the HOSPITAL LOCATION file (44).
This is an optional variable that may be used to determine the administration
times or shifts by location.
|
PSJNE |
Input |
If this optional variable is defined, there is no
dialogue with the user.
|
|
ENATV |
Validates administration times. This may be used in
an input transform.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
X |
Both |
This contains the administration times to be
validated. X will be killed if the administration times are invalid.
|
|
ENSHV |
Validates shifts. If the shift passed in X is invalid
X will be killed.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
X |
Both |
This should be set to the administration shift to be
validated. If the administration shift passed in X is invalid, X will be
killed.
|
|
ENSPU |
Calculates the number of times (and when) an action
is to take place.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJSCH |
Input |
This is the schedule to be processed.
|
PSJM |
Input |
This is the frequency (in minutes) that an action is
to take place. Used for continuous and range schedules.
|
PSJAT |
Input |
This is either a set of administration times or
shifts, depending on the type of schedule. If it is administration times, it
will be similar to: PSJAT="04-08-12-16-20". If it is shifts, it will be
similar to: PSJAT="M-E",PSJAT("M")="05-11",PSJAT("E")="18-22".
|
PSJTS |
Input |
This is a code representing the type of schedule
defined in PSJSCH. The codes are: C - CONTINUE; D - DAY OF THE WEEK; DR - DAY
OF THE WEEK-RANGE; O - ONE-TIME; R - RANGE; and S - SHIFT.
|
PSJSD |
Input |
This is the start date/time of the order.
|
PSJFD |
Input |
This is the stop date/time of the period where the
action is to take place.
|
PSJOSD |
Input |
This is the start date/time of the order. If PSJOSD
is not found, PSJSD is used.
|
PSJOFD |
Input |
This is the stop date/time of the order (action to
take place). If PSJOFD is not found, PSJFD is used.
|
PSJC |
Output |
This is the number of times (and when) an action is
to take place.
|
|
ENDSD |
Provides a date/time that might be used as a default
value for the start date of an order.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSJSCH |
Input |
This is the name of the schedule to be used in
determining the start date/time.
|
PSJAT |
Input |
This is either a set of administration times or
shifts, depending on the type of schedule. If it is administration times, it
will be similar to: PSJAT="04-08-12-16-20". If it is shifts, it will be
similar to: PSJAT="M-E",PSJAT("M")="05-11",PSJAT("E")="18-22".
|
PSJTS |
Input |
This is a code representing the type of schedule
defined in PSJSCH. The codes are: C - CONTINUE; D - DAY OF THE WEEK; DR - DAY
OF THE WEEK-RANGE; O - ONE-TIME; R - RANGE; and S - SHIFT.
|
PSJX |
Output |
This will be returned as either a date/time in VA
FileMan interal format, or null if the start date/time cannot be calculated.
|
|