FHIR Chat · elementDefinition.binding should enforce a target · conformance

Stream: conformance

Topic: elementDefinition.binding should enforce a target


view this post on Zulip Patrick Werner (Apr 18 2020 at 11:28):

ElementDefinition.binding.strenght is 1..1, binding.valueSet and description are 0..1.
This enables the creation of profiles or core resources (see: https://jira.hl7.org/browse/FHIR-26883) with a binding with no target.
Proposed resolution: invariant which checks if valueSet OR description is set. A binding with a strength, but no target is useless and should throw an error.

view this post on Zulip Lloyd McKenzie (Apr 18 2020 at 16:27):

Agree - and surprised that rule isn't already there. Can you submit a change request @Patrick Werner?

view this post on Zulip Grahame Grieve (Apr 18 2020 at 21:00):

only if strength >= extensible

view this post on Zulip Lloyd McKenzie (Apr 18 2020 at 22:01):

I would say a binding of any sort should have either a value set or description. What's the point of defining an 'example' binding and not providing either a description or value set?

view this post on Zulip Patrick Werner (Apr 19 2020 at 15:21):

GF#26892

view this post on Zulip Grahame Grieve (Apr 19 2020 at 20:33):

the task is ambiguous about whether this is about snapshot, or also about differential. I was specifically asked to make the code handle a differential that just has binding in a profile

view this post on Zulip Patrick Werner (Apr 20 2020 at 07:35):

You are right, added a comment for clarification


Last updated: Apr 12 2022 at 19:14 UTC