Skip to content

fix: add missing forIteration parameter to OCL provider filter() - #432

Open
italomacedo wants to merge 1 commit into
mainfrom
claude/ocl-filter-concept-error-74b93e
Open

italomacedo wants to merge 1 commit into
mainfrom
claude/ocl-filter-concept-error-74b93e

Conversation

@italomacedo

Copy link
Copy Markdown
Collaborator

Summary

  • The OCL provider's filter() method was missing the forIteration parameter present in every other provider's signature
  • This caused all caller arguments to shift by one position: the boolean forIteration was received as prop, the actual property name as op, and the actual operator as value
  • This produced the error "Filter true concept is not supported by OCL provider" on any ValueSet expansion using filters (e.g. http://hl7.org/fhir/ValueSet/body-site)

Test plan

  • OCL CS provider unit tests pass (6/6)
  • Manual test: GET /r4/ValueSet/$expand?url=http://hl7.org/fhir/ValueSet/body-site on an OCL-backed server

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant