FHIR Chat · When do I need to slice? · IG creation

Stream: IG creation

Topic: When do I need to slice?


view this post on Zulip Brian Reinhold (Nov 22 2018 at 12:43):

A Coding element is 0... If my profile requires a certain entry in this element AND I want to allow users of the profile to include additional entries (the same concept expressed in a different coding system) do I need to slice? OR can I just specify my entry and let the base standard 0.. automatically state to end users that further translations are okay? If I wanted to restrict that for some reason I would put a <max value="1"/> in the coding element.

I am slicing now to allow this and may be doing a lot of work for nothing.

view this post on Zulip Lloyd McKenzie (Nov 22 2018 at 15:05):

Just declare a pattern for the CodeableConcept. No need to slice the codings. And it's bad practice to limit the number of codings to one as that limits interoperability


Last updated: Apr 12 2022 at 19:14 UTC