FHIR Chat · Disambiguating collections of BackboneElements · fhirpath

Stream: fhirpath

Topic: Disambiguating collections of BackboneElements


view this post on Zulip John Grimes (Jan 29 2021 at 22:51):

If I evaluate the following expression:

Patient.contact | Patient.link

I think I would end up with a collection of items of type BackboneElement.

Is there a way to select just the contact items?

(Patient.contact | Patient.link).ofType(?)

view this post on Zulip ryan moehrke (Jan 30 2021 at 00:01):

i.e. to ignore the items that were added from Patient.link? I don't think so... do you have more info about your usecase we could maybe parse out a better way to go about what you need?


Last updated: Apr 12 2022 at 19:14 UTC