Changed to be compatible with Tryton 2.8/GnuHealth 2.2.1