FHIR Chat · Updating a value to an empty string · implementers

Stream: implementers

Topic: Updating a value to an empty string


view this post on Zulip Kevin Olbrich (Oct 05 2018 at 15:27):

What is the right way to clear an attribute on a resource? Say you want to clear a narrative on a Patient. You can't do a PUT with an empty text property because the spec says that string property values can never be empty.

view this post on Zulip Lloyd McKenzie (Oct 05 2018 at 15:47):

You remove the element entirely.

view this post on Zulip Kevin Olbrich (Oct 05 2018 at 16:24):

How would I do that?

view this post on Zulip Michele Mottini (Oct 05 2018 at 16:24):

PUT a Patient resource without the text element

view this post on Zulip Kevin Olbrich (Oct 05 2018 at 16:41):

Sorry, I got this conflated with the PATCH use case.


Last updated: Apr 12 2022 at 19:14 UTC