FHIR Chat · Slice Cardinality · implementers

Stream: implementers

Topic: Slice Cardinality


view this post on Zulip Richard Kavanagh (Feb 16 2017 at 11:22):

When publishing profiles, should the cardinality for the slice be shown (as per pic). I know Forge allows this to be set but nobody seems to "publish" it.
pasted image

view this post on Zulip Michel Rutten (Feb 16 2017 at 12:04):

@Richard FHIR allows you to put constraints on the cardinality of the whole slice. If you actually want/need to do this depends on the specific use case. For publication, I think you should show all concrete cardinality constraints. However if the slice cardinality hasn't been constrained, then the publication tool could omit the defaults.

view this post on Zulip Lloyd McKenzie (Feb 16 2017 at 14:45):

It should be exposed in light grey if inherited from the patient. Not sure why that's not happening. Submit a tracker issue (once the tracker is up . . . :()

view this post on Zulip Richard Kavanagh (Feb 17 2017 at 08:51):

OK will do. I think it should be shown in all cases if not how does the reader know what the cardinality is. If for example you slice an identifier that has a base definition 0..* and you want to stipulate a there must be a maximum of 3 all of which must abide by a number of slice definitions then the only place that that constraint could be place would be on the original element - isn't it?

view this post on Zulip Michel Rutten (Feb 17 2017 at 10:58):

Correct.


Last updated: Apr 12 2022 at 19:14 UTC