diff --git a/fhir-server/src/main/java/com/ibm/fhir/server/resources/FHIRResource.java b/fhir-server/src/main/java/com/ibm/fhir/server/resources/FHIRResource.java index 30c003055e0..4b5baf5864e 100644 --- a/fhir-server/src/main/java/com/ibm/fhir/server/resources/FHIRResource.java +++ b/fhir-server/src/main/java/com/ibm/fhir/server/resources/FHIRResource.java @@ -130,11 +130,8 @@ protected void checkInitComplete() throws FHIROperationException { * we'll throw an error to short-circuit the current in-progress REST API invocation. */ protected void checkType(String type) throws FHIROperationException { - if (!ModelSupport.isResourceType(type)) { - throw buildUnsupportedResourceTypeException(type); - } if (!ModelSupport.isConcreteResourceType(type)) { - log.warning("Use of abstract resource types like '" + type + "' in FHIR URLs is deprecated and will be removed in a future release"); + throw buildUnsupportedResourceTypeException(type); } }