def METHOD_NAME(recid):
    prefix = current_app.config['PIDSTORE_DATACITE_DOI_PREFIX']
    doi_format = current_app.config['DOI_IDENTIFIER_FORMAT']
    local_part = doi_format.format(recid=recid)
    return '{prefix}/{local_part}'.format(prefix=prefix, local_part=local_part)