class documentation
class CreateTumorView(ViewLoggerMixin, LoginRequiredMixin, InstitutionCheckObjectMixin, generic.CreateView):
Create a tumor and add it to a given patient.
Method | form |
After form validation, add the tumor to the given patient. |
Method | get |
Add this tumor's patient, the patient's tumor and diagnoses, as well as the currently performed action to the context dictionary. |
Method | get |
After successfull creation, redirect to the patient's detail view that also contains info about this tumor. |
Class Variable | action |
Undocumented |
Inherited from InstitutionCheckObjectMixin
(via ViewLoggerMixin
):
Method | test |
Undocumented |
After form validation, add the tumor to the given patient.
Parameters | |
form:TumorForm | Undocumented |
Returns | |
HttpResponse | Undocumented |
Add this tumor's patient, the patient's tumor and diagnoses, as well as the currently performed action to the context dictionary.
Parameters | |
**kwargs:Any | Undocumented |
Returns | |
Dict[ | Undocumented |