Stream: subscriptions
Topic: Errors with criteria
Jenni Syed (Jan 13 2019 at 19:38):
Here's the section of the spec that mentions how servers should handle the errors: http://hl7.org/fhir/r4/subscription.html#errors
"When the server receives a subscription, it SHOULD check that it is prepared to accept/process the subscription. If it is, it sets the subscription to active, and then process it like a normal create. If it isn't, it SHOULD return an error with an OperationOutcome instead of processing the create."
Jenni Syed (Jan 13 2019 at 19:39):
The way I would interpret that, is that it's ok to respond with a 4xx instead of creating the subscription (and an operation outcome).
Grahame Grieve (Jan 13 2019 at 21:11):
yes
Last updated: Apr 12 2022 at 19:14 UTC