class R4BundleResourceProvider extends AbstractBundleResourceProvider<Bundle> {

    @Nonnull
    protected OperationOutcome.IssueSeverity convert( @Nonnull FhirOperationIssueSeverity issueSeverity )
    {
        switch ( issueSeverity )
        {
            case INFO:
                return OperationOutcome.IssueSeverity.INFORMATION;
            case WARN:
                return OperationOutcome.IssueSeverity.WARNING;
            case ERROR:
                return OperationOutcome.IssueSeverity.ERROR;
            case FATAL:
                return OperationOutcome.IssueSeverity.FATAL;
            default:
                throw new AssertionError( "Unhandled issue severity: " + issueSeverity );
        }
    }

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

}