Hi everyone, I'm facing this very *strange * issue with subscriptions firing twice. I haven't seen any open issues or documentation on subscriptions firing twice, but essentially the flow goes like this:
I have 1 Subscription with the Criteria Patient.
This Subscription has a Rest-Hook to my Medplum Bot which will forward the FHIR resource.
If I edit the Test Patient, and update any of the Demographics, I see a Subscription Event fires appropriately and triggers the Bot's Execution. Then a minute later another Subscription is triggered for that **Patient **Resource, once again Triggering the Bot Execution, causing a Duplicate Instance of the Patient Resource to be Forwarded.
Has anyone faced a similar issue for their workflows, or is there something I'm missing? My Bot's programmatic logic is in no-way altering the FHIR resources, it is a simple Resource Forwarder.