FHIR Chat · conditional update · hapi

Stream: hapi

Topic: conditional update


view this post on Zulip Eric van der Zwan (Jan 18 2021 at 13:40):

I'm trying to build a conditional update. In the FHIR documents it states " PUT [base]/[type]?[search parameters]". But when using HAPI with a put the outcome states "Can not update resource, request URL must contain an ID element for update (PUT) operation (it must be of the form [base]/[resource type]/[id])"
Why is an id mandatory, if the conditional should work with a search parameter? Or may i doing something wrong?

view this post on Zulip René Spronk (Jan 18 2021 at 14:38):

Have you checked the conformance statement of the HAPI server in question to see if it supports conditional updates?

view this post on Zulip Eric van der Zwan (Jan 19 2021 at 14:59):

thx. i checked and i hadn't implemented it yet.


Last updated: Apr 12 2022 at 19:14 UTC