STANDARD DATA DICTIONARY #2006.565 -- EXPORT DICOM RUN FILE                                                       3/24/25    PAGE 1
STORED IN ^MAGDICOM(2006.565,  *** 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 runs that export DICOM data.  Each record in this table keeps track of the actual
parameters of one single batch run.  


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

POINTED TO BY: DICOM EXPORT RUN NUMBER field (#93) of the DICOM GATEWAY PARAMETER File (#2006.563) 
               

CROSS
REFERENCED BY: START TIME(B)

    LAST MODIFIED: JUN 8,2022@15:48:23

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

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      OCT 19, 2021 
              HELP-PROMPT:      Indicate when this batch run started. 
              DESCRIPTION:      The value of this field is a (VA-FileMan formatted) date/time value.  This value is the time-stamp
                                that indicates the date and time when a batch-run was begun.  

              CROSS-REFERENCE:  2006.565^B 
                                1)= S ^MAGDICOM(2006.565,"B",X,DA)=""
                                2)= K ^MAGDICOM(2006.565,"B",X,DA)


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

                                'RADIOLOGY' FOR Radiology; 
                                'CONSULTS' FOR Consults; 
                                'LABORATORY' FOR Laboratory; 
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Enter the Imaging Service. 
              DESCRIPTION:
                                This is the Imaging Service that exported the DICOM objects.  


2006.565,3    RUN TIME               0;3 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Indicate the date and time for the most recently exported study. 
              DESCRIPTION:      The value of this field is a (VA-FileMan formatted) date/time value.  This value is the time-stamp
                                that indicates when the export for the last study in this batch run was created.  


2006.565,4    NUMBER OF STUDIES      0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 05, 2021 
              HELP-PROMPT:      Indicate how many studies have been processed in this batch run. A number between 0 and 999999999. 
              DESCRIPTION:      The value of this field is an integer number.  This value identifies the number of studies that
                                have been processed in the current batch-run.  


2006.565,5    STATUS                 0;5 SET (Required)

                                'STARTED' FOR Started; 
                                'COMPLETED' FOR Completed; 
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Enter the status of the run. 
              DESCRIPTION:
                                This is the status of the run.  


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

                                'DATE' FOR Date; 
                                'NUMBER' FOR Number; 
                                'PATIENT' FOR Patient; 
                                'ACCESSION' FOR Accession Number; 
              LAST EDITED:      OCT 04, 2021 
              HELP-PROMPT:      Identify the primary scanning criterium for this batch run. 
              DESCRIPTION:      The value of this field is a code that identifies the method of scanning the reports.  Possible
                                values are "DATE", "NUMBER", "PATIENT" and "ACCESSION".  
                                 
                                A value of "DATE" indicates that the reports are scanned by date.  
                                 
                                A value of "PATIENT" indicates that the reports are scanned by (internal entry number of) patient.  
                                 
                                A value of "NUMBER" indicates that the reports are scanned by (internal entry number of) report.  
                                 
                                A value of "ACCESSION" indicates that a single study was selected by the Accession Number.  


2006.565,7    STORAGE SCP            0;7 POINTER TO USER APPLICATION FILE (#2006.585) (Required)

              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Identify the destination for this transmission. 
              DESCRIPTION:      The value of this field is a pointer to the User Application table (file # 2006.585).  This pointer
                                identifies the Storage SCP to which the images are to be transmitted in this batch run.  


2006.565,8    NUMBER OF IMAGES       0;8 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Indicate how many images are in this batch run.  A number between 0 and 999999999. 
              DESCRIPTION:      The value of this field is an integer number.  This value identifies the number of images in the
                                current batch run.  


2006.565,9    BEGIN DATE             0;9 DATE

              INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Identify the first report date to include in this scan. 
              DESCRIPTION:      The value of this field is a (VA-FileMan formatted) date.  This date identifies the first day of
                                the period that is intended to be included in this batch run.  


2006.565,10   END DATE               0;10 DATE

              INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Identify the last report date to include in this scan 
              DESCRIPTION:      The value of this field is a (VA-FileMan formatted) date.  This date identifies the last day of the
                                period that is intended to be included in this batch run.  


2006.565,11   START IEN              0;11 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 05, 2021 
              HELP-PROMPT:      Identify the first study for which the images are to be transmitted.  A number between 0 and 
                                999999999. 
              DESCRIPTION:      The value of this field is a pointer to the Radiology Report table (file # 74), a pointer to the
                                Consult table (file # 123), or a pointer to the Laboratory table (file #63).  

              TECHNICAL DESCR:
                                These values are not pointers but IEN values stored as numerics.  


2006.565,12   BATCH SIZE             0;12 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 05, 2021 
              HELP-PROMPT:      Indicate the maximum number of image groups to be included in this scan.  A number between 0 and 
                                999999999. 
              DESCRIPTION:      The value of this field is an integer number.  This number identifies the maximum number of image
                                groups that may be included in this batch run.  


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

                                'ASCENDING' FOR Ascending; 
                                'DESCENDING' FOR Descending; 
              LAST EDITED:      JUN 15, 2021 
              HELP-PROMPT:      Indicate the scanning direction for this batch run. 
              DESCRIPTION:      The value of this field is a code that indicates the direction in which the report file is to be
                                scanned in this batch run.  Possible values are "ASCENDING" and "DESCENDING".  


2006.565,14   HOURS                  0;14 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>24!($L(X)<24) X
              MAXIMUM LENGTH:   24
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Enter a 24-character string of N's and Y's. 
              DESCRIPTION:      The value of this field is a string that consists of the letters "Y" and "N".  This value indicates
                                during which hours of the day this batch run may be active.  A string of 24 letters "Y" denotes a
                                batch run that may run all day long.  A string like "YYYYYYYYNNNNNNNNNYYYYYYY" denotes a batch run
                                that may only run outside of regular office hours (midnight to 9am and 6pm to midnight).  


2006.565,15   PATIENT                0;15 POINTER TO PATIENT FILE (#2)

              LAST EDITED:      OCT 07, 2005 
              HELP-PROMPT:      Identify the patient to whom the current report applies. 
              DESCRIPTION:
                                The patient to whom the current report applies.  


2006.565,16   STUDY DATE             0;16 DATE

              INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Indicate the date and time for the most recently processed report. 
              DESCRIPTION:      The value of this field is a (VA-FileMan formatted) date/time value.  This value is the time-stamp
                                that indicates when the report was created for the current study in this batch run. 


2006.565,17   STUDY IEN              0;17 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 05, 2021 
              HELP-PROMPT:      Identify the last report for which images were transmitted.  A number between 0 and 999999999. 
              DESCRIPTION:      The value of this field is a pointer to the study report table.  This pointer identifies the last
                                study that was transmitted.  


2006.565,18   ACCESSION NUMBER       0;18 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<6) X
              MAXIMUM LENGTH:   16
              LAST EDITED:      JUN 14, 2021 
              HELP-PROMPT:      Enter the accession number of the last study that was transmitted. 
              DESCRIPTION:      This is the accession number of the last study to be transmitted.  It may either be a radiology,
                                consult, or laboratory accession number.  


2006.565,19   EXPORT                 1;0 POINTER Multiple #2006.56519

              LAST EDITED:      OCT 14, 2021 
              DESCRIPTION:      This is a list of pointers to the DICOM OBJECT EXPORT file (#2006.574) on VistA.  The Display of
                                Batch Export Statistics application on the DICOM Gateway uses these pointers to get the
                                transmission status for each of the DICOM images.  


2006.56519,.01  EXPORT IEN             0;1 POINTER TO DICOM OBJECT EXPORT FILE (#2006.574) (Required)

                LAST EDITED:      OCT 19, 2021 
                HELP-PROMPT:      Select the entry in the DICOM OBJECT Export file (#2006.574) 
                DESCRIPTION:      Pointer to DICOM OBJECT EXPORT file (#2006.574) for an exported study of a DICOM Gateway batch
                                  export run.  

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


2006.56519,1    COUNT                  0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      OCT 14, 2021 
                HELP-PROMPT:      Enter the number of images in the range of 0 to 999999999. 
                DESCRIPTION:      This is the number of images associated with the entry in the DICOM OBJECT EXPORT file
                                  (#2006.574).  




2006.565,20   SERVICE                2;0 POINTER Multiple #2006.56599

              LAST EDITED:      OCT 19, 2021 
              DESCRIPTION:
                                List of request services for the consult/procedure export run.  


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

                LAST EDITED:      OCT 19, 2021 
                HELP-PROMPT:      Enter a consult/procedure service for the batch export run. 
                DESCRIPTION:
                                  Pointer to a request service for the consult/procedure export run.  

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


2006.56599,1    SERVICE NAME           0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>63!($L(X)<2) X
                MAXIMUM LENGTH:   63
                LAST EDITED:      OCT 19, 2021 
                HELP-PROMPT:      Answer must be 2-63 characters in length. 
                DESCRIPTION:      This is the name of the service from the REQUEST SERVICE file (#123.5).  The name is required
                                  because the EXPORT DATA RUN file (#2006.565) is on the DICOM Gateway and FileMan is not
                                  accessible.  




2006.565,21   LRSS                   0;20 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
              MAXIMUM LENGTH:   2
              LAST EDITED:      OCT 28, 2021 
              HELP-PROMPT:      Enter 2 character laboratory subscript (LRSS) from the LAB DATA file (#63) 
              DESCRIPTION:
                                This is the laboratory subscript LRSS in the LAB DATA file (#63).  


2006.565,22   LRDFN                  0;19 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 28, 2021 
              HELP-PROMPT:      Enter the laboraty patient pointer value from the LAB DATA file (#63), 1-999999999 
              DESCRIPTION:
                                This is the laboratory patient pointer LRDFN value in the LAB DATA file (#63).  


2006.565,23   LRI                    0;21 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999999.999999)!(X<0)!(X?.E1"."7N.N) X
              LAST EDITED:      OCT 28, 2021 
              HELP-PROMPT:      Enter reverse d/t subscript LRI from LAB DATA file (#63), 0 to 9999999.999999 
              DESCRIPTION:
                                This is the reverse Fileman date/time subscript LRI from LAB DATA file (#63).  


2006.565,24   COPY OR SEND           0;22 SET

                                'COPY' FOR Copy images to a folder; 
                                'SEND' FOR Send images to a Store SCP; 
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Enter COPY or SEND to indicate how images will be exported. 
              DESCRIPTION:      This field indicates how images will be exported.  They can be copied to a folder or sent to a
                                Store SCP.  


2006.565,25   ACCESSION NUMBER FILE  3;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<3) X
              MAXIMUM LENGTH:   60
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Enter the accession number file, 3-60 characters. 
              DESCRIPTION:
                                This is the file containing the accession numbers of the images that will be copied.  


2006.565,26   NUMBER OF MISSING IMAGES 0;23 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Indicate how many images have been missing in this batch run. A number between 0 and 999999999. 
              DESCRIPTION:      The value of this field is an integer number that indicates the number of images that were missing
                                in the current batch run.  


2006.565,27   NUMBER OF FAILED IMAGES 0;24 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Indicate how many images failed to be transmitted in this batch run. A number between 0 and 
                                999999999. 
              DESCRIPTION:      The value of this field is an integer number that indicates the number of images that failed to be
                                exported in the current batch run.  


2006.565,28   NUMBER OF SUCCESSFUL IMAGES 0;25 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Indicate how many images have been exported in this batch run.  A number between 0 and 999999999. 
              DESCRIPTION:      The value of this field is an integer number.  This value indicate the number of images that were
                                exported in the current batch run.  


2006.565,29   NUMBER OF STUDIES W/O IMAGES 0;26 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Indicate how many studies in this batch run did not have images.  A number between 0 and 999999999. 
              DESCRIPTION:
                                This is the number of studies in this batch run that did not have images.  


2006.565,30   COPY FOLDER            3;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<3) X
              MAXIMUM LENGTH:   60
              LAST EDITED:      NOV 01, 2021 
              HELP-PROMPT:      Enter the destination folder for copying images, 3-60 characters. 
              DESCRIPTION:
                                This is the folder to which the images will be copied.  



      FILES POINTED TO                      FIELDS

DICOM OBJECT EXPORT (#2006.574)   EXPORT:EXPORT IEN (#.01)

PATIENT (#2)                      PATIENT (#15)

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

USER APPLICATION (#2006.585)      STORAGE SCP (#7)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):