django.apps.AppConfig
lyprox.accounts.apps.AccountsConfig
- Undocumentedlyprox.riskpredictor.apps.RiskConfig
- Undocumenteddjango.contrib.auth.forms.AuthenticationForm
lyprox.accounts.forms.CustomAuthenticationForm
- Custom form that allows assignment of classes to widgets. Note that due to the inheritance from AuthenticationForm
the email field, which is used to log in users, is called username.django.contrib.auth.mixins.LoginRequiredMixin
lyprox.patients.views.CreateDatasetView
- Create a dataset from a form.lyprox.patients.views.CreateDiagnoseView
- Add a diagnose for a patient's lymphatic system.lyprox.patients.views.CreatePatientView
- View used to create a new patient entry in the database.lyprox.patients.views.CreateTumorView
- Create a tumor and add it to a given patient.lyprox.patients.views.DeleteDatasetView
- Remove this dataset from the database, and all associated patients with it.lyprox.patients.views.DeleteDiagnoseView
- Remove a particular diagnose frm a patient's entry.lyprox.patients.views.DeletePatientView
- Remove this patient from the database.lyprox.patients.views.DeleteTumorView
- Delete a patient's tumor.lyprox.patients.views.UpdateDiagnoseView
- Change a patient's diagnose.lyprox.patients.views.UpdatePatientView
- Update a given patient's information.lyprox.patients.views.UpdateTumorView
- Update specifics of a patient's tumor.lyprox.riskpredictor.views.AddInferenceResultView
- View for adding a new InferenceResult
instance.django.contrib.auth.mixins.UserPassesTestMixin
lyprox.accounts.mixins.InstitutionCheckObjectMixin
- Mixin that makes sure only users from the institution that created the patient can edit that patient's diagnose and tumor.lyprox.patients.views.CreateDiagnoseView
- Add a diagnose for a patient's lymphatic system.lyprox.patients.views.CreateTumorView
- Create a tumor and add it to a given patient.lyprox.patients.views.DeleteDiagnoseView
- Remove a particular diagnose frm a patient's entry.lyprox.patients.views.DeleteTumorView
- Delete a patient's tumor.lyprox.patients.views.UpdateDiagnoseView
- Change a patient's diagnose.lyprox.patients.views.UpdateTumorView
- Update specifics of a patient's tumor.lyprox.accounts.mixins.InstitutionCheckPatientMixin
- Mixin that makes sure only users from the institution that created the patient can edit it.lyprox.patients.views.DeletePatientView
- Remove this patient from the database.lyprox.patients.views.UpdatePatientView
- Update a given patient's information.django.contrib.auth.models.AbstractBaseUser
lyprox.accounts.models.User
- Extending the base functionality of the default User class.django.contrib.auth.models.BaseUserManager
lyprox.accounts.models.UserManager
- No class docstring; 3/3 methods documenteddjango.contrib.auth.models.PermissionsMixin
lyprox.accounts.models.User
- Extending the base functionality of the default User class.django.core.management.base.BaseCommand
lyprox.accounts.management.commands.add_institutions.Command
- Command to add institutions from a file or the command line.lyprox.accounts.management.commands.add_users.Command
- Command to add users from a file or via arguments.django.db.migrations.Migration
lyprox.accounts.migrations.0001_initial.Migration
- Undocumentedlyprox.riskpredictor.migrations.0001_initial.Migration
- Undocumenteddjango.db.models.CharField
lyprox.accounts.models.CountryField
- Undocumenteddjango.db.models.DateField
lyprox.patients.fields.RobustDateField
- DateField that doesn't raise a ValidationError when the date string isn't formated according to ISO (YYYY-MM-DD)django.db.models.IntegerChoices
lyprox.patients.models.Patient.M_stages
- Defines the possible M-stages as choice class.lyprox.patients.models.Patient.N_stages
- Defines the possible N-stages as choice class.lyprox.patients.models.Patient.T_stages
- Defines the possible T-stages as choice class.django.db.models.Model
lyprox.accounts.models.Institution
- Class for an institution like a hospital/clinic.lyprox.patients.models.Dataset
- A collection of patients, usually importet from a CSV file in a GitHub repo.lyprox.patients.models.Diagnose
- Model describing the diagnosis of one side of a patient's neck with regard to their lymphaitc metastatic involvement.lyprox.patients.models.Patient
- The representation of a patient in the database.lyprox.patients.models.Tumor
- Model to describe a patient's tumor in detail.lyprox.riskpredictor.models.InferenceResult
- Results of an inference run of the lymph-model package.django.db.models.TextChoices
lyprox.patients.models.Tumor.Locations
- The primary tumor locations in the head and neck region.django.forms.ChoiceField
lyprox.dataexplorer.forms.ThreeWayToggle
- A toggle switch than can be in three different states: Positive/True, unkown/None and negative/False.django.forms.Form
lyprox.accounts.forms.InsitutionForm
- Form for creating an institution. This is not yet in use or even functional.lyprox.dataexplorer.forms.DashboardForm
- Form for querying the database.lyprox.patients.forms.DataFileForm
- Accept and process a CSV file that can then be parsed to batch-create a number of patients at once.lyprox.riskpredictor.forms.DashboardForm
- Form for the dashboard page.django.forms.ModelForm
lyprox.accounts.forms.SignupRequestForm
- Form for requesting to be signed up by an administrator.lyprox.patients.forms.DatasetForm
- Form to create and edit datasets, based on their model definition.lyprox.patients.forms.DiagnoseForm
- Form to create and edit diagnoses, based on their model definition. Nothing special is happening here: Only some widgets are defined for the few fields of the models.Diagnose model and a loop over all implemented LNLs saves us some hard-coding of a long list of widgets for the node levels.lyprox.patients.forms.PatientForm
- Form to create and edit patients, based on their model definition. Most notably, it includes custom cleaning methods like _compute_age that take - possibly sensitive - inputs and convert them into the - less sensitive - information we actually care about and want to store.lyprox.patients.forms.TumorForm
- Form to create and edit tumors, based on their model definition. Very straightforward, not much custom validation. This class basically just defines how some of the fields that are already defined in models.Tumor...lyprox.riskpredictor.forms.InferenceResultForm
- Form for creating a new InferenceResult
instance.django.forms.ModelMultipleChoiceField
lyprox.dataexplorer.forms.DatasetMultipleChoiceField
- Customize label description and add method that returns the logo URL for Datasets. The implementation is inspired by how the choices are implemented. But since some other functionality depends on how those choices are implemented, it cannot be changed easily.django.forms.RadioSelect
lyprox.dataexplorer.forms.ThreeWayToggleWidget
- Widget that renders the three-way toggle button and allows to set the attributes of the individual inputs (radio buttons) as option_attrs
as well as the attributes of the container as attrs.django.forms.widgets.NumberInput
lyprox.riskpredictor.forms.RangeInput
- Undocumenteddjango.views.generic.CreateView
lyprox.patients.views.CreateDatasetView
- Create a dataset from a form.lyprox.patients.views.CreateDiagnoseView
- Add a diagnose for a patient's lymphatic system.lyprox.patients.views.CreatePatientView
- View used to create a new patient entry in the database.lyprox.patients.views.CreateTumorView
- Create a tumor and add it to a given patient.lyprox.riskpredictor.views.AddInferenceResultView
- View for adding a new InferenceResult
instance.django.views.generic.DeleteView
lyprox.patients.views.DeleteDatasetView
- Remove this dataset from the database, and all associated patients with it.lyprox.patients.views.DeleteDiagnoseView
- Remove a particular diagnose frm a patient's entry.lyprox.patients.views.DeletePatientView
- Remove this patient from the database.lyprox.patients.views.DeleteTumorView
- Delete a patient's tumor.django.views.generic.DetailView
lyprox.patients.views.DatasetView
- View that serves the respective Dataset
CSV file.lyprox.patients.views.PatientDetailView
- Show details of a particular patient.lyprox.riskpredictor.views.RiskPredictionView
- View for the dashboard of the riskpredictor app.django.views.generic.ListView
lyprox.dataexplorer.views.DashboardView
- Use the forms.DashboardForm
and the patients.models.Patient
model along with the query
functions to extract the requested information from the database and render it into the HTML response displaying the lymphatic patterns of progression.lyprox.patients.views.DatasetListView
- View that displays all datasets in a list.lyprox.patients.views.PatientListView
- Renders a list of all patients in the database showing basic information and links to the individual entries. Depending from where this view is called, the list is filterable.lyprox.riskpredictor.views.ChooseInferenceResultView
- View for choosing a InferenceResult
instance.django.views.generic.UpdateView
lyprox.patients.views.UpdateDiagnoseView
- Change a patient's diagnose.lyprox.patients.views.UpdatePatientView
- Update a given patient's information.lyprox.patients.views.UpdateTumorView
- Update specifics of a patient's tumor.django_filters.FilterSet
lyprox.patients.filters.PatientFilter
- A django_filters.FilterSet which allows for easy filtering of a patient queryset for any fields defined here.Exception
lyprox.patients.ioports.ParsingError
- Exception raised when the parsing of an uploaded CSV fails due to missing data columns.lyprox.patients.models.CorruptedDatasetError
- Raised when there is reason to believe that the dataset is corrupted.lyprox.patients.models.LockedDatasetError
- Raised when a Dataset
or an associated entry was tried to be edited.lyprox.accounts.forms.InsitutionForm.Meta
- Undocumentedlyprox.accounts.forms.SignupRequestForm.Meta
- Undocumentedlyprox.dataexplorer.forms.DatasetModelChoiceIndexer
- Custom class with which one can access additional information from the model that is chosen by the DatasetMultipleChoiceField
.lyprox.dataexplorer.query.ModalityCombinor
- Utility class that defines and helps to select the various methods for combining diagnoses from different modalities.lyprox.loggers.FormLoggerMixin
lyprox.accounts.forms.InsitutionForm
- Form for creating an institution. This is not yet in use or even functional.lyprox.dataexplorer.forms.DashboardForm
- Form for querying the database.lyprox.patients.forms.DataFileForm
- Accept and process a CSV file that can then be parsed to batch-create a number of patients at once.lyprox.patients.forms.DatasetForm
- Form to create and edit datasets, based on their model definition.lyprox.patients.forms.DiagnoseForm
- Form to create and edit diagnoses, based on their model definition. Nothing special is happening here: Only some widgets are defined for the few fields of the models.Diagnose model and a loop over all implemented LNLs saves us some hard-coding of a long list of widgets for the node levels.lyprox.patients.forms.PatientForm
- Form to create and edit patients, based on their model definition. Most notably, it includes custom cleaning methods like _compute_age that take - possibly sensitive - inputs and convert them into the - less sensitive - information we actually care about and want to store.lyprox.patients.forms.TumorForm
- Form to create and edit tumors, based on their model definition. Very straightforward, not much custom validation. This class basically just defines how some of the fields that are already defined in models.Tumor...lyprox.riskpredictor.forms.InferenceResultForm
- Form for creating a new InferenceResult
instance.lyprox.loggers.ModelLoggerMixin
lyprox.accounts.models.Institution
- Class for an institution like a hospital/clinic.lyprox.accounts.models.User
- Extending the base functionality of the default User class.lyprox.patients.models.Dataset
- A collection of patients, usually importet from a CSV file in a GitHub repo.lyprox.patients.models.Diagnose
- Model describing the diagnosis of one side of a patient's neck with regard to their lymphaitc metastatic involvement.lyprox.patients.models.Patient
- The representation of a patient in the database.lyprox.patients.models.Tumor
- Model to describe a patient's tumor in detail.lyprox.riskpredictor.models.InferenceResult
- Results of an inference run of the lymph-model package.lyprox.loggers.ViewLoggerMixin
lyprox.dataexplorer.views.DashboardView
- Use the forms.DashboardForm
and the patients.models.Patient
model along with the query
functions to extract the requested information from the database and render it into the HTML response displaying the lymphatic patterns of progression.lyprox.patients.views.CreateDatasetView
- Create a dataset from a form.lyprox.patients.views.CreateDiagnoseView
- Add a diagnose for a patient's lymphatic system.lyprox.patients.views.CreatePatientView
- View used to create a new patient entry in the database.lyprox.patients.views.CreateTumorView
- Create a tumor and add it to a given patient.lyprox.patients.views.DatasetListView
- View that displays all datasets in a list.lyprox.patients.views.DatasetView
- View that serves the respective Dataset
CSV file.lyprox.patients.views.DeleteDatasetView
- Remove this dataset from the database, and all associated patients with it.lyprox.patients.views.DeleteDiagnoseView
- Remove a particular diagnose frm a patient's entry.lyprox.patients.views.DeletePatientView
- Remove this patient from the database.lyprox.patients.views.DeleteTumorView
- Delete a patient's tumor.lyprox.patients.views.PatientListView
- Renders a list of all patients in the database showing basic information and links to the individual entries. Depending from where this view is called, the list is filterable.lyprox.patients.views.UpdateDiagnoseView
- Change a patient's diagnose.lyprox.patients.views.UpdatePatientView
- Update a given patient's information.lyprox.patients.views.UpdateTumorView
- Update specifics of a patient's tumor.lyprox.riskpredictor.views.AddInferenceResultView
- View for adding a new InferenceResult
instance.lyprox.riskpredictor.views.ChooseInferenceResultView
- View for choosing a InferenceResult
instance.lyprox.riskpredictor.views.RiskPredictionView
- View for the dashboard of the riskpredictor app.lyprox.patients.filters.PatientFilter.Meta
- Define which django model this should act on.lyprox.patients.forms.DatasetForm.Meta
- The underlying model.lyprox.patients.forms.DiagnoseForm.Meta
- Connects the form to the model.lyprox.patients.forms.PatientForm.Meta
- Indicate which model this acts on.lyprox.patients.forms.TumorForm.Meta
- Specifies the corresponding model.lyprox.patients.mixins.LockedDatasetMixin
- Mixin for the Patient
, Tumor
and Diagnose
classes to block any editing or deletion attempts when the Dataset
they belong to is locked.lyprox.patients.models.Diagnose
- Model describing the diagnosis of one side of a patient's neck with regard to their lymphaitc metastatic involvement.lyprox.patients.models.Patient
- The representation of a patient in the database.lyprox.patients.models.Tumor
- Model to describe a patient's tumor in detail.lyprox.patients.models.Dataset.Meta
- Undocumentedlyprox.patients.models.Diagnose.Modalities
- Class that aims to replicate the functionality of TextChoices from Django's enum types, but with the added functionality of storing the sensitivity & specificity of the respective modality.lyprox.riskpredictor.forms.InferenceResultForm.Meta
- Undocumentedlyprox.riskpredictor.models.InferenceResult.Meta
- Undocumentedmdx_math.MathExtension
lyprox.templatetags.customtags.MyMathExtension
- Undocumentedtype
lyprox.patients.models.Diagnose.MetaModality
- Meta class for providing the classmethod attributes to the Modalities
class similar to what Django's enum types have.