Disable "Anonimine" button.

Hello all friends.
How I can disable anonimize button ?

In my lua filter allow GET and POST, POST because if it disabled filter “Patient Name:” isn’t working (http) POST /tools/find).

From doc

/patients/{id}/anonymize POST Anonymize patient

Hi,

This should do the job:

– disable the anonymize route only
function IncomingHttpRequestFilter(method, uri, ip, username, httpHeaders)

if method == ‘POST’ and string.match(uri, ‘/anonymize’) then
return false
else – everything else is allowed
return true
end
end

HTH

Alain.