class R4FhirResourceDhisToFhirTransformerUtils extends AbstractFhirResourceDhisToFhirTransformerUtils {

    @Nonnull
    @Override
    public IBaseReference createReference( @Nonnull IBaseResource resource )
    {
        if ( resource.getIdElement().isEmpty() || resource.getIdElement().isLocal() )
        {
            return new Reference( (Resource) resource );
        }
        return new Reference( resource.getIdElement().toUnqualifiedVersionless() );
    }

    public  R4FhirResourceDhisToFhirTransformerUtils( @Nonnull ScriptExecutionContext scriptExecutionContext );

}