STANDARD DATA DICTIONARY #704.119 -- OBS_AUDIT FILE                                                               3/24/25    PAGE 1
STORED IN ^MDC(704.119,  *** 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 the chains of observation audits for Clinical Flowsheets observations.  An audit is defined here as a change in
an observation's status, state, or condition.  


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

PRIMARY KEY:        A (#112)
  Uniqueness Index: PK (#962)
       File, Field: 1) AUDIT_ID (704.119,.01)


INDEXED BY:    AUDIT_OBSERVATION & AUDIT_DATE_TIME (ALOG), REPLACEMENT_OBSERVATION & AUDIT_OBSERVATION (APREV), AUDIT_ID (PK)




704.119,.01   AUDIT_ID               0;1 FREE TEXT (Required) (Key field)

              INPUT TRANSFORM:  K:$L(X)>38!($L(X)<38)!'(X?1"{"8UN1"-"4UN1"-"4UN1"-"4UN1"-"12UN1"}") X
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with the system generated GUID for this audit. 
              DESCRIPTION:      This value is the Global Unique IDentifier (GUID) for this entry. This value is maintained
                                nationally and is the same throughout the enterprise.  
                                  A sample AUDIT ID could be "{2E0C516D-3858-4A1F-A2F3-BF0AB9E3A7FC}".  

              FIELD INDEX:      PK (#962)    REGULAR    IR    LOOKUP & SORTING
                   Unique for:  Key A (#112), File #704.119
                  Short Descr:  Uniqueness Index for Key 'A' of File #704.119
                  Description:  This will provide a quick sort of all observation audits.  
                    Set Logic:  S ^MDC(704.119,"PK",$E(X,1,38),DA)=""
                   Kill Logic:  K ^MDC(704.119,"PK",$E(X,1,38),DA)
                   Whole Kill:  K ^MDC(704.119,"PK")
                         X(1):  AUDIT_ID  (704.119,.01)  (Subscr 1)  (Len 38)


704.119,.02   AUDIT_TYPE             0;2 SET (Required)

                                '0' FOR Record Status Update; 
                                '1' FOR Record Verified; 
                                '2' FOR Record Marked For Purging; 
                                '3' FOR Record Marked For Archiving; 
                                '4' FOR Record Corrected; 
                                '5' FOR Record Rescinded; 
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Select the type of audit for this file entry. 
              DESCRIPTION:
                                This indicates the type of audit; the reason for the audit.  


704.119,.03   AUDIT_OBSERVATION      0;3 POINTER TO OBS FILE (#704.117) (Required)

              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with an identifier for the observation audited.  
              DESCRIPTION:
                                This identifies the observation that has been audited via this entry. 

              RECORD INDEXES:   ALOG (#960), APREV (#961)

704.119,.04   AUDIT_DATE_TIME        0;4 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 the audit. 
              DESCRIPTION:
                                This is the date/time this audit occurred.  

              RECORD INDEXES:   ALOG (#960)

704.119,.05   AUDIT_AUTHOR           0;5 POINTER TO NEW PERSON FILE (#200) (Required)

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


704.119,.06   STATUS_ORIGINAL        0;6 SET

                                '0' FOR Unverified; 
                                '1' FOR Verified; 
                                '2' FOR Archived; 
                                '3' FOR Purged; 
                                '4' FOR Corrected; 
                                '5' FOR Rescinded; 
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with the condition of the audited observation (#.03) before this audit was created. 
              DESCRIPTION:      This indicates the status/condition of the observation(#.03) before this audit entry (#.01) was
                                created.  


704.119,.07   STATUS_NEW             0;7 SET

                                '0' FOR Unverified; 
                                '1' FOR Verified; 
                                '2' FOR Archived; 
                                '3' FOR Purged; 
                                '4' FOR Corrected; 
                                '5' FOR Rescinded; 
              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with the condition of the audited observation (#.03) after this audit was created.  
              DESCRIPTION:      This indicates the status/condition of the observation(#.03) after this audit entry (#.01) was
                                created.  


704.119,.08   REPLACEMENT_OBSERVATION 0;8 POINTER TO OBS FILE (#704.117)

              LAST EDITED:      APR 23, 2009 
              HELP-PROMPT:      Answer with an identifier for the observation that was replaced. 
              DESCRIPTION:
                                This identifies the observation that was replaced by a new observation via this audit.  

              RECORD INDEXES:   APREV (#961)

704.119,.1    COMMENT                .1;1 FREE TEXT

              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 a COMMENT provided by the person as documentation per this observation audit (#.01).  A
                                sample COMMENT could be "Verified with Clinical Flowsheets".  



      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 AUDIT_AUTHOR (#.05)

OBS (#704.117)                    AUDIT_OBSERVATION (#.03)
                                  REPLACEMENT_OBSERVATION (#.08)


File #704.119

  Record Indexes:

  ALOG (#960)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  Indexes all audits for an observation by date/time
      Description:  This will allow a quick chronological sort of observation audits. 
        Set Logic:  S ^MDC(704.119,"ALOG",$E(X(1),1,38),$E(X(2),1,20),DA)=""
       Kill Logic:  K ^MDC(704.119,"ALOG",$E(X(1),1,38),$E(X(2),1,20),DA)
       Whole Kill:  K ^MDC(704.119,"ALOG")
             X(1):  AUDIT_OBSERVATION  (704.119,.03)  (Subscr 1)  (Len 38)  (forwards)
             X(2):  AUDIT_DATE_TIME  (704.119,.04)  (Subscr 2)  (Len 20)  (forwards)

  APREV (#961)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  Flags the previous observation that was replaced by this one
      Description:  This will provide a quick sort of audited observations and the relative observations.  
        Set Logic:  S ^MDC(704.119,"APREV",$E(X(1),1,38),$E(X(2),1,38),DA)=""
       Kill Logic:  K ^MDC(704.119,"APREV",$E(X(1),1,38),$E(X(2),1,38),DA)
       Whole Kill:  K ^MDC(704.119,"APREV")
             X(1):  REPLACEMENT_OBSERVATION  (704.119,.08)  (Subscr 1)  (Len 38)  (forwards)
             X(2):  AUDIT_OBSERVATION  (704.119,.03)  (Subscr 2)  (Len 38)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):