Our SMART on FHIR application needs to send UI related data back to our FHIR server. For example, if a user makes an item selection, button click, or does some type of action on the UI, we would like a way to report this information back to the FHIR server for logging. Is there a resource or other FHIR solution that would be best to relay this information?
I have looked into using:
The OperationOutcome resource
- From the FHIR spec, this resource is primarily to be used for outcomes of system operations, and not necessarily the use case above.
Messaging using FHIR resources (https://www.hl7.org/fhir/messaging.html)
- The documentation here says that a request message would be sent to a destination application where an event happens. In our use case, the “event” would be logging/data retention on info inside the message.
Are either of these solutions appropriate? Or, is there another way to accomplish this that is more FHIR compliant.
Thanks in advance!