From 56ddfac49ad8cc656d6a5ff5c414264f12563c1b Mon Sep 17 00:00:00 2001 From: dotasek Date: Tue, 6 Feb 2024 15:48:27 -0500 Subject: [PATCH] Add minimal implementation to fix failing test --- .../validator/VersionSpecificWorkerContextWrapper.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/validator/VersionSpecificWorkerContextWrapper.java b/hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/validator/VersionSpecificWorkerContextWrapper.java index fda7988a130..1d837844d2c 100644 --- a/hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/validator/VersionSpecificWorkerContextWrapper.java +++ b/hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/validator/VersionSpecificWorkerContextWrapper.java @@ -821,7 +821,11 @@ public class VersionSpecificWorkerContextWrapper extends I18nBase implements IWo @Override public T findTxResource(Class class_, String canonical) { - throw new UnsupportedOperationException(Msg.code(2489)); + if (canonical == null) { + return null; + } + + return fetchResource(class_, canonical); } @Override