STANDARD DATA DICTIONARY #53.71 -- BCMA BACKUP PARAMETERS FILE                                                    6/27/25    PAGE 1
STORED IN ^ALPB(53.71,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                       (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains implementation-specific information about the installation and use of the BCMA Backup system on the client
workstation.  
 
This file is distributed with a pre-defined entry labelled "ONE".  Further, the .01 field for this entry is marked uneditable. 
This pre-defined entry should not be deleted.  No additional PARAMETERS entries should be made as they will be ignored by the BCMA
Backup System.  
 
There are five fields that can be edited in this file:  DEFAULT DAYS FOR MAR (field #1), DEFAULT MAR PRINTER (field #2), PURGE
ORDER DAYS (field 5), PURGE PATIENT (field 6) and MED-LOG NUMBER (field 7). The option BCMA Backup System Parameters Edit (ALPB
PARAMS EDIT) is provided for editing of these fields.  


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

CROSS
REFERENCED BY: PARAMETERS NAME(B), PATIENT RECORD NUMBER(C)



53.71,.01     PARAMETERS NAME        0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
              LAST EDITED:      JAN 07, 2003 
              HELP-PROMPT:      Answer must be 3 characters in length. 
              DESCRIPTION:      The BCMA Backup System package is distributed with this field pre-defined with the value of "ONE". 
                                Further, this field is set to UNEDITABLE.  Only the values inside this PARAMETERS file record
                                should be edited.  DO NOT DELETE THIS PRE-DEFINED RECORD OR ADD NEW RECORDS.  

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


53.71,1       DEFAULT DAYS FOR MAR   0;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      JAN 07, 2003 
              HELP-PROMPT:      Type a Number between 1 and 7, 0 Decimal Digits 
              DESCRIPTION:      The number in this field indicates the default number of days for which medication administration
                                initial boxes are printed on the output forms.  For example, if the number of days is 3, then the
                                printed outputs will contain initial boxes beside each printed order that will look like this: 
                                                                 
                                      Admin DEC 
                                      Times 01   02  03 
                                      0400 |___|___|___| 
                                      0800 |___|___|___| 
                                                                 
                                     (These "initial boxes" are printed so that staff can record 
                                      medication administration at the prescribed times.) 
                                                                 
                                The usual number of days is 3 and this file is distributed with this value as a default
                                (pre-defined).  If the value is deleted, the BCMA Backup System software defaults to 3 days as
                                well.  


53.71,2       DEFAULT MAR PRINTER    0;3 POINTER TO DEVICE FILE (#3.5)

              LAST EDITED:      JAN 07, 2003 
              DESCRIPTION:      This field will be used to designate a default printer for the printing of Medication
                                Administration Records (MAR).  
                                                                 
                                If this field contains a device entry, it will be presented as the default print location for the
                                MARs in the Device handler calls in the BCMA MAR print options. The user can either accept this
                                default device, or select another valid device from the Device file.  


53.71,3       ERROR LOG              1;0 DATE Multiple #53.713 (Add New Entry without Asking)

              DESCRIPTION:      This multiple field contains individual entries describing errors encountered by the processing of
                                HL7 messages and the filing of data in the BCMA BACKUP DATA FILE (#53.7).  This field should not be
                                edited using File Manager. Display and deletion of individual errors in this field is handled with
                                the option ALPB ERROR LOG.  


53.713,.01      ERROR LOG              0;1 DATE

                INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      JAN 07, 2003 
                DESCRIPTION:
                                  This field contains the date and time when the error was logged into this file.  

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


53.713,1        PATIENT RECORD NUMBER  0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JAN 07, 2003 
                HELP-PROMPT:      Type a Number between 1 and 9999999, 0 Decimal Digits 
                DESCRIPTION:      The number in this field is the patient's record number in file 53.7.  The field is not defined
                                  as a pointer to file 53.7 due to the dynamics of file 53.7.  The Error Log processing routine
                                  (ALPBELOG) handles the deletion of entries in this file (53.71) when processing through errors. 
                                  If a patient no longer has a record in file 53.7, then any entry for the patient encountered in
                                  this file will be deleted.  

                CROSS-REFERENCE:  53.71^C 
                                  1)= S ^ALPB(53.71,"C",$E(X,1,30),DA(1),DA)=""
                                  2)= K ^ALPB(53.71,"C",$E(X,1,30),DA(1),DA)
                                  This cross references all error log records by patient record number.  



53.713,2        ORDER RECORD NUMBER    0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JAN 07, 2003 
                HELP-PROMPT:      Type a Number between 1 and 9999999, 0 Decimal Digits 
                DESCRIPTION:
                                  The number stored in this field is the Order Number sub-file record number (IEN) in file 53.7.  


53.713,3        HL7 MESSAGE RECORD NUMBER 0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JAN 07, 2003 
                HELP-PROMPT:      Type a Number between 1 and 9999999, 0 Decimal Digits 
                DESCRIPTION:      The number in this field is the record number in file 772 for the HL7 message that contains the
                                  segment for which this filing error was logged.  


53.713,3.1      HL7 SEGMENT OR MESSAGE 0;5 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
                LAST EDITED:      JAN 07, 2003 
                HELP-PROMPT:      Answer must be 1-15 characters in length. 
                DESCRIPTION:      This field can contain either the HL7 segment identifier (for example, PID, PV1, RXE, etc.) -or-
                                  a code signifying some other kind of filing error (for example "NEWORD" could be found in this
                                  field indicating an error occurred while attempting to add the order into file 53.7).  


53.713,3.2      HL7 SEGMENT DATA       1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
                LAST EDITED:      JAN 07, 2003 
                HELP-PROMPT:      Answer must be 1-245 characters in length. 
                DESCRIPTION:      This field contains the actual HL7 segment data from the node in file 772 being processed at the
                                  time the filing error occurred.  


53.713,5        ERROR CODE             2;0 Multiple #53.7135 (Add New Entry without Asking)

                LAST EDITED:      MAR 17, 2003 

53.7135,.01       ERROR CODE             0;1 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
                  LAST EDITED:      MAR 17, 2003 
                  HELP-PROMPT:      Type a Number between 1 and 99999, 0 Decimal Digits 
                  DESCRIPTION:      The number in this field is usually equal to a File Manager error code.  This code is
                                    generated/returned by File Manager when an error is generated by data passed to the FMDBS calls
                                    used in the BCMA Backup System package.  
                                                                       
                                    Note, however, that this field could also contain a code '999' which indicates that some other
                                    type of filing error occurred. The ERROR TEXT field will contain the explanation of the error.  

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


53.7135,1         ERROR TEXT             1;0   WORD-PROCESSING #53.71351

                  LAST EDITED:      JAN 07, 2003 
                  HELP-PROMPT:      Answer must be 1-80 characters in length. 

                    LAST EDITED:      MAR 17, 2003 
                    DESCRIPTION:      This field contains the text of the message describing the filing error.  It can be the text
                                      generated from a File Manager DBS call or from some other error processing mechanism in the
                                      BCMA Backup System package.  








53.71,4       DATA FILE LAST UPDATED 2;1 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JAN 07, 2003 
              DESCRIPTION:      This field contains the date and time that the BCMA BACKUP DATA file (53.7) was last updated by the
                                processing of any HL7 message.  


53.71,5       PURGE ORDER DAYS       2;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<3)!(X?.E1"."1.N) X
              LAST EDITED:      OCT 24, 2003 
              HELP-PROMPT:      Type a number between 3 and 100, 0 Decimal Digits 
              DESCRIPTION:      The Purge utility defaults at 7 days of orders. You can change that by entering a number here. The
                                purge is based off the order stop date.  


53.71,6       PURGE PATIENT          2;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>30)!(X<3)!(X?.E1"."1.N) X
              LAST EDITED:      OCT 24, 2003 
              HELP-PROMPT:      Type a number between 3 and 30, 0 Decimal Digits 
              DESCRIPTION:
                                Enter the number of days to retain a patient record without activity or orders.  


53.71,7       MED-LOG NUMBER         2;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 06, 2005 
              HELP-PROMPT:      Enter the number of previous Med Log entries to display. 
              DESCRIPTION:      The Med-Log number field determines the number of previous Med Log entries that will be displayed
                                on the BCMA Contingency Medical Administration Report MAR.  



      FILES POINTED TO                      FIELDS

DEVICE (#3.5)                     DEFAULT MAR PRINTER (#2)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):
PSB BCBU PARAMETERS           OCT 14, 2003@14:51  USER #0
  PSB BCBU HEADER               DD #53.71
  PSB BCBU EDIT SCREEN          DD #53.71