FHIR Chat · FSH extension for array property? · shorthand

Stream: shorthand

Topic: FSH extension for array property?


view this post on Zulip John Silva (Sep 30 2020 at 21:14):

How would one create an extension for a nested array property. For example, in PlanDefinition there is the action[] array and it allows any backbone element so it can contain another action[] array. How would one create an extension on the array[].array[].input[] property? Is this even possible?

view this post on Zulip Chris Moesel (Sep 30 2020 at 23:57):

Hi @John Silva -- if I understand correctly, I think you're looking for something like this?

view this post on Zulip Chris Moesel (Oct 01 2020 at 00:02):

Profile: MyPlanDefinition
Parent: PlanDefinition
* action.action.input.extension contains SomeExtension named some-extension 0..1

view this post on Zulip John Silva (Oct 01 2020 at 16:05):

Thanks Chris! We found out that we needed to upgrade to fsh-sushi 0.16.0 for that to work; we were still on an old 0.12.7 version.


Last updated: Apr 12 2022 at 19:14 UTC