Stream: implementers
Topic: Subscription Criteria
Rob Dingwell (Dec 04 2020 at 15:11):
I'm reviewing an IG that uses R4 subscriptions and within the IG it is specified that the subscriptions must take the form [ResourceType]?all
I do not know where the ?all comes from, does anyone know if this defined anywhere for subscriptions? It seems incorrect, the R4 subscription resource states the following for Subscription.criteria:
The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading "/".
So if criteria is defined as search criteria then they should take to form of [ResourceType]?parameter(s) , where parameter(s) are name=value pairs separated by &, correct? To receive notifications for all events related to a particular resource type shouldn't the Subscription.criteria just be [ResourceType] ?
René Spronk (Dec 04 2020 at 15:28):
In R4, the 'topic' one subscribes to takes the form of a 'FHIR search string'. ?all is not a legal search parameter syntax.
Rob Dingwell (Dec 04 2020 at 15:55):
That was my thought as well, just wanted to make sure I wasn't missing something defined somewhere else for Subscriptions
Last updated: Apr 12 2022 at 19:14 UTC