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.BaseForm

Search 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.BaseModelForm

Provides a form for adding/editing the photo, using an ImageField

class apps.healthperson.healthprofessional.forms.HealthProfessionalOutOfOfficeEditForm(*args, **kwargs)[source]

Bases: core.forms.BaseModelForm

Set 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.BaseModelForm

Edit the notification of new messages/finished controls

class apps.healthperson.healthprofessional.forms.HealthProfessionalEditForm(*args, **kwargs)[source]

Bases: apps.account.forms.BasePasswordProfileEditForm

Edit 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.BaseProfileEditForm

Add healthprofessional information. Add specific healthprofessionals fields on top of the default User fields.