You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PHI access events only exist when a client reports them #589
The "Accessed PHI" and "Queried PHI" events (CURES PHI logging) are written only when a client posts them to /channels/_auditAccessedPHIMessage and /channels/_auditQueriedPHIMessage. The Swing Administrator does this in MessageBrowser for channels with a PATIENT_ID metadata column, and the web Administrator's message view calls the same endpoints. Anything else that reads messages through the API writes neither.
Measured on main (Derby), on a channel with a PATIENT_ID column, as admin over REST:
GET /channels/{id}/messages/{messageId}: one event, "Get message content" (channel and message id). No "Accessed PHI".
GET /channels/{id}/messages, and POST /channels/{id}/messages/_search by PATIENT_ID: one event each, "Get messages by page limit" (with the filter). No "Queried PHI".
Posting what the Swing Administrator posts when a message is opened: "Accessed PHI" with patientId, channel and messageId.
The server has everything the clients send while it serves the request: the channel and message id from the request, the patient ID from the message's own PATIENT_ID column, and the search filter. It could write these events itself when it serves a message or a search on a channel with a PATIENT_ID column. Then every reader is covered and the clients stop duplicating the logic.
Export is the exception. For a local export the files are written on the workstation, so _auditExportMessages and _auditExportMessagesSuccess (root path, file pattern, count) can only come from the client.
These four operations were left without a permission in #588 for this reason.
Activity