Currently we send event anesthetic.finalized to EMR immediately after anesthetic is finalized. But anesthetic report could not be uploaded till that moment. That leads to absent anesthetic report in EMR.
This bug was introduced in https://smartflowsheet.atlassian.net/browse/SMAR-573
FYI This bug was presented and earlier when anesthetic report was uploaded in offline mode.
We should reconsider this logic and send event only when all anesthetic data (including report) is available.