FHIR Chat · Binding on type extension · conformance

Stream: conformance

Topic: Binding on type extension


view this post on Zulip Grahame Grieve (Dec 11 2017 at 20:56):

see GF#13553 - eld-11 allows for a binding to appear when the element type is "Extension" - what's the point of this? There's contention that Forge users are doing this - what are they doing? it doesn't appear to be supported by the validators (certainly not by the Java one).

view this post on Zulip Grahame Grieve (Dec 11 2017 at 20:56):

FHIR-I proposes to remove this, unless we can clarify why it's allowed

view this post on Zulip Grahame Grieve (Dec 11 2017 at 20:57):

(note: this would be a breaking change to a FMM5 artifact)

view this post on Zulip Chris Grenz (Dec 11 2017 at 21:19):

No idea what that would even do?

view this post on Zulip Grahame Grieve (Dec 11 2017 at 22:11):

well, that's why we propose removing it as an option

view this post on Zulip Michel Rutten (Dec 12 2017 at 11:06):

If the behavior is unclear or undefined, then yes, let's remove it.

view this post on Zulip Michel Rutten (Dec 12 2017 at 11:09):

If desired, I could update Forge to disable/hide binding controls for extension elements by default, except when opening a profile that contains such a binding, so the user can see and edit/remove the binding constraints.

view this post on Zulip Marten Smits (Dec 13 2017 at 10:12):

If desired, I could update Forge to disable/hide binding controls for extension elements by default, except when opening a profile that contains such a binding, so the user can see and edit/remove the binding constraints.

Great idea! Maybe even warn the user if there is an existing binding on an extension, if that's not too much work.

view this post on Zulip Michel Rutten (Dec 13 2017 at 10:23):

Currently, FHIR (STU3) spec allows bindings on extensions, according to to eld-11. So currently Forge also accepts it.
If FHIR R4 introduces new/updated invariants, then we can also update Forge.

view this post on Zulip Grahame Grieve (Dec 13 2017 at 10:25):

but you don't have an actual use for it?

view this post on Zulip Michel Rutten (Dec 13 2017 at 10:42):

I don't author profiles, I just develop a profiling tool.
Maybe we can scan Simplifier db for existing profiles with bindings on extension elements?

view this post on Zulip Grahame Grieve (Dec 13 2017 at 10:46):

that'd be nice, yes

view this post on Zulip Ewout Kramer (Dec 13 2017 at 11:55):

Yes, our authors (at least @Ardon Toonstra ) use it, that's why I discovered it could be done in the first place (and why the .NET validator does support it).

view this post on Zulip Ewout Kramer (Dec 13 2017 at 11:56):

When I discovered it, I asked @Lloyd McKenzie - I think he told me it was indeed a feature, not a mistake, so I implemented it.

view this post on Zulip Ewout Kramer (Dec 13 2017 at 11:56):

So, in the .NET validator it only works on simple extensions with a bindeable type.

view this post on Zulip Marten Smits (Dec 13 2017 at 13:09):

Yes, we have used it in the past to define a binding on extension.value (before Forge could do that explicitly). Now we just put it on the value instead of the extension.

view this post on Zulip Lloyd McKenzie (Dec 13 2017 at 16:03):

I'm fine with it going away

view this post on Zulip Ewout Kramer (Dec 18 2017 at 14:44):

Well, I added the support for your convenience, so if we change R4 to reflect that, that's fine by me. Don't know whether we need to explicitly disable support in the validator though...


Last updated: Apr 12 2022 at 19:14 UTC