Code of practice for handling patient complaints