STANDARD DATA DICTIONARY #19.081 -- AUDIT LOG FOR OPTIONS FILE                                                    3/24/25    PAGE 1
STORED IN ^XUSEC(19,  (15 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 8.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The Kernel Site Parameters File establishes when and how a log of option usage will be recorded in this file.  For the indicated
time period, all specified options, namespaces, and users will be audited.  Each time an audit is put into effect, it is
recommended that the number of audited entities be at a minimum so that disk space is not inadvertently wasted.  This file is
cross-referenced by option.  


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

   APPLICATION GROUP(S): XU, XQ

CROSS
REFERENCED BY: OPTION(B)



19.081,.001   DATE/TIME                  DATE

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 15, 1987 
              DESCRIPTION:      Entries in this file are uniquely identified by the precise time when the option was accessed.  An
                                entry will be made as specified in the Kernel Site Parameters File.  Once the date set in the
                                'Initiate Audit' Field has been reached, this file will be used to maintain a log according to the
                                'Option Audit' flag.  


19.081,.01    OPTION                 0;1 POINTER TO OPTION FILE (#19) (Required)

              DESCRIPTION:
                                This field indicates the name of the option being audited.  

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


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

              LAST EDITED:      JUN 18, 1991 
              DESCRIPTION:
                                This field indicates the name of the user who has accessed the option.  


19.081,2      DEVICE                 0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              HELP-PROMPT:      ANSWER MUST BE 1-15 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field indicates the device used while the option was accessed.  


19.081,3      JOB                    0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
              HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 1 AND 99999999 
              DESCRIPTION:
                                This field records the job number associated with the option access.  


19.081,4      DATE/TIME OF EXIT FROM OPTION 0;5 DATE

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              DESCRIPTION:
                                This field marks the time when the user exited from the option.  


19.081,5      CPU                    0;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>16!($L(X)<1) X
              HELP-PROMPT:      ANSWER MUST BE 1-16 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field records the CPU location of the option access.  


19.081,6      MESSAGE NUMBER         1;1 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>100000000)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUN 22, 1989 
              HELP-PROMPT:      Type a Number between 0 and 100000000, 0 Decimal Digits 
              DESCRIPTION:      For a Server-type option this field will contain the message number in the Message File that
                                activated (or tried to activate) the server option.  This message is called the 'server request.' 


19.081,7      SENDER                 1;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      JUN 22, 1989 
              HELP-PROMPT:      ANSWER MUST BE 1-30 CHARACTERS IN LENGTH 
              DESCRIPTION:      For a Server-type option this field will contain the return address of the person who initiated the
                                server request, that is, the name of the person who sent the message that activated (or tried to 
                                activate) the option.  


19.081,8      SUBJECT                2;E1,65 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>65!($L(X)<3) X
              LAST EDITED:      JAN 22, 1990 
              HELP-PROMPT:      Answer must be 3-65 characters in length. 
              DESCRIPTION:      For a Server-type option this field will contain the subject of the MailMan message that activated
                                (or tried to activate) the option.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


19.081,9      ACTION                 3;E1,245 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
              LAST EDITED:      JAN 19, 1990 
              HELP-PROMPT:      Answer must be 1-245 characters in length. 
              DESCRIPTION:      For a Server-type option this field will contain the resulting action of a server request.  In the
                                event of an error, the error will be trapped by the server software and entered into this field.  



      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 USER (#1)

OPTION (#19)                      OPTION (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
CAPTIONED                                         USER #0    
XUOPTDISPH                    JUL 01, 1987        USER #0                                                                         @
XUOPTDISPLAY                  JUL 01, 1987        USER #0                                                              [XUOPTDISPH]
XUOPTLOGH                     JUL 01, 1987        USER #0                                                                         @
XUOPTLOGP                     JUL 01, 1987        USER #0                                                               [XUOPTLOGH]
XUSERVER DISPLAY              JAN 22, 1990@10:43  USER #0                                                         [XUSERVER HEADER]
XUSERVER HEADER               DEC 05, 1990@13:13  USER #0                                                                         @
XUUSEROPTH                    JUL 01, 1987        USER #0                                                                         @
XUUSEROPTP                    JUL 01, 1987        USER #0                                                              [XUUSEROPTH]

SORT TEMPLATE(S):
SR BLOOD PRODUCT VERIFICATION MAY 20, 1998@08:41  USER #0    
SORT BY: ]DATE/TIME//    (User is asked range)
  WITHIN DATE/TIME, SORT BY: OPTION["SR BLOOD PRODUCT VERIFICATION";L1// (OPTION[""SR BLOOD PRODUCT VERIFICATION"")
     Used to audit the Surgery package option [SR BLOOD PRODUCT VERIFICATION].
     This sort template is a clone of the KERNEL sort template, XUOPTLOGS.
     However, it is setup to run for the above Surgery option only.

XUOPTDISPS                    JUL 01, 1987        USER #0    
SORT BY: OPTION//    (User is asked range)
  WITHIN OPTION, SORT BY: DATE/TIME//    (User is asked range)

XUOPTLOGS                     APR 15, 2010@09:40  USER #0    
SORT BY: ]DATE/TIME//    (User is asked range)
  WITHIN DATE/TIME, SORT BY: OPTION://
  OPTION FIELD: NAME//    (User is asked range)

XUSERVER SORT                 JAN 22, 1990@11:10  USER #0    
SORT BY: MESSAG'="";L1// (MESSAG'="""")
  WITHIN MESSAG'="", SORT BY: DATE/TIME// (DATE/TIME not null)

XUUSEROPTS                    DEC 13, 1996@16:06  USER #0    
SORT BY: USER// (USER from A)
  WITHIN USER, SORT BY: OPTION// (OPTION from A)


FORM(S)/BLOCK(S):