From 76bceb1d3ec4364ebef7a9d99642ae766b2b9650 Mon Sep 17 00:00:00 2001 From: Italo Macedo Date: Tue, 24 Nov 2026 08:47:22 -0300 Subject: [PATCH] fix: add missing forIteration parameter to OCL provider filter() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tx/ocl/cs-ocl.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx/ocl/cs-ocl.cjs b/tx/ocl/cs-ocl.cjs index 9655174e..946a0ed2 100644 --- a/tx/ocl/cs-ocl.cjs +++ b/tx/ocl/cs-ocl.cjs @@ -1214,7 +1214,7 @@ class OCLSourceCodeSystemProvider extends BaseCSServices { return filterContext; } - async filter(filterContext, prop, op, value) { + async filter(filterContext, forIteration, prop, op, value) { const normalizedProp = String(prop || '').trim().toLowerCase(); const normalizedOp = String(op || '').trim().toLowerCase();