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