The patient UUID
In the Heap UI, go to
Events and in the list of custom events, select
Viewed Patient X.
In the event definition section, scroll down to the
Edit Event Criteria section, update the
patientId filter with the patient ID and click on "UPDATE EVENT".
Reports/Auditing section, select the
Users who have viewed patient X in last three months report.
In the report page that opens up, click on "RUN QUERY" to generate the report and get all the User IDs that have viewed a particular patient.
The user UUID
In the Heap UI, go to the
Reports/Auditing section, and select the
All patients viewed by user Y in 3 months report.
In the report detail page, update the
userId filter with the UUID of the user to search for and click on "RUN QUERY".
Click on the "SHOW RAW EVENTS" button to view the detailed list of events.
In the list of raw events that shows up, look for the event
ViewedPatient. Clicking on it will show detailed properties of that particular event. It should contain a property
patientId which indicates the patient whose details this user looked at. Looking over all the events (Don't forget to click on "Show More" to load pages of raw events), the patient IDs viewed by this user can be extracted.