Stream: implementers
Topic: FHIR HAPI scheduled Server-Tasks
Sergej Reiser (Mar 27 2020 at 14:24):
Testing FHIR HAPI i was wondering if there is any kind of built in mechanism to register and perform scheduled Server-Tasks. Let's say i wanted to delete certain resources, as soon as they reach their expiration date which is defined by a custom extension.
I found this discussion which seems to indicate that the EventDefinition resource is capable of holding TriggerDefinitions and even JavaScript code expressions.
I am not sure if the execution of a TriggerDefinition is built into HAPI, or if it is up to the implementers to write custom code.
Usually i am able to find examples on the baseR4 test server, but unfortunately there are no EventDefinitions.
Last updated: Apr 12 2022 at 19:14 UTC