mstark6428
03/29/2023, 6:24 PMSubscription.criteria, I would say no because it just checks the resourceType. Also in a bot example it has this check: https://github.com/medplum/medplum-demo-bots/blob/main/src/examples/sample-account-setup.ts#L23-L28
It would be great to have this functionality so that a lambda isn't triggered every time a resource is updated when the bot only cares about it on creation.
Update:
I found in an older message that the answer is no due to the fhir spec: https://www.hl7.org/fhir/subscription.html
Please let me know if there have been any changes since.rahul1
03/29/2023, 6:32 PMmstark6428
03/29/2023, 6:33 PMrahul1
03/29/2023, 6:33 PMmstark6428
03/29/2023, 6:34 PM