FHIR Chat · Duplicate element id error in a StructureDefinition? · IG creation

Stream: IG creation

Topic: Duplicate element id error in a StructureDefinition?


view this post on Zulip Bryn Rhodes (Dec 03 2020 at 03:31):

I'm getting Duplicate element id "X" errors on the snapshot for every element of a StructureDefinition (but this is only happening on 1 profile in the IG), which I don't understand because the element id's are duplicated across the differential and snapshot, by definition, right? I'm sure I'm doing something wrong, but I can't figure out what it is. Anyone seen this?

view this post on Zulip Bryn Rhodes (Dec 03 2020 at 03:42):

It is duplicating slice definitions, and I've verified that it's happening with the latest publisher and that the source differential only has 1. What I have is a case where I have a common nested slice name across slices. I'll try renaming the nested slices uniquely.

view this post on Zulip Bryn Rhodes (Dec 03 2020 at 03:48):

Scratch that, user error. Ignore me :)

view this post on Zulip Bryn Rhodes (Dec 03 2020 at 03:48):

The snapshot processor does strange things when you mix up slice names and id's :)


Last updated: Apr 12 2022 at 19:14 UTC