app.views package

Submodules

app.views.auth module

app.views.auth.forgot_password()[source]

Render form for users to reset their password.

app.views.auth.login()[source]

Logs in a returning doctor (user).

app.views.auth.logout(*args, **kwargs)[source]

Log out the current user.

app.views.auth.register()[source]

Registers a new doctor (user) from form data.

app.views.dashboard module

app.views.dashboard.dashboard(*args, **kwargs)[source]

Render medication adherence plots, trends, and analytics.

app.views.home module

app.views.home.about()[source]

Render about page.

app.views.home.index()[source]

Render splash page.

app.views.patients module

app.views.patients.patients(*args, **kwargs)[source]

Display unprescribed, deviating, and adhering patients (in order).

app.views.patients.patients_deviating(*args, **kwargs)[source]

Render page listing deviating patients.

app.views.patients.patients_ontrack(*args, **kwargs)[source]

Render page listing adhering patients.

app.views.patients.patients_unprescribed(*args, **kwargs)[source]

Render page listing unprescribed patients.

app.views.patients.profile(*args, **kwargs)[source]

Detail view for a single patient patient.

app.views.patients.search(*args, **kwargs)[source]

Redirect to a patient profile page given first and last names.

app.views.prescriptions module

app.views.prescriptions.add_prescription(*args, **kwargs)[source]

Route to add a patient prescription via a form.