STANDARD DATA DICTIONARY #2005.42 -- MAG PATH CASELIST FILE                                                       3/24/25    PAGE 1
STORED IN ^MAG(2005.42,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file stores information for the Telepathology Worklist that cannot be stored in the LAB DATA file.  


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

CROSS
REFERENCED BY: ACCESSION NUMBER(B)

INDEXED BY:    STATUS & LAST ACTIVITY (C)


    LAST MODIFIED: FEB 7,2017@13:19:02

2005.42,.01   ACCESSION NUMBER       0;1 FREE TEXT (Required)

              Accession Number   
              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<7)!'(X?2A1" "2N1" "1N.N) X
              OUTPUT TRANSFORM: NOT EXECUTABLE!!  -- SPECIFIER NEEDS AN "O"!
              LAST EDITED:      JUN 20, 2013 
              HELP-PROMPT:      Answer must be 7-16 characters in length. 
              DESCRIPTION:
                                This is the accession number of the case.  

              EXECUTABLE HELP:  D EN^DDIOL("Enter AP section  year  accession number (ex. SP 95 345)")
              CROSS-REFERENCE:  2005.42^B 
                                1)= S ^MAG(2005.42,"B",$E(X,1,30),DA)=""
                                2)= K ^MAG(2005.42,"B",$E(X,1,30),DA)


2005.42,.02   PRIORITY               0;2 SET

                                '0' FOR ROUTINE; 
                                '1' FOR HIGH; 
                                '2' FOR STAT; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Select the priority for the case. 
              DESCRIPTION:
                                This is the priority of the case.  


2005.42,.03   SLIDES AVAILABLE       0;3 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      NOV 15, 2012 
              HELP-PROMPT:      Select whether slides are available. 
              DESCRIPTION:
                                This flag indicates whether there are slides available for the case.  


2005.42,.04   METHOD                 0;10 SET

                                '0' FOR TRADITIONAL; 
                                '1' FOR ROBOTICS; 
                                '2' FOR WSI; 
              LAST EDITED:      JUN 21, 2012 
              HELP-PROMPT:      Select the reading method for the acquisition site. 
              DESCRIPTION:
                                This is the method used to read the slides for the case in the acquisition site.  


2005.42,.05   STATUS                 0;11 SET (Required)

                                'U' FOR Unread; 
                                'R' FOR Read (verified); 
                                'C' FOR Cancelled; 
              LAST EDITED:      JUN 20, 2013 
              HELP-PROMPT:      Enter the status of the case. 
              DESCRIPTION:
                                The status of the case in the TelePath application.  

              RECORD INDEXES:   C (#760)

2005.42,.06   START                  0;12 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 20, 2013 
              HELP-PROMPT:      Enter the time that the case began. 
              DESCRIPTION:
                                The date and time that the case began.  


2005.42,.07   LAST ACTIVITY          0;13 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 20, 2013 
              HELP-PROMPT:      Enter the time of the last activity. 
              DESCRIPTION:
                                The date and time of the last activity.  

              RECORD INDEXES:   C (#760)

2005.42,.08   NUMBER OF IMAGES       0;14 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUN 20, 2013 
              HELP-PROMPT:      Enter the number of images(0-99999). 
              DESCRIPTION:
                                The number of images acquired.  


2005.42,1     FIRST LOCK             0;4 SET

                                '0' FOR UNLOCKED; 
                                '1' FOR LOCKED; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Select the status of the first (reservation) lock for the case. 
              DESCRIPTION:      This flag indicates whether there is a first (reservation) lock for the case, established by a
                                pathologist.  


2005.42,1.1   FIRST LOCK DATE/TIME   0;5 DATE

              INPUT TRANSFORM:  S %DT="ETX" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Select the date of first (reservation) lock for the case (No range limit on the date). 
              DESCRIPTION:
                                This is the date/time when the first (reservation) lock is set for the case.  


2005.42,1.2   FIRST LOCK USER        0;6 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Enter the user reserving the case. 
              DESCRIPTION:
                                This is the user setting the first lock (reservation lock) on the case.  


2005.42,2     SECOND LOCK            0;7 SET

                                '0' FOR UNLOCKED; 
                                '1' FOR LOCKED; 
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Select the status of the second (accession) lock for the case. 
              DESCRIPTION:      This flag indicates whether there is a second (accession) lock for the case, established by a
                                pathologist.  


2005.42,2.1   SECOND LOCK DATE/TIME  0;8 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Select the date of accession for the case (No range limit on the date). 
              DESCRIPTION:
                                This is the date/time when the second lock (accession lock) is set for the case.  


2005.42,2.2   SECOND LOCK USER       0;9 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JUN 20, 2012 
              HELP-PROMPT:      Enter the user accessing the case. 
              DESCRIPTION:
                                This is the user setting the second lock (accession lock) on the case.  


2005.42,3     NOTE                   1;0   WORD-PROCESSING #2005.421   (IGNORE "|")

              LAST EDITED:      AUG 21, 2012 
              DESCRIPTION:
                                This is the Note attached to the case.  


                LAST EDITED:      AUG 21, 2012 
                HELP-PROMPT:      Enter a Note related to this case. 
                DESCRIPTION:
                                  This is the Note attached to a selected case.  





      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 FIRST LOCK USER (#1.2)
                                  SECOND LOCK USER (#2.2)


File #2005.42

  Record Indexes:

  C (#760)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Status & Last Activity index
      Description:  This cross-reference is used to find entries by status and last activity date.  
        Set Logic:  S ^MAG(2005.42,"C",X(1),X(2),DA)=""
       Kill Logic:  K ^MAG(2005.42,"C",X(1),X(2),DA)
       Whole Kill:  K ^MAG(2005.42,"C")
             X(1):  STATUS  (2005.42,.05)  (Subscr 1)  (forwards)
             X(2):  LAST ACTIVITY  (2005.42,.07)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):