STANDARD DATA DICTIONARY #791810.2 -- ORDER STATUS FILE                                                           3/24/25    PAGE 1
STORED IN ^RMPF(791810.2,  (18 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                 (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the statuses that orders may have in the Remote Order/Entry System. Many funtions of the ROES are restricted to
orders with a specific status. All data in this file is distributed with the ROES and should not be edited at the local facility.  


              DD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

POINTED TO BY: STATUS OF ORDER field (#.03) of the STATION ORDER File (#791810) 
               LAST STATUS field (#.18) of the LINE ITEM sub-field (#791810.0101) of the STATION ORDER File (#791810) 
               STATUS UPDATE field (#.04) of the ERROR MESSAGE sub-field (#791810.201101) of the MESSAGE DATE/TIME sub-field 
                   (#791810.0201) of the STATION ORDER File (#791810) 
               

CROSS
REFERENCED BY: ACTION TO TRIGGER STATUS(AB), STATUS NAME(B), CODE(C)



791810.2,.01  STATUS NAME            0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This is the name of the status that is assigned to an order.  

              CROSS-REFERENCE:  791810.2^B 
                                1)= S ^RMPF(791810.2,"B",$E(X,1,30),DA)=""
                                2)= K ^RMPF(791810.2,"B",$E(X,1,30),DA)
                                Standard name cross-reference.  



791810.2,.02  CODE                   0;2 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>2!($L(X)<1)!'(X?1.2U)!$D(^RMPF(791810.2,"C",X)) X
              LAST EDITED:      NOV 15, 1993 
              HELP-PROMPT:      Answer must be 1-2 characters in length. 
              DESCRIPTION:      This field contains the code for a status.  This code is used by ROES programs to determine
                                functions that may be performed on an order with this status code.  

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

              CROSS-REFERENCE:  791810.2^C 
                                1)= S ^RMPF(791810.2,"C",$E(X,1,30),DA)=""
                                2)= K ^RMPF(791810.2,"C",$E(X,1,30),DA)
                                This field contains the code for a status.  This code is used by ROES programs to determine
                                functions that may be performed on an order with this status code.  



791810.2,.03  INACTIVE STATUS        0;3 SET

                                '1' FOR INACTIVE; 
                                '0' FOR ACTIVE; 
              LAST EDITED:      MAY 21, 1990 
              DESCRIPTION:
                                This field indicates whether or not the status is inactive.  


791810.2,.04  SHORT NAME             0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
              LAST EDITED:      JUL 18, 1991 
              HELP-PROMPT:      Answer must be 1-6 characters in length. 
              DESCRIPTION:
                                This field contains the short name of a status and is used in some output programs.  


791810.2,.05  STATUS CATEGORY        0;5 SET

                                'E' FOR EDITABLE; 
                                'C' FOR COMPLETE; 
                                'P' FOR BEING PROCESSED; 
              LAST EDITED:      MAY 10, 1995 
              DESCRIPTION:
                                This field determines whether or not an order with this status may be edited.  


791810.2,.06  SPECIAL STATUS EVALUATION 0;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>17!($L(X)<3) X
              LAST EDITED:      AUG 26, 1991 
              HELP-PROMPT:      Answer must be 3-17 characters in length. 
              DESCRIPTION:      This field may contain the name of a line tage in routine 'RMPFET3' that is to be executed to
                                determine whether or not an order should remain in this status.  


791810.2,.07  NUMERIC CODE           0;7 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 22, 1993 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


791810.2,.09  PROCESSING ORDER       0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      JUN 24, 1994 
              HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
              DESCRIPTION:      This field contains a numeric value that is used to determine the status of an order based on the
                                status of each line item.  


791810.2,.1   APPLY TO PSAS?         0;10 SET

                                '0' FOR APPLIES TO PSAS; 
                                '1' FOR DOES NOT APPLY TO PSAS; 
              LAST EDITED:      JAN 19, 1995 
              DESCRIPTION:
                                This field indicates whether or not the status may apply to a PSAS order.  


791810.2,101  ACTION TO TRIGGER STATUS 101;0 SET Multiple #791810.2101


791810.2101,.01 ACTION TO TRIGGER STATUS 0;1 SET (Multiply asked)

                                  'O' FOR ORDER; 
                                  'C' FOR CANCEL; 
                                  'I' FOR ISSUE; 
                                  'R' FOR CERTIFICATION; 
                                  'A' FOR ADJUSTMENT; 
                                  'AR' FOR ADJUSTMENT AND CERTIFICATION; 
                                  'RI' FOR CERTIFICATION AND ISSUE; 
                                  'AI' FOR ADJUSTMENT AND ISSUE; 
                                  'ARI' FOR ADJUSTMENT, CERTIFICATION AND ISSUE; 
                LAST EDITED:      AUG 03, 1994 
                DESCRIPTION:      This field is used to determine the transmit status of an order depending on the last action
                                  taken on the order. For example, if the last action was an initial order, the transmit status
                                  will be ORD-TRANS.  

                CROSS-REFERENCE:  791810.2101^B 
                                  1)= S ^RMPF(791810.2,DA(1),101,"B",$E(X,1,30),DA)=""
                                  2)= K ^RMPF(791810.2,DA(1),101,"B",$E(X,1,30),DA)
                                  Standard name cross-reference.  


                CROSS-REFERENCE:  791810.2^AB 
                                  1)= S ^RMPF(791810.2,"AB",$E(X,1,30),DA(1),DA)=""
                                  2)= K ^RMPF(791810.2,"AB",$E(X,1,30),DA(1),DA)
                                  This cross-reference is used to look up the actions that have been taken on an order and convert
                                  the status to the correct transmission status as it is being sent to the DDC.  






INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):