0 – New entry to convert
1 - Database exception error.
2 - Temporary folder could not be created on server.
3 - No data found for given pg_id.
4 - Source file not found.
5 - Error in moving source file to server.
6 - Conversion to PDF failed.
7 - Patient Details not found.
8 - PDF conversion successful.
9 - Recipient email address not found.
10 - GP details not found.
11 - Error building email parameters.
12 - Error sending email.
13 - GP Email address not found.
14 - Failed to update page extn.
15 - Failed to add annotation to the PDF.
18 - Email sent successfully.