The external service will provide an interface to log all this data via HTTP requests, and a GUI for audit, reporting, etc. Managers in the EHRServer will be able to login to the EHRLogServer with their EHRServer credentials (if the EHRServer instance is logging into that EHRLogServer instance).
Send logs to external service in an async way to avoid adding execution time to each request and fill the local database with logs.
We need to log full requests without private data, and responses (success or errors).
Check the https://github.com/burtbeckwith/grails-httplogger
The external service will provide an interface to log all this data via HTTP requests, and a GUI for audit, reporting, etc. Managers in the EHRServer will be able to login to the EHRLogServer with their EHRServer credentials (if the EHRServer instance is logging into that EHRLogServer instance).