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

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file maintains audits of scheduled event/tasks via the Clinical Flowsheets application.  


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


INDEXED BY:    ACTION_ID (FKA), EVENT_ID & AUDIT_DATE_TIME (FKE)




704.1212,.01  ACTION_ID              0;1 POINTER TO CP_KARDEX_ACTION FILE (#704.121) (Required)

              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with an identifier for the task to be audited.  
              DESCRIPTION:
                                This identifies the audited scheduled task.  

              FIELD INDEX:      FKA (#970)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  Foreign key for ACTION_ID
                  Description:  This will provide a quick index of actions that have been audited.  
                    Set Logic:  S ^MDC(704.1212,"FKA",$E(X,1,38),DA)=""
                   Kill Logic:  K ^MDC(704.1212,"FKA",$E(X,1,38),DA)
                   Whole Kill:  K ^MDC(704.1212,"FKA")
                         X(1):  ACTION_ID  (704.1212,.01)  (Subscr 1)  (Len 38)  (forwards)


704.1212,.02  EVENT_ID               0;2 POINTER TO CP_KARDEX_EVENTS FILE (#704.1211)

              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with an identifier for the event to be audited.  
              DESCRIPTION:
                                This identifies the audited event.  

              RECORD INDEXES:   FKE (#971)

704.1212,.03  AUDIT_DATE_TIME        0;3 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Enter the date/time of this audit. 
              DESCRIPTION:
                                This is the date/time that the audit record is created.  

              RECORD INDEXES:   FKE (#971)

704.1212,.04  AUDIT_BY_ID            0;4 POINTER TO NEW PERSON FILE (#200) (Required)

              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with an identifier for the person that created this audit. 
              DESCRIPTION:
                                This identifies the person (file #200) that created this audit.  


704.1212,.1   AUDIT_DESCRIPTION      .1;E1,250 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer must be 1-250 characters in length. 
              DESCRIPTION:      This is free-text automatically generated by the Clinical Flowsheets application when an audit is
                                created.  A sample could be AUDIT DESCRIPTION "Event placed in Hold Status".  


704.1212,.2   AUDIT_COMMENT          .2;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer must be 1-250 characters in length. 
              DESCRIPTION:      This is free-text generated by the user (#.04) when creating this audit.  A sample AUDIT COMMENT
                                could be "Provider action required a hold". 



      FILES POINTED TO                      FIELDS

CP_KARDEX_ACTION (#704.121)       ACTION_ID (#.01)

CP_KARDEX_EVENTS (#704.1211)      EVENT_ID (#.02)

NEW PERSON (#200)                 AUDIT_BY_ID (#.04)


File #704.1212

  Record Indexes:

  FKE (#971)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  Foreign key for EVENT_ID
      Description:  This will provide a quick index of events that have been audited.  
        Set Logic:  S ^MDC(704.1212,"FKE",$E(X(1),1,38),$E(X(2),1,30),DA)=""
       Kill Logic:  K ^MDC(704.1212,"FKE",$E(X(1),1,38),$E(X(2),1,30),DA)
       Whole Kill:  K ^MDC(704.1212,"FKE")
             X(1):  EVENT_ID  (704.1212,.02)  (Subscr 1)  (Len 38)  (forwards)
             X(2):  AUDIT_DATE_TIME  (704.1212,.03)  (Subscr 2)  (Len 30)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):