FHIR Chat · How to require .start on onsetAge? · IG creation

Stream: IG creation

Topic: How to require .start on onsetAge?


view this post on Zulip Sean McIlvenna (Aug 14 2018 at 22:20):

How do I express the following in a StructureDefinition?
onset[x] can be either Period or dateTime, but when onset[x] is Period, onsetPeriod.start is required
The only way I can think to do this, is to use slicing... But when I do this, the ig publisher gives me an error that I am attempting to slice an element that does not repeat...

view this post on Zulip Sarah Gaunt (Aug 14 2018 at 23:23):

I think @Sean McIlvenna and I have solved this one now...


Last updated: Apr 12 2022 at 19:14 UTC