Stream: conformance
Topic: Forge 19.1 STU3 - after slicing, can't see nested children
Michael Calderero (Jul 25 2018 at 19:18):
Hi,
I am using Forge 19.1 STU3 - DevDays Boston 2018 Edition.
I make a simple profile based on DeviceComponent. I expand DeviceComponent.productionSpecification and can see its children, as well as the children of (e.g. specType).
02_unsliced_productionSpecification.png
I then add a slice for DeviceComponent.productionSpecification with discriminator for specType.coding.code. So far so good.
I then add a slice for it. The trouble I now have is that while I can see the immediate children properties of DeviceComponent.productionSpecification, I now cannot see the nested children (e.g. specType.coding.code).
Is this how it's supposed to work, or I'm doing something wrong? For reference, here's a screenshot of my Forge settings.
Best Regards,
Michel Rutten (Jul 26 2018 at 08:24):
Hi Michael, that doesn't seem right. Forge _should_ always expand elements with a complex datatype. Have you tried saving and reloading the profile? That forces a full (re-)expansion of all elements.
I can reproduce the issue locally. Reloading the profile seems to fix the issue and perform a full expansion. I'll try and fix the issue, so Forge immediately expands new slices when the user creates them.
Thank you for reporting this issue!
Michael Calderero (Jul 26 2018 at 11:56):
Thanks @Michel Rutten . Yes saving the profile then reloading it again does fix the issue. I'll use this workaround.
Michel Rutten (Jul 26 2018 at 12:57):
Hi Michael, thank you for confirming the workaround. I've already managed to fix this issue in the internal Forge development branch. The fix will be included in the next release.
Last updated: Apr 12 2022 at 19:14 UTC