SAFEHR-data / emap

Near real-time clinical database for research and innovation
2 stars 1 forks source link

Collate messages #52

Closed jeremyestein closed 1 month ago

jeremyestein commented 1 month ago

Fixes #47

Instead of sending Interchange messages (converted from HL7 messages) straight to the processing queue, store them in memory and wait for more to turn up so that they can be collated into one giant message, so that it can be stored efficiently in the database. Adjust the HL7 synthetic generator to make much smaller messages, as is seen in real life.

github-actions[bot] commented 1 month ago

PR checklist

Default guide for a PR (if multiple PRs for the work, only keep one version of it and link to it on the other PRs)