Repository navigation
fix: add missing forIteration parameter to OCL provider filter() - #432
Open
italomacedo wants to merge 1 commit into
Open
italomacedo wants to merge 1 commit into
italomacedo wants to merge 1 commit into
Conversation
The OCL provider's filter() method was missing the forIteration parameter that every other provider includes. This caused the expand worker's call arguments to shift: the boolean forIteration was received as prop, the actual property as op, and the actual operator as value — producing the error "Filter true concept is not supported by OCL provider" on any ValueSet expansion that uses filters (e.g. body-site). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
italomacedo
requested review from
grahamegrieve
and
a balanced review from Copilot
and removed request for
Copilot
November 24, 2026 11:53
Copilot stopped reviewing on behalf of
italomacedo due to an error
November 24, 2026 11:55
Copilot stopped reviewing on behalf of
italomacedo due to an error
November 24, 2026 11:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
filter()method was missing theforIterationparameter present in every other provider's signatureforIterationwas received asprop, the actual property name asop, and the actual operator asvaluehttp://hl7.org/fhir/ValueSet/body-site)Test plan
GET /r4/ValueSet/$expand?url=http://hl7.org/fhir/ValueSet/body-siteon an OCL-backed server🤖 Generated with Claude Code