STANDARD DATA DICTIONARY #231.8 -- TRACKING ROOM-BED FILE                                                         3/24/25    PAGE 1
STORED IN ^EDPB(231.8,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                       (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
As the patient moves thru a visit, such as a visit to the emergency department, there are a number of areas the patient may stop
at.  This file allows the department to set up places a patient may be, physical or conceptual, so that the patient may be tracked
throughout their visit. These places may include specific beds, waiting areas, other areas of the hospital such as radiology, exam
rooms, etc.  


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

POINTED TO BY: LOC field (#3.4) of the ED LOG File (#230) 
               HELD LOC field (#3.9) of the ED LOG File (#230) 
               LOC field (#3.4) of the ED LOG HISTORY File (#230.1) 
               ROOM CONSTRAINTS field (#.01) of the ROOM CONSTRAINTS sub-field (#231.62) of the TRACKING BOARD File (#231.6) 
               AMBULANCE field (#1.11) of the TRACKING AREA File (#231.9) 
               INITIAL ROOM field (#1.12) of the TRACKING AREA File (#231.9) 
               

CROSS
REFERENCED BY: NAME(B)

INDEXED BY:    INSTITUTION & AREA & DISPLAY NAME (AC), INSTITUTION & AREA (C)




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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<2)!'(X'?1P.E) X
              LAST EDITED:      SEP 15, 2008 
              HELP-PROMPT:      Answer must be 2-30 characters in length. 
              DESCRIPTION:      This is the internal name of the room, bed, or area that a patient may be during the course of
                                their visit.  

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


231.8,.02     INSTITUTION            0;2 POINTER TO INSTITUTION FILE (#4)

              LAST EDITED:      OCT 08, 2008 
              HELP-PROMPT:      Select the institution for this bed, room, or area. 
              DESCRIPTION:
                                This allows each station (division, for example) to manage its own set of rooms / beds / areas.  

              RECORD INDEXES:   AC (#873), C (#874)

231.8,.03     AREA                   0;3 POINTER TO TRACKING AREA FILE (#231.9)

              LAST EDITED:      JAN 11, 2008 
              HELP-PROMPT:      Enter the hospital area for this room/bed/area. 
              DESCRIPTION:      This is the area in the hospital associated with this room or bed.  Initially, the only area
                                supported is the emergency department.  It is expected that additional areas will be supported in
                                the future.  

              TECHNICAL DESCR:  For training classes, a separate area may be set up for each user so that they may configure their
                                own set of rooms/beds.  

              RECORD INDEXES:   AC (#873), C (#874)

231.8,.04     INACTIVE               0;4 SET

                                '0' FOR ACTIVE; 
                                '1' FOR INACTIVE; 
              LAST EDITED:      SEP 11, 2007 
              HELP-PROMPT:      Enter 'INACTIVE' to disallow use of this room/bed/area. 
              DESCRIPTION:
                                This flag is used to mark a room/bed/area as out of service.  

              TECHNICAL DESCR:  When a room is marked inactive, it is no longer available for selection in EDIS.  However, the room
                                will still show up on reports and entry screens for previous entries.  


231.8,.05     SEQUENCE               0;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."3N.N) X
              LAST EDITED:      SEP 11, 2007 
              HELP-PROMPT:      Type a Number between 1 and 9999, 2 Decimal Digits 
              DESCRIPTION:
                                This is the sequence for displaying the room/bed/area on the large display board.  


231.8,.06     DISPLAY NAME           0;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      JAN 11, 2008 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:      This is the name that is shown on the large display board.  It should be concise or abbreviated to
                                save space on the display board.  

              RECORD INDEXES:   AC (#873)

231.8,.07     DISPLAY WHEN           0;7 SET

                                '0' FOR OCCUPIED; 
                                '1' FOR ALWAYS; 
                                '2' FOR NEVER; 
              LAST EDITED:      SEP 12, 2007 
              HELP-PROMPT:      Enter when this room/bed/area should be shown on the display board. 
              DESCRIPTION:      This indicates when the room/bed/area should show up on the large display board.  The room may
                                always show, show only if currently occupied by a patient, or never show.  


231.8,.08     DEFAULT STATUS         0;8 POINTER TO TRACKING CODE FILE (#233.1)

              LAST EDITED:      SEP 11, 2007 
              HELP-PROMPT:      Enter the status that should be assigned, if any, when this room/area is selected. 
              DESCRIPTION:      If populated, the default status is automatically assigned to the entry in the ED LOG file when the
                                room/bed/area is selected.  For example, you might want to automatically assign the status,
                                Awaiting Triage, when the patient is assigned to the waiting room.  


231.8,.09     MULTIPLE ASSIGN        0;9 SET

                                '0' FOR Single; 
                                '1' FOR Multiple; 
                                '2' FOR Waiting; 
                                '3' FOR Single Non-ED; 
                                '4' FOR Multiple Non-ED; 
              LAST EDITED:      MAY 12, 2008 
              HELP-PROMPT:      Enter 'single' to allow only one patient at a time, 'waiting' for waiting areas, 'non-ED' for areas 
                                outside the emergency department. 
              DESCRIPTION:      This field affects the behavior of the room for data entry and reports.  If single, only one
                                patient at a time may be assigned to the room.  Exam rooms are a common example.  If multiple,
                                multiple patients may be simultaneously assigned to the room.  Waiting is a special case to 
                                identify waiting areas in the reports.  Non-ED indicates an area where the patient may be that is
                                outside the emergency department itself.  


231.8,.1      SHARED NAME            0;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      SEP 11, 2007 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:      If several beds or areas share the same physical space, use this field to create a common name for
                                these beds/areas.  By having this shared name, the reports may by used to identify exposures to
                                contagious organisms.  


231.8,.11     BOARD                  0;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      OCT 30, 2007 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:      An entry in this field indicates that the room/area should be displayed on a specific board that
                                uses the name entered here.  


231.8,.12     COLOR                  0;12 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      NOV 23, 2007 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:      A specific room/area may be mapped to a particular foreground and background color for use with the
                                display board.  

              TECHNICAL DESCR:  The format for color is: 
                                 
                                  ,, 
                                 
                                For example, 
                                 
                                  1,0x0,0xff0000 
                                 
                                is a red font on a black background.  


231.8,.13     PRIMARY                0;13 SET

                                '1' FOR Primary; 
                                '2' FOR Secondary; 
              LAST EDITED:      JUN 10, 2009 


      FILES POINTED TO                      FIELDS

INSTITUTION (#4)                  INSTITUTION (#.02)

TRACKING AREA (#231.9)            AREA (#.03)

TRACKING CODE (#233.1)            DEFAULT STATUS (#.08)


File #231.8

  Record Indexes:

  AC (#873)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  SITE,AREA,DISPLAYNAME,IEN
      Description:  Allows looking for a room with a specific abbreviation, such as AMBU or WAIT (when setting baseline parameters
                    for example).  
        Set Logic:  S ^EDPB(231.8,"AC",X(1),X(2),X(3),DA)=""
       Kill Logic:  K ^EDPB(231.8,"AC",X(1),X(2),X(3),DA)
       Whole Kill:  K ^EDPB(231.8,"AC")
             X(1):  INSTITUTION  (231.8,.02)  (Subscr 1)  (forwards)
             X(2):  AREA  (231.8,.03)  (Subscr 2)  (forwards)
             X(3):  DISPLAY NAME  (231.8,.06)  (Subscr 3)  (forwards)

  C (#874)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Index by site and area.
      Description:  Allows collecting all of the rooms for a specific area within a division (station number).  
        Set Logic:  S ^EDPB(231.8,"C",X(1),X(2),DA)=""
       Kill Logic:  K ^EDPB(231.8,"C",X(1),X(2),DA)
       Whole Kill:  K ^EDPB(231.8,"C")
             X(1):  INSTITUTION  (231.8,.02)  (Subscr 1)  (forwards)
             X(2):  AREA  (231.8,.03)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):