class documentation

class CreatePatientView(ViewLoggerMixin, LoginRequiredMixin, generic.CreateView):

View In Hierarchy

View used to create a new patient entry in the database.

Method get_context_data Add action to context for rendering purposes.
Method get_form_kwargs Pass user to form, so that a newly created patient can be assigned to the same institution as the user who created them.
Class Variable action Undocumented
def get_context_data(self, **kwargs):

Add action to context for rendering purposes.

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

Pass user to form, so that a newly created patient can be assigned to the same institution as the user who created them.

Returns
Dict[str, Any]Undocumented
action: str =

Undocumented