@SuppressWarnings("unchecked")
    public <T, S extends Base> T fromFHIR(Class<T> targetClass, S resource) {
        logger.debug("Finding converter from {} to {}", resource, targetClass);
        final FHIRConverter<S, T> converter;
        synchronized (this) {