Stream: implementers
Topic: AuditEvent Patient Information
Larry Richardson (Sep 17 2018 at 14:51):
On an AuditEvent, where would the Patient information be ? I am thinking it is an additional Entity . Anyone with an example would be great.
Lloyd McKenzie (Sep 17 2018 at 14:56):
@John Moehrke That seems like a reasonable thing to have clarified in the spec...
John Moehrke (Sep 17 2018 at 14:59):
It is expressed in the patient query parameter. The Patient might be the .agent thing acting, or it might be the ENTITY which is being acted upon. Thus the only way to know if the audit event is related to a Patient is to look in both to be sure. Hence why the patient parameter is defined the way it is.
John Moehrke (Sep 17 2018 at 14:59):
How more can this be explained?
John Moehrke (Sep 17 2018 at 15:00):
hence why the patient parameter has the expression AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)
Larry Richardson (Sep 17 2018 at 15:01):
ok, thanks. That's a start for me.
John Moehrke (Sep 17 2018 at 15:07):
Note that is not sufficient. As you see with some of the examples, an AuditEvent is often created by software that is unaware of the second level indirections. So for example the example for vread simply records what it can know, that the vread was done by a specific user of a specific resource. So you see no indication of the patient for that resource. http://build.fhir.org/audit-event-example-vread.html
John Moehrke (Sep 17 2018 at 15:08):
a local Implementation Guide might add an additional criteria that the Patient resource must be discovered by the auditEvent recording software so that an .entity can be recorded with that Patient reference. -- Such as what IHE does with many of their profiles such as XDS.
Larry Richardson (Sep 17 2018 at 15:09):
This is exactly what I am doing. I am writing the audit events out right now.
John Moehrke (Sep 17 2018 at 15:10):
I am actually surprised that the EHRS LE implementation guide didn't do that. It appears to have only made all elements required to be supported.
Last updated: Apr 12 2022 at 19:14 UTC