STANDARD DATA DICTIONARY #102.3 -- PATIENT TASK FILE                                                              3/24/25    PAGE 1
STORED IN ^ORRT(102.3,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                      (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains patient tasks for the Care Management dashboards; all supporting attributes are stored here, as well as tracking
of each one's cancellation or fulfillment.  


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

CROSS
REFERENCED BY: CREATED(B), PATIENT(C)

INDEXED BY:    PATIENT & COMPLETED & CANCELED (DUE)




102.3,.01     CREATED                0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Enter the date and time this task was created. 
              DESCRIPTION:
                                This is the date and time the task was created.  

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


102.3,1       SUBJECT                1;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Answer must be 1-100 characters in length. 
              DESCRIPTION:
                                This is a description of the task.  


102.3,2       USER                   0;2 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Enter the user who created this task. 
              DESCRIPTION:
                                This is the user who created the task for this patient.  


102.3,3       PATIENT                0;3 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      JUN 05, 2003 
              HELP-PROMPT:      Enter the patient who is the object of this task. 
              DESCRIPTION:
                                This is the patient that this task applies to.  

              CROSS-REFERENCE:  102.3^C 
                                1)= S ^ORRT(102.3,"C",$E(X,1,30),DA)=""
                                2)= K ^ORRT(102.3,"C",$E(X,1,30),DA)

              RECORD INDEXES:   DUE (#343)

102.3,4       PRIORITY               0;4 SET

                                'L' FOR LOW; 
                                'M' FOR MEDIUM; 
                                'H' FOR HIGH; 
              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Enter the priority of this task. 
              DESCRIPTION:
                                This is the priority for accomplishing this task.  


102.3,5       DUE DATE               0;5 DATE

              INPUT TRANSFORM:  S %DT="ETX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Enter the date [and time] by which this task is to be completed. 
              DESCRIPTION:
                                This is the date [and time] by which this task should be completed.  


102.3,6       COMPLETED              0;6 DATE

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 05, 2003 
              HELP-PROMPT:      Enter the date and time this task was completed. 
              DESCRIPTION:
                                This field indicates when this task was completed.  

              RECORD INDEXES:   DUE (#343)

102.3,7       COMPLETED BY           0;7 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JAN 12, 2003 
              HELP-PROMPT:      Enter the user who completed this task. 
              DESCRIPTION:
                                This is the user who marked this task as complete.  


102.3,8       CANCELED               0;8 DATE

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 05, 2003 
              HELP-PROMPT:      Enter the date and time this task was canceled. 
              DESCRIPTION:
                                This field indicates when this task was canceled.  

              RECORD INDEXES:   DUE (#343)

102.3,9       CANCELED BY            0;9 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JUN 05, 2003 
              HELP-PROMPT:      Enter the user who canceled this task. 
              DESCRIPTION:
                                This is the user who marked this task as canceled.  


102.3,10      LINKED ITEMS           2;0 Multiple #102.31 (Add New Entry without Asking)

              DESCRIPTION:
                                This multiple contains identifiers for items that have been linked to this task.  

              TECHNICAL DESCR:  Entries will be a string consisting of two ':' delimited pieces, where the first will be three
                                uppercase letters indicating the file or source of the data (i.e. ORD=Orders file #100, DOC=TIU
                                Documents file #8925, etc) and the second will be a data string containing whatever is needed to 
                                identify the item in that file.  


102.31,.01      ITEM                   0;1 FREE TEXT (Multiply asked)

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<3) X
                LAST EDITED:      FEB 06, 2003 
                HELP-PROMPT:      Answer must be 3-50 characters in length. 
                DESCRIPTION:
                                  This is an item that is relevant to this task.  

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





      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 USER (#2)
                                  COMPLETED BY (#7)
                                  CANCELED BY (#9)

PATIENT (#2)                      PATIENT (#3)


File #102.3

  Record Indexes:

  DUE (#343)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Retrieve tasks that have not been completed
        Set Logic:  S ^ORRT(102.3,"DUE",X(1),DA)=""
         Set Cond:  S X=$S(X(2):0,X(3):0,1:1)
       Kill Logic:  K ^ORRT(102.3,"DUE",X(1),DA)
        Kill Cond:  S X=$S(X(2):0,X(3):0,1:1)
       Whole Kill:  K ^ORRT(102.3,"DUE")
             X(1):  PATIENT  (102.3,3)  (Subscr 1)  (forwards)
             X(2):  COMPLETED  (102.3,6)  (forwards)
             X(3):  CANCELED  (102.3,8)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):