FHIR Chat · How to discriminate on a value in a complex extension? · implementers

Stream: implementers

Topic: How to discriminate on a value in a complex extension?


view this post on Zulip Ardon Toonstra (Mar 11 2021 at 16:36):

We are trying to discriminate between multiple similar complex extensions. The complex extension has alevel and a type fixed URI. The profile has patternCodings in the type extension that should be used to discriminate the extensions.

The discriminator path set to: extension.where(url='http://hl7.org/fhir/StructureDefinition/patient-proficiency').extension('type').value (on Patient.communication) does not work: the JAVA and .NET validator both give an error. The FHIRpath tester does work this.

We don't know how to navigate into the child extension 'type'. Anyone a suggestion?


Last updated: Apr 12 2022 at 19:14 UTC