FHIR Chat · Missing invariant on Timing.repeat.count? · implementers

Stream: implementers

Topic: Missing invariant on Timing.repeat.count?


view this post on Zulip Michel Rutten (Mar 27 2018 at 16:53):

Looking at invariants for DataType Timing:
http://build.fhir.org/datatypes.html#Timing
The invariants tim-4 and tim-5 state that .period and .duration cannot be negative, however there is no such invariant for .count. Is Timing.repeat.count actually allowed to be negative, or should this be defined by the (missing) invariant tim-3?

view this post on Zulip Lloyd McKenzie (Mar 27 2018 at 17:00):

I think a prohibition on negative repetitions would be useful. Feel free to submit a change proposal :)

view this post on Zulip Michel Rutten (Mar 28 2018 at 07:52):

Done, GF#15839


Last updated: Apr 12 2022 at 19:14 UTC