Stream: implementers
Topic: REST delete payload
Mattias Flodin (Jun 20 2017 at 10:52):
The REST API section on the delete interaction (http://www.hl7.org/fhir/http.html#delete) talks about returning 200 OK if the response contains a payload, and 204 No Content if there is no payload. What kind of payload is expected to be returned from a delete interaction?
Grahame Grieve (Jun 20 2017 at 11:28):
an OperationOutcome
Mattias Flodin (Jun 20 2017 at 11:32):
OK, thanks
nicola (RIO/SS) (Jun 20 2017 at 17:40):
We return deleted resource - most of API do this
Grahame Grieve (Jun 20 2017 at 21:21):
what's the deleted resource?
Jim Steel (Jun 22 2017 at 04:11):
we return nothing
Karimulla (Jul 18 2017 at 07:28):
what's the deleted resource?
Can we delete multiple resources at single Call?
Mirjam Baltus (Jul 18 2017 at 07:44):
Yes, you can. If the server has implemented it, you could take a look at conditional delete: http://www.hl7.org/fhir/http.html#2.21.0.13.1. Or you could create a transaction/batch Bundle with all your delete requests in it and send that to the server.
Karimulla (Jul 18 2017 at 11:01):
Thank you @ Mirjam Baltus,
I will try using above link
Last updated: Apr 12 2022 at 19:14 UTC