STANDARD DATA DICTIONARY #457.1 -- TOUR OF DUTY FILE                                                              6/27/25    PAGE 1
STORED IN ^PRST(457.1,  (449 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                   (VERSION 4.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains a list of all Tours of Duty utilized by the station. Each tour can contain up to seven time segments which may
optionally have a Special Tour Indicator to indicate special processing. Further, a tour may be available to all T&L Units or may
be associated with a list of T&L Units which may utilize the tour.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: 
      "WRITE": W "   Meal: ",$P(^(0),"^",3)

POINTED TO BY: TMP 1 field (#201) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 2 field (#202) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 3 field (#203) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 4 field (#204) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 5 field (#205) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 6 field (#206) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 7 field (#207) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 8 field (#208) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 9 field (#209) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 10 field (#210) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 11 field (#211) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 12 field (#212) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 13 field (#213) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TMP 14 field (#214) of the EMPLOYEE sub-field (#458.01) of the TIME & ATTENDANCE RECORDS File (#458) 
               TOUR OF DUTY field (#2) of the DAY # sub-field (#458.02) of the EMPLOYEE sub-field (#458.01) of the TIME & 
                   ATTENDANCE RECORDS File (#458) 
               PRIOR SCHEDULED TOUR field (#4) of the DAY # sub-field (#458.02) of the EMPLOYEE sub-field (#458.01) of the TIME & 
                   ATTENDANCE RECORDS File (#458) 
               SECOND TOUR OF DUTY field (#10.3) of the DAY # sub-field (#458.02) of the EMPLOYEE sub-field (#458.01) of the TIME & 
                   ATTENDANCE RECORDS File (#458) 
               

CROSS
REFERENCED BY: TOUR HOURS(B), DESCRIPTION(C)



457.1,.001    NUMBER                     NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 27, 1995 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                A sequential number that identifies the tour of duty.  


457.1,.01     TOUR HOURS             0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<5)!'(X'?1P.E) X I $D(X) D NAM^PRSATD1
              LAST EDITED:      NOV 13, 1992 
              HELP-PROMPT:      Answer must begin with format like 08:00A-04:30P; MID or NOON may also be used. 
              DESCRIPTION:
                                A character string that identifies the start and stop times for all segments of the tour of duty.  

              DELETE TEST:      1,0)= I 1 W *7,"   Tours Cannot be Deleted!"

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  457.1^B 
                                1)= S ^PRST(457.1,"B",$E(X,1,30),DA)=""
                                2)= K ^PRST(457.1,"B",$E(X,1,30),DA)


457.1,1       DESCRIPTION            0;2 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      FEB 11, 1992 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                A description of the tour of duty.  

              CROSS-REFERENCE:  457.1^C 
                                1)= S ^PRST(457.1,"C",$E(X,1,30),DA)=""
                                2)= K ^PRST(457.1,"C",$E(X,1,30),DA)


457.1,2       MEAL TIME              0;3 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>60)!(X<0)!(X?.E1"."1N.N) X I $D(X) K:X#15 X
              LAST EDITED:      APR 15, 1992 
              HELP-PROMPT:      Enter 0, 15, 30, 45 or 60 
              DESCRIPTION:
                                The length of the meal time in fifteen minute increments.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,3       ASSOCIATED T&L UNIT    T;0 POINTER Multiple #457.13

              DESCRIPTION:
                                The time and leave unit this tour of duty is associated with.  


457.13,.01      ASSOCIATED T&L UNIT    0;1 POINTER TO T&L UNIT FILE (#455.5) (Multiply asked)

                LAST EDITED:      JAN 17, 1992 
                DESCRIPTION:
                                  The time and leave unit this tour of duty is associated with.  

                CROSS-REFERENCE:  457.13^B 
                                  1)= S ^PRST(457.1,DA(1),"T","B",$E(X,1,30),DA)=""
                                  2)= K ^PRST(457.1,DA(1),"T","B",$E(X,1,30),DA)




457.1,4       AVAILABLE TO ALL T&L'S? 0;4 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      APR 03, 1992 
              DESCRIPTION:
                                Indicates the tour of duty is available to all time and leave units.  


457.1,5       TWO-DAY TOUR?          0;5 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      APR 15, 1992 
              DESCRIPTION:
                                Indicates the tour of duty spans two calendar days.  


457.1,6       REGULAR HOURS          0;6 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>24)!(X<0)!(X?.E1"."3N.N) X
              LAST EDITED:      APR 16, 1992 
              HELP-PROMPT:      Type a Number between 0 and 24, 2 Decimal Digits 
              DESCRIPTION:
                                The number of regular pay work hours in this tour of duty.  


457.1,7       PREMIUM MEAL TIME?     0;7 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      SEP 10, 1992 
              DESCRIPTION:
                                Indicates the meal time is subject to premium pay.  


457.1,11      START TIME-1           1;1 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the first segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,12      STOP TIME-1            1;2 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the first segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,13      SPECIAL CODE-1         1;3 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the first segment of the tour of duty.  


457.1,14      START TIME-2           1;4 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the second segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,15      STOP TIME-2            1;5 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the second segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,16      SPECIAL CODE-2         1;6 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the second segment of the tour of duty.  


457.1,17      START TIME-3           1;7 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the third segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,18      STOP TIME-3            1;8 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the third segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,19      SPECIAL CODE-3         1;9 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the third segment of the tour of duty.  


457.1,20      START TIME-4           1;10 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the fourth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,21      STOP TIME-4            1;11 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the fourth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,22      SPECIAL CODE-4         1;12 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the fourth segment of the tour of duty.  


457.1,23      START TIME-5           1;13 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the fifth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,24      STOP TIME-5            1;14 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the fifth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,25      SPECIAL CODE-5         1;15 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with fifth segment of the tour of duty.  


457.1,26      START TIME-6           1;16 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the sixth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,27      STOP TIME-6            1;17 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the sixth segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,28      SPECIAL CODE-6         1;18 POINTER TO SPECIAL TOUR INDICATOR FILE (#457.2)

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the sixth segment of the tour of duty.  


457.1,29      START TIME-7           1;19 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The start time for the seventh segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,30      STOP TIME-7            1;20 FREE TEXT

              INPUT TRANSFORM:  D:$D(X) ^PRSATIM
              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:
                                The stop time for the seventh segment of the tour of duty.  

              EXECUTABLE HELP:  D HLP^PRSATIM
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


457.1,31      SPECIAL CODE-7         1;21 FREE TEXT

              LAST EDITED:      JAN 17, 1992 
              DESCRIPTION:      A pointer to the SPECIAL TOUR INDICATOR file (#457.2) which identifies the type of special
                                (non-regular) hours associated with the seventh segment of the tour of duty.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER



      FILES POINTED TO                      FIELDS

SPECIAL TOUR INDICATOR (#457.2)   SPECIAL CODE-1 (#13)
                                  SPECIAL CODE-2 (#16)
                                  SPECIAL CODE-3 (#19)
                                  SPECIAL CODE-4 (#22)
                                  SPECIAL CODE-5 (#25)
                                  SPECIAL CODE-6 (#28)

T&L UNIT (#455.5)                 ASSOCIATED T&L UNIT:ASSOCIATED T&L UNIT (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):
PRSA TD DISP                  FEB 07, 1992        USER #0
  PRSA TD 1                     DD #457.1

PRSA TD EDIT                  JAN 27, 1992        USER #0
  PRSA TD 1                     DD #457.1

PRSA TD TL                    APR 28, 1992        USER #0
  PRSA TD 2                     DD #457.1
  PRSA TD 3                     DD #457.13