From fef128cdd06133cada0f288ca69827d5ce3c98e6 Mon Sep 17 00:00:00 2001 From: Bryn Rhodes Date: Thu, 11 Jun 2026 16:47:02 -0600 Subject: [PATCH] Additional tests for PositionOf/LastPositionOf based on CQL clarification https://jira.hl7.org/browse/FHIR-52042 --- tests/cql/CqlStringOperatorsTest.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/cql/CqlStringOperatorsTest.xml b/tests/cql/CqlStringOperatorsTest.xml index e1836aa..b7a408f 100644 --- a/tests/cql/CqlStringOperatorsTest.xml +++ b/tests/cql/CqlStringOperatorsTest.xml @@ -138,6 +138,11 @@ LastPositionOf('hi', 'Say hi to Ohio!') 11 + + + LastPositionOf('', 'Say hi to Ohio!') + 15 + @@ -266,6 +271,11 @@ PositionOf('c', 'ab') -1 + + + PositionOf('', 'Say hi to Ohio!') + 0 +