FHIR Chat · REST delete payload · implementers

Stream: implementers

Topic: REST delete payload


view this post on Zulip 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?

view this post on Zulip Grahame Grieve (Jun 20 2017 at 11:28):

an OperationOutcome

view this post on Zulip Mattias Flodin (Jun 20 2017 at 11:32):

OK, thanks

view this post on Zulip nicola (RIO/SS) (Jun 20 2017 at 17:40):

We return deleted resource - most of API do this

view this post on Zulip Grahame Grieve (Jun 20 2017 at 21:21):

what's the deleted resource?

view this post on Zulip Jim Steel (Jun 22 2017 at 04:11):

we return nothing

view this post on Zulip Karimulla (Jul 18 2017 at 07:28):

what's the deleted resource?

Can we delete multiple resources at single Call?

view this post on Zulip 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.

view this post on Zulip 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