Stream: IG creation
Topic: Rendering structure definitions
Brian Reinhold (Sep 13 2018 at 19:29):
The rendered structure definitions of my slices don't look correct.
My slicing is as follows:
<element id="Device.property">
<path value="Device.property" />
<slicing>
<discriminator>
<type value="value" />
<path value="type.coding.code" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="Device.property:timeCapabilitiesProperty">
<path value="Device.property" />
<sliceName value="timeCapabilitiesProperty" />
<short value="Time capabilities" />
<definition value="For each bit setting reported in the Mds-Time-Info.mds-time-caps-state field, a timeCapabilitiesProperty element is used." />
<comment value="The mds-time-caps-state field is a 16-bit ASN1 BITs value where each bit means something. " />
</element>
and I continue to use "Device.property:timeCapabilitiesProperty.xxx" but in the rendering there is no indication for the fact that these items belong to the 'timeCapabilitieProperty' slice which makes for a confusing unreadable mess. In the 'dict' rendering SOME of the terms are listed that they are part of the 'timeCapabilitiesProperty' slice but others (that should be) are not. I would expect every element designated with the slice name would somehow be rendered indicating that they are part of that slice. This worked in Forge. What do I need to do here?
Lloyd McKenzie (Sep 13 2018 at 19:36):
Have you looked at other IGs rendered using the IGPublisher to see how they handle slicing rendering?
Last updated: Apr 12 2022 at 19:14 UTC