Stream: implementers
Topic: Invalid FHIRPath constraint in the US Core Condition profile
John Timm (Mar 17 2020 at 21:38):
The following constraint is present in the US Core Condition profile:
where(category in 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category').exists()
Nowhere in the FHIRPath specification does it state that the behavior of the "in" operator can be overloaded to function like the "memberOf" function and if such was the case, then it would need to be documented here:
http://hl7.org/fhir/fhirpath.html#changes
and/or here:
http://hl7.org/fhirpath/N1/#in-membership
I believe that this is an error in the current version of the US Core Implementation Guide STU3 (v3.1.0). Please advise.
Lloyd McKenzie (Mar 17 2020 at 21:45):
@Bryn Rhodes
Michael Calderero (Mar 17 2020 at 22:10):
I believe it is mentioned here (i.e. B.4.2): http://hl7.org/fhirpath/2017Jan/index.html#changes-to-operators
I think it got replaced with memberOf()
function in R4: https://www.hl7.org/fhir/fhirpath.html#functions
John Timm (Mar 17 2020 at 22:48):
I’ll file a ticket for US core to get this updated.
Bryn Rhodes (Mar 18 2020 at 03:35):
Yes, the current spec does not support that. Early versions explored it but switched to the .memberOf() and %terminologies approaches.
John Timm (Mar 18 2020 at 14:39):
https://jira.hl7.org/projects/FHIR/issues/FHIR-26605
Last updated: Apr 12 2022 at 19:14 UTC