FHIR Chat · exists discriminator for slices for multiple elements · conformance

Stream: conformance

Topic: exists discriminator for slices for multiple elements


view this post on Zulip Sean McIlvenna (Jul 22 2020 at 21:49):

Can someone tell me how you would define a discriminator based on the existance of more than one child element?
For example, slicing on section.entry, depending on whether section.entry.organizer exists or section.entry.observation?

view this post on Zulip Sean McIlvenna (Jul 22 2020 at 21:49):

kind of a conditional discriminator

view this post on Zulip Lloyd McKenzie (Jul 22 2020 at 22:50):

I don't think that's possible at the moment...

view this post on Zulip Brian Postlethwaite (Aug 26 2020 at 11:49):

There's discussion around using a fhir expression to define the discriminator...
@Grahame Grieve was that something I was meant to write a tracker to request?
(for the HL7 Au Identifier use cases)

view this post on Zulip Grahame Grieve (Aug 26 2020 at 20:14):

maybe. it probably wouldn't hurt


Last updated: Apr 12 2022 at 19:14 UTC