[OEM-227] fixed bugs and added patient consent indication to emails and pdfs