forms.py¶
This module provides all the forms necessary for the functionality for an healthprofessional.
Class definitions:
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalSearchForm(*args, **kwargs)[source]¶ Bases:
core.forms.BaseFormSearch for a healthprofessional by either first_name, last_name, function or specialism Only provides the form & fields, all logic is in the view.
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalPhotoForm(*args, **kwargs)[source]¶ Bases:
core.forms.BaseModelFormProvides a form for adding/editing the photo, using an ImageField
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalOutOfOfficeEditForm(*args, **kwargs)[source]¶ Bases:
core.forms.BaseModelFormSet the out-of-office information, this includes a period and an replacement healthprofessional during that period.
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalNotificationEditForm(*args, **kwargs)[source]¶ Bases:
core.forms.BaseModelFormEdit the notification of new messages/finished controls
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalEditForm(*args, **kwargs)[source]¶ Bases:
apps.account.forms.BasePasswordProfileEditFormEdit healthprofessional information. Add specific healthprofessionals fields on top of the default User fields.
-
class
apps.healthperson.healthprofessional.forms.HealthProfessionalAddForm(*args, **kwargs)[source]¶ Bases:
apps.account.forms.BaseProfileEditFormAdd healthprofessional information. Add specific healthprofessionals fields on top of the default User fields.