class R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils {

    @Nonnull
    @Override
    public IBaseBundle createBundle( @Nonnull List<IBaseResource> result )
    {
        final Bundle bundle = new Bundle();
        bundle.setId( UUID.randomUUID().toString() );
        bundle.getMeta().setLastUpdated( new Date() );
        bundle.setType( Bundle.BundleType.SEARCHSET );
        result.forEach( r -> bundle.addEntry().setResource( (Resource) r ) );
        return bundle;
    }

    public  R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext );

}