.. include:: /Includes.rst.txt .. _feature-1791114018: ========================================================== Feature: A note and the certificate with a sickness report ========================================================== Description =========== The dialog :guilabel:`Report sick` takes two optional additions: - :guilabel:`Note for HR`, a hint such as how the employee can be reached. Only the employee and HR read and change it; the form asks not to enter a diagnosis. Managers, colleagues, notifications and events never carry it. - :guilabel:`Upload certificate`, the medical certificate the employee already has. It is recorded for the reported days, or for the first day of an open-ended report. ``createSicknessReport`` accepts ``note`` (at most 500 characters) and ``certificateAttachmentId`` (an unused upload of purpose ``sicknessCertificate``); ``updateSicknessReport`` accepts ``note``. The sickness report answers ``note`` to the employee and HR only. Screen forms gained the field type ``file``, which uploads the chosen file at once and sends the ID of the upload. Impact ====== The column ``sickness_report.note`` is added by a migration. Existing reports have no note. .. index:: API, Database, Frontend, package:adsum-leave, package:adsum-core