FHIR Chat · Extensions on a value of an Extension? · implementers

Stream: implementers

Topic: Extensions on a value of an Extension?


view this post on Zulip Paul Lynch (Dec 09 2020 at 00:23):

The page on extensions says, "An extension SHALL have either a value (i.e. a value[x] element) or sub-extensions, but not both." However, the value[x] will be some type, and even primitive types like string in general may contain extensions. So, is there anything preventing the extension's value (not the extension itself) from containing extensions?

I am not wanting to do that; I am just trying to understand if that is something one must be prepared for.

view this post on Zulip Jean Duteau (Dec 09 2020 at 00:24):

I don't think there is anything preventing that. I look at some of the datatype extensions and I could see using those on primitive types even if they are used in an extension.

view this post on Zulip Lloyd McKenzie (Dec 09 2020 at 01:35):

Extensions inside the Extension.value are totally fine.


Last updated: Apr 12 2022 at 19:14 UTC