FHIR Chat · invariants and extensions · implementers

Stream: implementers

Topic: invariants and extensions


view this post on Zulip Rob Hausam (Apr 30 2016 at 13:59):

I have some questions about invariants and extensions that I haven't seen specifically addressed (although I could have missed it). Can you define an invariant on an extension element that says that you may have either that extension element, or a particular core element, but not both simultaneously? Or, could the invariant be defined on the core element, but still reference the extension element (whether or not that extension is present)? Or is there a different way to do this? I'm assuming that there's likely some way that it can be done, but I would like to verify what would be the best approach.

view this post on Zulip Lloyd McKenzie (Apr 30 2016 at 14:29):

We do have some invariants that do things like that. There's a clear mechanism to support it using xpath. We're still thinking about how to do it using fluentpath


Last updated: Apr 12 2022 at 19:14 UTC