FHIR Chat · distinct elements based on a subset of child elements? · fhirpath

Stream: fhirpath

Topic: distinct elements based on a subset of child elements?


view this post on Zulip Jean Duteau (Jun 16 2021 at 18:31):

I want to create an expression that asserts a set of elements are distinct based on a subset of their children elements. Eg., a collection of HealthcareService instances are distinct based on type and serviceProvisionCode. I have entry.HealthcareService.isDistinct() for now, but that will obviously look at every element. I couldn't see how to to subset the child elements.

view this post on Zulip Grahame Grieve (Jun 16 2021 at 20:00):

the combination? That's tricky


Last updated: Apr 12 2022 at 19:14 UTC