Stream: IG creation
Topic: Invariant on complex string value
David Pyke (Oct 01 2020 at 18:59):
I'm trying to put an invariant on a valueString on a complex extension to force that string to be one of two possible values and my FHIRPath ability is still low
What I want is to have extension[A].extension[sub].valueString to be "We" or "They". How do I FHIRPath that?
Grahame Grieve (Oct 01 2020 at 20:26):
extension('A').extension('sub').value in ('We' | 'They')
David Pyke (Oct 02 2020 at 12:14):
Thank you!
Last updated: Apr 12 2022 at 19:14 UTC