Stream: fhirpath.js
Topic: subsetOf
Kailash (Feb 01 2021 at 15:34):
Hi All, I have below constrain on consent resource -
<constraint>
<key value="Consent-1"/>
<severity value="error"/>
<human value="consent.except.actor should be subset of consent.actor"/>
<expression value="Consent.except.actor.reference.subsetOf(Consent.actor.reference)"/>
</constraint>
and in sample consent.except.actor list is subset of consent.actor but still sample is failing with mentioned error.
I am using Validator 5.2.3 and not sure if the subsetOf function is supported by validator or not or I am doing something wrong?
Thanks
Paul Lynch (Feb 01 2021 at 18:17):
I think you probably meant to post this on the "fhirpath" stream. This stream ("fhirpath.js") is about the JavaScript implementation of FHIRPath named "fhirpath.js".
Last updated: Apr 12 2022 at 19:14 UTC