STANDARD DATA DICTIONARY #2006.5732 -- DICOM QUERY RETRIEVE RESULT FILE                                           3/24/25    PAGE 1
STORED IN ^MAGDQR(2006.5732,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                

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 entries in this table are the result-sets that are created in response to DICOM Query/Retrieve requests that may be processed 
through Remote Procedure Calls.  
 
Each entry in this table is one such result-set.  
 
Result-sets are kept in this table, so that client-stations can call Remote Procedures to obtain the content of a result-set in 
portions of a limited size.  
 
Also, since the creation of a result-set may need more time than is reasonable wait for in a single Remote Procedure Call, the 
existence of this table makes it possible to call a first Remote Procedure to create the result-set through a TaskMan process and
then call subsequent Remote Procedures to inquire whether the result-set is complete, and subsequently to obtain the results.  


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

CROSS
REFERENCED BY: RESULT(B)



2006.5732,.01 RESULT                 0;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 01, 2004 
              HELP-PROMPT:      Enter the sequence number of this result-set. 
              DESCRIPTION:      The value of this field is an integer number.  This number uniquely identifies a result-set that 
                                results from a DICOM Query/Retrieve request.  
                                 
                                The rest of the record is the result-set in question.  

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


2006.5732,2   STATUS                 0;2 SET

                                'IP' FOR Query in progress; 
                                'OK' FOR Query complete; 
                                'X' FOR Query completely reported; 
              LAST EDITED:      DEC 01, 2004 
              HELP-PROMPT:      Indicate the status of this query. 
              DESCRIPTION:      The value of this field is a code that indicates the status of a query.  
                                 
                                When a query is initiated, the value of this field will be set to IP = In Progress.  
                                 
                                When a query is complete, the value of this field will be changed to OK = Query Complete.  
                                 
                                When all results that are logged for the query have been reported, the value of this field will be
                                set to X = Query Completely Reported, so that a clean-up process may remove the now obsolete
                                result-set.  
                                 
                                (See also the field TIMESTAMP.) 


2006.5732,3   TIMESTAMP              0;3 DATE

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 01, 2004 
              HELP-PROMPT:      Enter the date and time of last access to this result-set. 
              DESCRIPTION:      The value of this field is a timestamp that indicates when a result-set was last accessed.  
                                 
                                This value is set to the current date and time when the result-set is first marked as complete, and
                                will be updated each time a (partial) result is reported.  
                                 
                                The main purpose of this field to to assist a maintenance process in cleaning up result-sets that
                                haven't been accessed in more than a couple of days.  


2006.5732,4   TAG                    1;0 Multiple #2006.57321 (Add New Entry without Asking)


2006.57321,.01  TAG                    0;1 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>9!($L(X)<9) X
                LAST EDITED:      DEC 01, 2004 
                HELP-PROMPT:      Enter the DICOM tag (xxxx,xxxx) for the current value. 
                DESCRIPTION:      The value of this field is a string that represents a DICOM tag.  A DICOM tag consists of two
                                  pairs of 4 hexadecimal digits, separated by a comma.  
                                   
                                  The DICOM tag qualifies the meaning of the data-value that is stored in the rest of the current
                                  record.  

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


2006.57321,2    VALUE                  0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                LAST EDITED:      DEC 01, 2004 
                HELP-PROMPT:      Enter the value for the current DICOM tag. 
                DESCRIPTION:      The value of this field is a string.  This value is used to report the actual value of a certain 
                                  DICOM element in response to a query. The DICOM element in question is identified by the TAG at
                                  the start of the current record.  




2006.5732,5   TASKMAN                0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 01, 2004 
              HELP-PROMPT:      Enter the process-number of the TaskMan process that does the query. 
              DESCRIPTION:      The value of this field is a number.  
                                 
                                This number is returned by TaskMan when a new background process is created to perform the actual
                                query.  
                                 
                                This number will be used to query TaskMan to see whether the background process has completed.  
                                 
                                Note: if the background process is no longer active, and no result-set has been delivered, the
                                error log should be checked for any problems.  



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):