FHIR Chat · Data Type choices · conformance

Stream: conformance

Topic: Data Type choices


view this post on Zulip Richard Kavanagh (Apr 01 2016 at 17:28):

With a StructureDefinition when using ElementDefinition as far as I can see it is currently legal to give an element a choice of data type which may not make sense, e.g.

- Structural data type (Element or BackboneElement) and another say string. Is it the intention that these data types can be mixed?
- A choice of "Element" or "BackboneElement" - should this be allowed?

view this post on Zulip Grahame Grieve (Apr 02 2016 at 04:45):

neither should be allowed. you're correct that we don't have any invariants to preven that. but it would be illegal

view this post on Zulip Lloyd McKenzie (Apr 02 2016 at 05:20):

Richard, can you submit a change request to add an invariant?

view this post on Zulip Richard Kavanagh (Apr 02 2016 at 08:30):

Done #9785


Last updated: Apr 12 2022 at 19:14 UTC