class AbstractBundleResourceProvider extends AbstractUntypedResourceProvider {

    @Nonnull
    protected IIdType getIdFromRequestUrl( @Nonnull String url )
    {
        final int index = url.indexOf( '?' );

        if ( index > 0 )
        {
            url = url.substring( 0, index );
        }

        return new IdDt( url );
    }

    public  AbstractBundleResourceProvider(
        @Nonnull FhirClientResourceRepository fhirClientResourceRepository,
        @Nonnull FhirClientSystemRepository fhirClientSystemRepository,
        @Nonnull FhirRepository fhirRepository, @Nonnull DhisRepository dhisRepository,
        @Nonnull RequestCacheService requestCacheService );

}