FHIR Chat · Is id required in bundle resources · implementers

Stream: implementers

Topic: Is id required in bundle resources


view this post on Zulip frank cao (Jan 03 2020 at 15:52):

Hello, when we use fhir validator to validate a bundle with resource without id, it fails because the id must be present even if the specific profile has id as optional. However, if we validate a standalone resource without id, it works. I suspect that this is because id should not be used in a create so validator let it pass. The bundle page doesn't mention anything about id. What I don't understand is "what if I use bundle to create multiple resources without ids, would validator fail it too?" Can somemone shed some light on this?

view this post on Zulip Lloyd McKenzie (Jan 03 2020 at 17:26):

What type of Bundle do you have?

view this post on Zulip frank cao (Jan 03 2020 at 18:23):

It's a searchset


Last updated: Apr 12 2022 at 19:14 UTC