Real Time Information Director User Documentation

RTID Security and Auditing
Hewlett-Packard Company 14 529618 - 002
Here is an example of the corresponding query. The person making the query has the
external ID ABC and is a doctor (if we assume that PCP stands for Primary Care
Physician). The role identifies ABC as a detective. He or she requests information
pertaining to CDE, who is also a doctor (PCP). The AUDITDOCTYPE of 1 signifies
audit was of inbound data, such as a record being inserted or updated in the data store.
(An audit of outbound data has an AUDITDOCTYPE of 2.)
<?xml version="1.0" encoding="ISO-8859-1" ?>
-
<AUDITDETAIL_R>
-
<HEADER>
<CONSUMER>CDE</CONSUMER>
<CONSUMERTYPECODE>PCP</CONSUMERTYPECODE>
<AGENT>ABC</AGENT>
<AGENTTYPECODE>PCP</AGENTTYPECODE>
<DATE>2004-02-12</DATE>
<ROLE>DETECTIVE</ROLE>
</HEADER>
-
<KEYS>
<AUDITID>1000</AUDITID>
<AUDITDOCTYPE>1</AUDITDOCTYPE>
</KEYS>
</AUDITDETAIL_R>
Here is the query response. It echoes the header from the query and indicates the
sequence number and length of the audit detail record.
<?xml version="1.0" encoding="ISO-8859-1" ?>
-
<AUDITDETAIL>
-
<HEADER>
<AGENT>ABC</AGENT>
<AGENTTYPECODE>PCP</AGENTTYPECODE>
<CONSUMER>CDE</CONSUMER>
<CONSUMERTYPECODE>PCP</CONSUMERTYPECODE>
<DATE>2004-02-12</DATE>
<ROLE>DETECTIVE</ROLE>
</HEADER>
-
<KEYS>
<AUDITID>1000</AUDITID>
<AUDITDOCTYPE>1</AUDITDOCTYPE>
-
<AUDITDETAIL>
<SEQUENCENUMBER>1</SEQUENCENUMBER>
<AUDITDATALENGTH>3280</AUDITDATALENGTH>
</AUDITDETAIL>
</KEYS>
</AUDITDETAIL>