class documentation

class CreateDiagnoseView(ViewLoggerMixin, LoginRequiredMixin, InstitutionCheckObjectMixin, generic.CreateView):

View In Hierarchy

Add a diagnose for a patient's lymphatic system.

Method form_valid As with the tumor, add the diagnose to the already existing patient after the form was validated.
Method get_context_data Add this diagnose's patient, the patient's tumor and diagnoses, as well as the currently performed action to the context dictionary.
Method get_success_url After successfully updating the diagnose, redirect to patient's detail view.
Class Variable action Undocumented
Class Variable template_name Undocumented

Inherited from InstitutionCheckObjectMixin (via ViewLoggerMixin):

Method test_func Undocumented
def form_valid(self, form):

As with the tumor, add the diagnose to the already existing patient after the form was validated.

Parameters
form:DiagnoseFormUndocumented
Returns
HttpResponseUndocumented
def get_context_data(self, **kwargs):

Add this diagnose's patient, the patient's tumor and diagnoses, as well as the currently performed action to the context dictionary.

Parameters
**kwargs:AnyUndocumented
Returns
Dict[str, Any]Undocumented
def get_success_url(self):

After successfully updating the diagnose, redirect to patient's detail view.

Returns
strUndocumented
action: str =

Undocumented

template_name: str =

Undocumented