STANDARD DATA DICTIONARY #2006.543 -- AUTOMATIC DICOM Q/R RUN STATS FILE                                          3/24/25    PAGE 1
STORED IN ^MAGDSTT(2006.543,  *** 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.                     | 
 |                                                               |
 +---------------------------------------------------------------+
  
This table contains information about batch query/retrieve runs that either compare images between VistA and PACS or retrieve 
missing images for PACS.  The Q/R runs can be for either radiology or consult/procedure requests.  


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

CROSS
REFERENCED BY: START TIME(B)

INDEXED BY:    MENU OPTION & SCAN MODE (C)


    LAST MODIFIED: MAR 15,2021@11:53:59

2006.543,.01  START TIME             0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the date/time that the batch Q/R run started. 
              DESCRIPTION:
                                This is the date/time that the batch DICOM Q/R run was started.  

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


2006.543,2    IMAGING SERVICE        0;2 SET (Required)

                                'C' FOR CONSULTS; 
                                'R' FOR RADIOLOGY; 
              LAST EDITED:      SEP 03, 2019 
              HELP-PROMPT:      Enter the Imaging Service. 
              DESCRIPTION:
                                Imaging Service, R=Radiology, C=Consults.  


2006.543,3    RUN TIME               0;3 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the date/time that the batch Q/R run processed a study. 
              DESCRIPTION:      This is the date/time that the batch Q/R run processed a study.  It is automatically updated during
                                a run each time a study is processed.  


2006.543,4    RUN OPTION             0;4 SET (Required)

                                'C' FOR COMPARE IMAGE COUNTS; 
                                'R' FOR RETRIEVE MISSING IMAGES; 
              LAST EDITED:      SEP 03, 2019 
              HELP-PROMPT:      Enter the run option (retrieve or compare). 
              DESCRIPTION:      There are two run options, compare counts of images between VistA and PACS, and retrieve missing
                                images from PACS.  


2006.543,5    STATUS                 0;5 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              MAXIMUM LENGTH:   30
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the status of the run, 3 to 30 characters. 
              DESCRIPTION:
                                The status indicates the state of the run.  


2006.543,6    SCAN MODE              0;6 SET (Required)

                                'D' FOR DATE; 
                                'N' FOR NUMBER; 
                                'P' FOR PATIENT; 
              LAST EDITED:      SEP 12, 2019 
              HELP-PROMPT:      Enter the scan mode (Date, Number (IEN), or Patient). 
              DESCRIPTION:      There are three modes for traversing the radiology report file (^RARPT) or the consult request file
                                (^GMR(123)) to look for images.  First is by date of the completion of the study, second is by the
                                internal entry number (IEN) of the file, and third is by patient.  

              RECORD INDEXES:   C (#1034)

2006.543,7    PACS Q/R SCP           0;7 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              MAXIMUM LENGTH:   30
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the name of the PACS Q/R Service Class Provider (SCP), 3 to 30 characters. 
              DESCRIPTION:
                                This is the name of the Q/R SCP in the DICOM Gateway SCU_LIST.DIC.  


2006.543,8    C-MOVE DESTINATION     0;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<3) X
              MAXIMUM LENGTH:   16
              LAST EDITED:      SEP 17, 2019 
              HELP-PROMPT:      Enter the Application Entity Title of the C-MOVE destination, 3 to 16 characters. 
              DESCRIPTION:      This is the DICOM Application Entity Title of the C-MOVE destination.  It is set to the MOVE
                                DESTINATION AE TITLE configuration parameter of the DICOM Image Gateway that handled the retrieve
                                request.  


2006.543,9    BEGIN DATE             0;9 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the starting date for a DATE or PATIENT scan. 
              DESCRIPTION:
                                This is the starting date for a DATE or PATIENT scan.  


2006.543,10   END DATE/TIME          0;10 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the ending date/time for a DATE or PATIENT scan. 
              DESCRIPTION:      This is the ending date/time for a DATE or PATIENT scan.  It has a value typically of
                                CYYMMDD.235959 so that it is completely inclusive of the end date.  


2006.543,11   STARTING IEN           0;11 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              MAXIMUM LENGTH:   30
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the starting report or study ien, 3 to 30 characters. 
              DESCRIPTION:      This is the starting radiology report IEN in the RAD/NUC MED REPORTS file (#74) or the consult
                                request IEN in the REQUEST/CONSULTATION file (#123).  It is only defined for the NUMBER scan mode.  
                                The date of the report or study may follow the IEN value.  That is the reason the FREE TEXT
                                datatype is used instead of NUMBER.  


2006.543,12   BATCH SIZE             0;12 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>1000000)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the batch size for a NUMBER scan, 1 to 1000000. 
              DESCRIPTION:      This is the number of radiology reports or consult/procedure requests that will be processed in
                                this NUMBER scan mode.  


2006.543,13   SORT ORDER             0;13 SET (Required)

                                'A' FOR ASCENDING; 
                                'D' FOR DESCENDING; 
              LAST EDITED:      SEP 04, 2019 
              HELP-PROMPT:      Enter the sort order (ascending or descending). 
              DESCRIPTION:      This is the sort order for the traversing of the database.  It can either be in ascending
                                (chronological) order or in descending (reverse chronological) order.  


2006.543,14   HOURS OF OPERATION     0;14 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>24!($L(X)<24)!'(X?24(1"Y",1"N")) X
              MAXIMUM LENGTH:   24
              LAST EDITED:      SEP 04, 2019 
              HELP-PROMPT:      Enter a 24-character string of Y's and N's. 
              DESCRIPTION:
                                This is a string like YYYYYNNNNNYYYYYYYYYYYYYY that indicates when this process should run.  


2006.543,15   DFN                    0;15 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the DFN of the patient, 1 to 9999999999. 
              DESCRIPTION:
                                This is the patient's DFN value.  It is not meant to be a pointer.  


2006.543,16   STUDY DATE             0;16 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 06, 2019 
              HELP-PROMPT:      Enter the date (and time) of the study. 
              DESCRIPTION:
                                The date of the study is displayed in MM/DD/YY format.  


2006.543,17   REPORT NUMBER          0;17 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the IEN of the radiology report file (#74) or consult file (#123), 1 to 99999999. 
              DESCRIPTION:      This is the internal entry number of the radiology report file (#74), or the request/consultation
                                file (#123).  It is not meant to be pointer.  


2006.543,18   ACCESSION NUMBER       0;18 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<8) X
              MAXIMUM LENGTH:   16
              LAST EDITED:      SEP 16, 2019 
              HELP-PROMPT:      Enter the accession number of the study, 8 to 16 characters. 
              DESCRIPTION:      The radiology accession number is in either MMDDYY-nnnnn or SSS-MMDDYY-nnnn format.  The consult
                                accession number is in SSS-GMR-nnnnnnnnn format.  


2006.543,19   USER                   0;19 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      SEP 05, 2019 
              HELP-PROMPT:      Enter the DUZ of the user who initiated the Q/R run. 
              DESCRIPTION:
                                This is the DUZ of the user who initiated the Q/R run.  


2006.543,20   MENU OPTION            0;20 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              MAXIMUM LENGTH:   30
              LAST EDITED:      APR 09, 2020 
              HELP-PROMPT:      Enter the name of the option on the MAGD STUDY TRACKER menu, 3 to 30 characters. 
              DESCRIPTION:
                                This is the name of the option on the MAGD STUDY TRACKER menu.  

              RECORD INDEXES:   C (#1034)

2006.543,101  CONSULT SERVICE        1;0 POINTER Multiple #2006.5431

              DESCRIPTION:
                                This is a list of the CPRS Request Services that are selected for this run.  


2006.5431,.01   CONSULT SERVICE        0;1 POINTER TO REQUEST SERVICES FILE (#123.5) (Multiply asked)

                LAST EDITED:      SEP 09, 2019 
                HELP-PROMPT:      Enter the request service for the query/retrieve. 
                DESCRIPTION:      CPRS consults and procedures for the designated request services are traversed for images and
                                  compared with PACS.  

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




2006.543,201  STATISTICS             2;0 Multiple #2006.5432

              DESCRIPTION:
                                This is a list of the various statistical parameters that are acquired for this run.  


2006.5432,.01   NAME                   0;1 FREE TEXT (Multiply asked)

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      SEP 16, 2019 
                HELP-PROMPT:      Enter the name of the statistics parameter, 1 to 30 characters. 
                DESCRIPTION:
                                  Name of the statistics parameter.  

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


2006.5432,2     VALUE                  0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
                MAXIMUM LENGTH:   100
                LAST EDITED:      SEP 16, 2019 
                HELP-PROMPT:      Enter the value of the statistics parameter, 1 to 100 characters. 
                DESCRIPTION:
                                  Value of the statistics parameter.  





      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 USER (#19)

REQUEST SERVICES (#123.5)         CONSULT SERVICE:CONSULT SERVICE (#.01)


File #2006.543

  Record Indexes:

  C (#1034)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Cross reference on MENU OPTION and SCAN MODE.
      Description:  This is a cross reference using the MENU OPTION and SCAN MODE.  It is used for selecting the parameters of the
                    previous run for the default parameters of the next run as well as for segregating the statistics by MENU
                    OPTION and SCAN MODE.  
        Set Logic:  S ^MAGDSTT(2006.543,"C",$E(X(1),1,30),X(2),DA)=""
       Kill Logic:  K ^MAGDSTT(2006.543,"C",$E(X(1),1,30),X(2),DA)
       Whole Kill:  K ^MAGDSTT(2006.543,"C")
             X(1):  MENU OPTION  (2006.543,20)  (Subscr 1)  (Len 30)  (forwards)
             X(2):  SCAN MODE  (2006.543,6)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):