STANDARD DATA DICTIONARY #2006.913 -- ARTIFACT KEYLIST FILE                                                       3/24/25    PAGE 1
STORED IN ^MAGV(2006.913,  *** 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.                     | 
 |                                                               |
 +---------------------------------------------------------------+
 
An ordered list of strings that have meaning for the client software. Allows the client to retrieve artifacts in potentially nested
groups defined by the client. Key List is only connected to the Artifact file (#2006.916) in a 0..1-to-many fashion. This approach
allows the user of the Storage Service to store relational context of data hierarchies in the subsystem to enable intelligent
searches by the user for groups of artifacts without hard coding the relationships between the affected artifacts in the Storage
Service.  


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

POINTED TO BY: KEYLIST field (#3) of the ARTIFACT File (#2006.916) 
               


INDEXED BY:    KLEVEL & KVALUE (IDXKEYS)




2006.913,.01  DEPTH                  0;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 08, 2010 
              HELP-PROMPT:      Type a Number between 1 and 99, 0 Decimal Digits. 
              DESCRIPTION:
                                Number of levels in the Key List.  

              TECHNICAL DESCR:
                                Added in patch MAG*3.0*34 


2006.913,2    KEY                    1;0 Multiple #2006.9132

              LAST EDITED:      MAR 19, 2010 
              DESCRIPTION:
                                This field holds the Key List by storing pairs - key value and key level.  

              TECHNICAL DESCR:
                                Added in patch MAG*3.0*34 


2006.9132,.01   KVALUE                 0;1 FREE TEXT (Required) (Multiply asked)

                INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
                LAST EDITED:      JUN 03, 2010 
                HELP-PROMPT:      Answer must be 1-240 characters in length. 
                DESCRIPTION:      This is the key value in the Key List.  The hierarchy of the artifact storage can be defined by a
                                  Key List that has values on each level.  
                                   
                                  For the VistA Imaging database the following keys are used: 
                                   
                                  On the patient level (1) the value is the SiteDFN (Site #-DFN). On the procedure level (2) the
                                  value is SiteAcc (Site #-accession #).  On the study level (3) the value is the StudyId (Study
                                  UID).  On the series level (4) the value is the SeriesId (Series UID).  On the SOP level (5) the
                                  value is the SOPId (SOP UID).  

                RECORD INDEXES:   IDXKEYS (#1108) (WHOLE FILE #2006.913)

2006.9132,2     KLEVEL                 0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      SEP 15, 2011 
                HELP-PROMPT:      Type a number between 1 and 99, 0 Decimal Digits. 
                DESCRIPTION:
                                  This is the key level in the Key List.  

                TECHNICAL DESCR:
                                  Added in patch MAG*3.0*34 

                RECORD INDEXES:   IDXKEYS (#1108) (WHOLE FILE #2006.913)



Subfile #2006.9132

  Record Indexes:

  IDXKEYS (#1108)    RECORD    REGULAR    IR    LOOKUP & SORTING    WHOLE FILE (#2006.913)
      Short Descr:  Index by key level and key value.
      Description:  This index allows for quick reference of different levels of construct of an image attributes.  It can also
                    accommodate different forms at the same time.  
        Set Logic:  S ^MAGV(2006.913,"IDXKEYS",X(1),X(2),DA(1),DA)=""
       Kill Logic:  K ^MAGV(2006.913,"IDXKEYS",X(1),X(2),DA(1),DA)
       Whole Kill:  K ^MAGV(2006.913,"IDXKEYS")
             X(1):  KLEVEL  (2006.9132,2)  (Subscr 1)  (forwards)
             X(2):  KVALUE  (2006.9132,.01)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):