Stream: shorthand
Topic: slicing issue
Jabeen Mohammed (Sep 18 2020 at 14:49):
when slicing element (identifier) on any resource result in duplicate elements when IG is published.
see attached fsh files and output profile duplicate-element-in-identifier-slice.PNG FishPatient.fsh
Chris Moesel (Sep 18 2020 at 15:20):
Interesting... If you look at the actual JSON StructureDefinition that SUSHI produces, is it somehow duplicating elements? I'm trying to determine if there is a bug in SUSHI or if the bug is in the IG Publisher snapshot generation or page generation.
Jabeen Mohammed (Sep 18 2020 at 21:13):
Chris Moesel said:
Interesting... If you look at the actual JSON StructureDefinition that SUSHI produces, is it somehow duplicating elements? I'm trying to determine if there is a bug in SUSHI or if the bug is in the IG Publisher snapshot generation or page generation.
I don't see issue in JSON StructureDefinition. my wild guess is IG Publisher, but i check if i see same issue with Trifolia. attached [StructureDefinition-veterinarian.json] (/user_uploads/10155/WV48XI7gSkEoPprQ0nfDk_Ay/StructureDefinition-veterinarian.json)
Jabeen Mohammed (Sep 19 2020 at 15:59):
@Chris Moesel I figured it out the issue is not IG rather how & what you define in ^slicing.discriminator
Last updated: Apr 12 2022 at 19:14 UTC