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 985d76f4871..55837efc0e9 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 @@ -813,7 +813,10 @@ public class VersionSpecificWorkerContextWrapper extends I18nBase implements IWo @Override public T findTxResource(Class class_, String canonical, Resource sourceOfReference) { - throw new UnsupportedOperationException(Msg.code(2488)); + if (canonical == null) { + return null; + } + return fetchResource(class_, canonical, sourceOfReference); } @Override