Stream: implementers
Topic: OperationDefinition & Audit params
Dave Barnet (Oct 09 2020 at 15:32):
Hopefully a quick question! I'm creating an OperationDefinition, but need several parameters for audit purposes. For example, querying for a patient on a given identifier, but auditing who made the request and when. So the only "real" query paramenter is the Patient.identifer, but I want to audit Device.identifier (or Parctitioner.identifier), and the dateTime of the request. Is there a Parameter.type I can use to identify the audit parameters?
Lloyd McKenzie (Oct 09 2020 at 16:40):
Typically those wouldn't be parameters passed into the operation. Instead, the user would authenticate themselves to your system and you'd determine who the user was from the token passed in the HTTP header. And the dataTime would be populated by 'current date/time' when you create your audit entry.
Last updated: Apr 12 2022 at 19:14 UTC