forms.py

Module providing the forms for adding a report & message during handling a filled-in control by an healthprofessional.

Class definitions:

class apps.report.forms.MessageAddEditForm(*args, **kwargs)[source]

Bases: core.forms.BaseModelForm

Add/Edit a message for a patient (as part of the report function)

class apps.report.forms.UrgentReportAddEditForm(*args, **kwargs)[source]

Bases: core.forms.BaseModelForm

Add edit an urgent report, checks that items that are included in the template as placeholder are removed.

class apps.report.forms.ReportAddEditForm(*args, **kwargs)[source]

Bases: core.forms.BaseModelForm

Add/Edit an normal report. Is merely the same as the urgent one but needs some extra initialization.