From f76008ae1b0e00b3dd9e6c95a4e3b7faf363d7a6 Mon Sep 17 00:00:00 2001 From: Nikita Tretyakov Date: Mon, 5 Feb 2024 18:15:46 +0100 Subject: [PATCH] Expect fhirpath expression in negative populate test OperationOutcome --- tests/sdc/test_populate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sdc/test_populate.py b/tests/sdc/test_populate.py index e247849..098c133 100644 --- a/tests/sdc/test_populate.py +++ b/tests/sdc/test_populate.py @@ -544,12 +544,12 @@ async def test_fhirpath_failure_populate(aidbox_client, safe_db): { "severity": "fatal", "code": "invalid", - "diagnostics": 'Error: Could not convert to quantity: input collection contains multiple items', + "diagnostics": 'Error: "%LaunchPatient.name.given.toQuantity()" - Could not convert to quantity: input collection contains multiple items', } ], "text": { "status": "generated", - "div": 'Error: Could not convert to quantity: input collection contains multiple items', + "div": 'Error: "%LaunchPatient.name.given.toQuantity()" - Could not convert to quantity: input collection contains multiple items', }, } return