STANDARD DATA DICTIONARY #2006.03 -- IMAGE BACKGROUND QUEUE FILE                                                  3/24/25    PAGE 1
STORED IN ^MAGQUEUE(2006.03,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
 +---------------------------------------------------------------+ 
 |                                                               |
 | Property of the US Government.                                | 
 | No permission to copy or redistribute this software is given. | 
 | Use of unreleased versions of this software requires the user | 
 | to execute a written test agreement with the VistA Imaging    | 
 | Development Office of the Department of Veterans Affairs,     | 
 | telephone (301) 734-0100.                                     | 
 |                                                               |
 | The Food and Drug Administration classifies this software as  | 
 | a medical device.  As such, it may not be changed in any way. | 
 | Modifications to this software may result in an adulterated   | 
 | medical device under 21CFR820, the use of which is considered | 
 | to be a violation of US Federal Statutes.                     | 
 |                                                               |
 +---------------------------------------------------------------+
 
 The Image Background Queue file is a holding file for all the entries to be processed by the Background Processor.  Entries are
made by Clinical Capture workstation, VistARad Diagnostic workstation, DICOM Image gateways or the Background Gui application for
functions such as copying file to and from the jukebox and/or magnetic drives.   The Background GUI application will update entries
as well as remove entries from this file.  


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

   APPLICATION GROUP(S): MAG
IDENTIFIED BY: NUMBER (#.001), PLACE (#.04)[R]

POINTED TO BY: QUEUE POINTER field (#1) of the IMAGE BACKGROUND QUEUE POINTER File (#2006.031) 
               NAME field (#.01) of the IMPORT QUEUE File (#2006.034) 
               


INDEXED BY:    PLACE & QUEUE NAME (C), PLACE & QUEUE NAME & COMPLETION STATUS (D), PLACE & IMAGE POINTER (E), PLACE & IMAGE POINTER
               & QUEUE TYPE (F)




2006.03,.001  NUMBER                     NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      OCT 25, 2000 
              HELP-PROMPT:      Type a number between 1 and 99999999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the internal entry number (IEN) of the QUEUE entry.  


2006.03,.01   QUEUE NAME             0;1 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      JAN 07, 2005 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                Name of the queue holding the entry.  

              RECORD INDEXES:   C (#662), D (#663)

2006.03,.04   PLACE                  0;12 POINTER TO IMAGING SITE PARAMETERS FILE (#2006.1) (Required)

              LAST EDITED:      APR 14, 2005 
              DESCRIPTION:      This field references the site parameter file. The Site parameter entry defines all of the
                                attributes of Vista Imaging local area network. This includes facility user preferences, network
                                write locations, etc.  

              RECORD INDEXES:   C (#662), D (#663), E (#664), F (#665)

2006.03,1     USER                   0;2 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      DEC 20, 1994 
              DESCRIPTION:
                                Pointer to the user creating the entry in the queue.  


2006.03,2     SYSTEM VOLUME GROUP ID 0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
              LAST EDITED:      DEC 13, 2000 
              HELP-PROMPT:      Answer must be 3 characters in length 
              DESCRIPTION:
                                The identification of the system used to create the entry in the queue.  


2006.03,3     REQUEST DATE & TIME    0;4 DATE

              INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 20, 1994 
              DESCRIPTION:
                                The date and time that the entry was placed into the queue.  


2006.03,4     COMPLETION STATUS      0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
              LAST EDITED:      OCT 22, 2004 
              HELP-PROMPT:      Answer must be 1-60 characters in length. 
              DESCRIPTION:      The status of the handing of the request by the Background Processor. The field is null until the
                                entry is processed in the background. A positive value indicates a successful completion of the
                                request. A negative value indicates a failure to complete the request. Explanatory text follows the 
                                numeric status in this field 

              RECORD INDEXES:   D (#663)

2006.03,5     COMPLETION DATE & TIME 0;6 DATE

              INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 20, 1994 
              DESCRIPTION:
                                The date and time that the background processor finished the request.  


2006.03,6     IMAGE POINTER          0;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      NOV 02, 2004 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Pointer to file 2005.  

              RECORD INDEXES:   E (#664), F (#665)

2006.03,7     QUEUE TYPE             0;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      NOV 09, 2004 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Type of Background or DICOM processor queued process.  

              RECORD INDEXES:   F (#665)

2006.03,8     QUEUED SEQUENCE NUMBER 0;9 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      MAR 23, 1998 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                If this field is blank then this queued process record represents is in its initial instantiation.  


2006.03,9     FILEPATH               0;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      APR 23, 1998 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Complete Filepath passed from the foreground to the Background Processor.  


2006.03,10    QUEUE DATA ITEM 5      0;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      MAR 21, 1995 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                Fifth parameter passed from the foreground to the Background Processor.  



      FILES POINTED TO                      FIELDS

IMAGING SITE PARAMETERS (#2006.1)  PLACE (#.04)

NEW PERSON (#200)                 USER (#1)


File #2006.03

  Record Indexes:

  C (#662)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  To Sort by Place and Queue name
        Set Logic:  S ^MAGQUEUE(2006.03,"C",X(1),$E(X(2),1,30),DA)=""
       Kill Logic:  K ^MAGQUEUE(2006.03,"C",X(1),$E(X(2),1,30),DA)
       Whole Kill:  K ^MAGQUEUE(2006.03,"C")
             X(1):  PLACE  (2006.03,.04)  (Subscr 1)  (forwards)
             X(2):  QUEUE NAME  (2006.03,.01)  (Subscr 2)  (Len 30)  (forwards)

  D (#663)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Status
        Set Logic:  S ^MAGQUEUE(2006.03,"D",X(1),$E(X(2),1,30),$E(X(3),1,30),DA)=""
       Kill Logic:  K ^MAGQUEUE(2006.03,"D",X(1),$E(X(2),1,30),$E(X(3),1,30),DA)
       Whole Kill:  K ^MAGQUEUE(2006.03,"D")
             X(1):  PLACE  (2006.03,.04)  (Subscr 1)  (forwards)
             X(2):  QUEUE NAME  (2006.03,.01)  (Subscr 2)  (Len 30)  (forwards)
             X(3):  COMPLETION STATUS  (2006.03,4)  (Subscr 3)  (Len 30)  (forwards)

  E (#664)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Place and Image number index to prevent redundant queues
        Set Logic:  S ^MAGQUEUE(2006.03,"E",X(1),$E(X(2),1,30),DA)=""
         Set Cond:  I $P(^MAGQUEUE(2006.03,DA,0),U)["JUKEBOX"
       Kill Logic:  K ^MAGQUEUE(2006.03,"E",X(1),$E(X(2),1,30),DA)
        Kill Cond:  I $P(^MAGQUEUE(2006.03,DA,0),U)["JUKEBOX"
       Whole Kill:  K ^MAGQUEUE(2006.03,"E")
             X(1):  PLACE  (2006.03,.04)  (Subscr 1)  (forwards)
             X(2):  IMAGE POINTER  (2006.03,6)  (Subscr 2)  (Len 30)  (forwards)

  F (#665)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Place, image number, type index
      Description:  This X-REF is used to prevent redundent queuing of images when network throughput is at a premium.  
        Set Logic:  S ^MAGQUEUE(2006.03,"F",X(1),$E(X(2),1,30),$E(X(3),1,30),DA)=""
         Set Cond:  I (($P(^MAGQUEUE(2006.03,DA,0),U)["JBTOHD")&($P(^MAGQUEUE(2006.03,DA,0),U,7)?1N.N))
       Kill Logic:  K ^MAGQUEUE(2006.03,"F",X(1),$E(X(2),1,30),$E(X(3),1,30),DA)
        Kill Cond:  I (($P(^MAGQUEUE(2006.03,DA,0),U)["JBTOHD")&($P(^MAGQUEUE(2006.03,DA,0),U,7)?1N.N))
       Whole Kill:  K ^MAGQUEUE(2006.03,"F")
             X(1):  PLACE  (2006.03,.04)  (Subscr 1)  (forwards)
             X(2):  IMAGE POINTER  (2006.03,6)  (Subscr 2)  (Len 30)  (forwards)
             X(3):  QUEUE TYPE  (2006.03,7)  (Subscr 3)  (Len 30)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):