FHIR Chat · What does this error mean? · IG creation

Stream: IG creation

Topic: What does this error mean?


view this post on Zulip Brian Reinhold (Nov 21 2018 at 13:50):

@Lloyd McKenzie IG Publisher:
Error in discriminator at Observation.component:supplementalTypesComponent.code.coding: slicing found
Any idea what this is and how I can solve it? I have many of these on every resource.

view this post on Zulip Lloyd McKenzie (Nov 21 2018 at 17:42):

It sounds like an element that matches your discriminator itself is slicing - and that's not allowed.

view this post on Zulip Brian Reinhold (Nov 21 2018 at 17:46):

It sounds like an element that matches your discriminator itself is slicing - and that's not allowed.

Okay; here is what I am trying to do
I am slicing an Observation. component element. It is sliced on the value of the Observation.component.code.coding.code/system
However I wanted to allow additional coding systems to be used as long as they expressed the same concept

view this post on Zulip Lloyd McKenzie (Nov 21 2018 at 17:49):

So you should be slicing Observation.component by code using pattern. No need to slice the code.


Last updated: Apr 12 2022 at 19:14 UTC