%% Generated by Sphinx.
\def\sphinxdocclass{report}
\documentclass[letterpaper,10pt,english]{sphinxmanual}
\ifdefined\pdfpxdimen
   \let\sphinxpxdimen\pdfpxdimen\else\newdimen\sphinxpxdimen
\fi \sphinxpxdimen=.75bp\relax

\usepackage[utf8]{inputenc}
\ifdefined\DeclareUnicodeCharacter
 \ifdefined\DeclareUnicodeCharacterAsOptional
  \DeclareUnicodeCharacter{"00A0}{\nobreakspace}
  \DeclareUnicodeCharacter{"2500}{\sphinxunichar{2500}}
  \DeclareUnicodeCharacter{"2502}{\sphinxunichar{2502}}
  \DeclareUnicodeCharacter{"2514}{\sphinxunichar{2514}}
  \DeclareUnicodeCharacter{"251C}{\sphinxunichar{251C}}
  \DeclareUnicodeCharacter{"2572}{\textbackslash}
 \else
  \DeclareUnicodeCharacter{00A0}{\nobreakspace}
  \DeclareUnicodeCharacter{2500}{\sphinxunichar{2500}}
  \DeclareUnicodeCharacter{2502}{\sphinxunichar{2502}}
  \DeclareUnicodeCharacter{2514}{\sphinxunichar{2514}}
  \DeclareUnicodeCharacter{251C}{\sphinxunichar{251C}}
  \DeclareUnicodeCharacter{2572}{\textbackslash}
 \fi
\fi
\usepackage{cmap}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amstext}
\usepackage{babel}
\usepackage{times}
\usepackage[Bjarne]{fncychap}
\usepackage[dontkeepoldnames]{sphinx}

\usepackage{geometry}

% Include hyperref last.
\usepackage{hyperref}
% Fix anchor placement for figures with captions.
\usepackage{hypcap}% it must be loaded after hyperref.
% Set up styles of URL: it should be placed after hyperref.
\urlstyle{same}
\addto\captionsenglish{\renewcommand{\contentsname}{Contents:}}

\addto\captionsenglish{\renewcommand{\figurename}{Fig.}}
\addto\captionsenglish{\renewcommand{\tablename}{Table}}
\addto\captionsenglish{\renewcommand{\literalblockname}{Listing}}

\addto\captionsenglish{\renewcommand{\literalblockcontinuedname}{continued from previous page}}
\addto\captionsenglish{\renewcommand{\literalblockcontinuesname}{continues on next page}}

\addto\extrasenglish{\def\pageautorefname{page}}

\setcounter{tocdepth}{0}



\title{digiMED Documentation}
\date{Nov 26, 2020}
\release{}
\author{Mind Optimizers}
\newcommand{\sphinxlogo}{\vbox{}}
\renewcommand{\releasename}{Release}
\makeindex

\begin{document}

\maketitle
\sphinxtableofcontents
\phantomsection\label{\detokenize{index::doc}}



\chapter{source}
\label{\detokenize{modules::doc}}\label{\detokenize{modules:welcome-to-digimed-s-documentation}}\label{\detokenize{modules:source}}

\section{Account package}
\label{\detokenize{Account::doc}}\label{\detokenize{Account:account-package}}

\subsection{Subpackages}
\label{\detokenize{Account:subpackages}}

\subsection{Submodules}
\label{\detokenize{Account:submodules}}

\subsection{Account.admin module}
\label{\detokenize{Account:module-Account.admin}}\label{\detokenize{Account:account-admin-module}}\index{Account.admin (module)}

\subsection{Account.apps module}
\label{\detokenize{Account:module-Account.apps}}\label{\detokenize{Account:account-apps-module}}\index{Account.apps (module)}\index{AccountConfig (class in Account.apps)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.apps.AccountConfig}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{Account.apps.}\sphinxbfcode{AccountConfig}}{\emph{app\_name}, \emph{app\_module}}{}
Bases: \sphinxcode{django.apps.config.AppConfig}
\index{name (Account.apps.AccountConfig attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.apps.AccountConfig.name}}\pysigline{\sphinxbfcode{name}\sphinxbfcode{ = 'Account'}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{Account.models module}
\label{\detokenize{Account:account-models-module}}\label{\detokenize{Account:module-Account.models}}\index{Account.models (module)}\index{UserProfile (class in Account.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{Account.models.}\sphinxbfcode{UserProfile}}{\emph{id}, \emph{user}, \emph{profile\_type}, \emph{age}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{UserProfile.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{UserProfile.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{age (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.age}}\pysigline{\sphinxbfcode{age}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{doctor\_set (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.doctor_set}}\pysigline{\sphinxbfcode{doctor\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{id (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{patient\_set (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.patient_set}}\pysigline{\sphinxbfcode{patient\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{profile\_type (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.profile_type}}\pysigline{\sphinxbfcode{profile\_type}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{user (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.user}}\pysigline{\sphinxbfcode{user}}
Accessor to the related object on the forward side of a one-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Restaurant}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{place} \PYG{o}{=} \PYG{n}{OneToOneField}\PYG{p}{(}\PYG{n}{Place}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{restaurant}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Restaurant.place} is a \sphinxcode{ForwardOneToOneDescriptor} instance.

\end{fulllineitems}

\index{user\_id (Account.models.UserProfile attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.models.UserProfile.user_id}}\pysigline{\sphinxbfcode{user\_id}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{Account.tests module}
\label{\detokenize{Account:module-Account.tests}}\label{\detokenize{Account:account-tests-module}}\index{Account.tests (module)}

\subsection{Account.urls module}
\label{\detokenize{Account:account-urls-module}}\label{\detokenize{Account:module-Account.urls}}\index{Account.urls (module)}

\subsection{Account.views module}
\label{\detokenize{Account:module-Account.views}}\label{\detokenize{Account:account-views-module}}\index{Account.views (module)}\index{login() (in module Account.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.views.login}}\pysiglinewithargsret{\sphinxcode{Account.views.}\sphinxbfcode{login}}{\emph{request}}{}
Logs in the users to their respective accounts
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{logout() (in module Account.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.views.logout}}\pysiglinewithargsret{\sphinxcode{Account.views.}\sphinxbfcode{logout}}{\emph{request}}{}
Redirects the user to the register page when they logout of the respective account
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{register() (in module Account.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{Account:Account.views.register}}\pysiglinewithargsret{\sphinxcode{Account.views.}\sphinxbfcode{register}}{\emph{request}}{}
Takes the information of the users (doctor/patients) and fills the same in the database
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}



\subsection{Module contents}
\label{\detokenize{Account:module-contents}}\label{\detokenize{Account:module-Account}}\index{Account (module)}

\section{db\_models module}
\label{\detokenize{db_models::doc}}\label{\detokenize{db_models:db-models-module}}

\section{digiMED package}
\label{\detokenize{digiMED::doc}}\label{\detokenize{digiMED:digimed-package}}

\subsection{Submodules}
\label{\detokenize{digiMED:submodules}}

\subsection{digiMED.asgi module}
\label{\detokenize{digiMED:digimed-asgi-module}}\label{\detokenize{digiMED:module-digiMED.asgi}}\index{digiMED.asgi (module)}
ASGI config for digiMED project.

It exposes the ASGI callable as a module-level variable named \sphinxcode{application}.

For more information on this file, see
\sphinxurl{https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/}


\subsection{digiMED.settings module}
\label{\detokenize{digiMED:module-digiMED.settings}}\label{\detokenize{digiMED:digimed-settings-module}}\index{digiMED.settings (module)}
Django settings for digiMED project.

Generated by ‘django-admin startproject’ using Django 3.1.2.

For more information on this file, see
\sphinxurl{https://docs.djangoproject.com/en/3.1/topics/settings/}

For the full list of settings and their values, see
\sphinxurl{https://docs.djangoproject.com/en/3.1/ref/settings/}


\subsection{digiMED.urls module}
\label{\detokenize{digiMED:module-digiMED.urls}}\label{\detokenize{digiMED:digimed-urls-module}}\index{digiMED.urls (module)}
digiMED URL Configuration
\begin{description}
\item[{The \sphinxtitleref{urlpatterns} list routes URLs to views. For more information please see:}] \leavevmode
\sphinxurl{https://docs.djangoproject.com/en/3.1/topics/http/urls/}

\end{description}

Examples:
Function views
\begin{enumerate}
\item {} 
Add an import:  from my\_app import views

\item {} 
Add a URL to urlpatterns:  path(‘’, views.home, name=’home’)

\end{enumerate}
\begin{description}
\item[{Class-based views}] \leavevmode\begin{enumerate}
\item {} 
Add an import:  from other\_app.views import Home

\item {} 
Add a URL to urlpatterns:  path(‘’, Home.as\_view(), name=’home’)

\end{enumerate}

\item[{Including another URLconf}] \leavevmode\begin{enumerate}
\item {} 
Import the include() function: from django.urls import include, path

\item {} 
Add a URL to urlpatterns:  path(‘blog/’, include(‘blog.urls’))

\end{enumerate}

\end{description}


\subsection{digiMED.wsgi module}
\label{\detokenize{digiMED:module-digiMED.wsgi}}\label{\detokenize{digiMED:digimed-wsgi-module}}\index{digiMED.wsgi (module)}
WSGI config for digiMED project.

It exposes the WSGI callable as a module-level variable named \sphinxcode{application}.

For more information on this file, see
\sphinxurl{https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/}


\subsection{Module contents}
\label{\detokenize{digiMED:module-digiMED}}\label{\detokenize{digiMED:module-contents}}\index{digiMED (module)}

\section{doctor package}
\label{\detokenize{doctor::doc}}\label{\detokenize{doctor:doctor-package}}

\subsection{Subpackages}
\label{\detokenize{doctor:subpackages}}

\subsection{Submodules}
\label{\detokenize{doctor:submodules}}

\subsection{doctor.admin module}
\label{\detokenize{doctor:module-doctor.admin}}\label{\detokenize{doctor:doctor-admin-module}}\index{doctor.admin (module)}

\subsection{doctor.apps module}
\label{\detokenize{doctor:doctor-apps-module}}\label{\detokenize{doctor:module-doctor.apps}}\index{doctor.apps (module)}\index{DoctorConfig (class in doctor.apps)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.apps.DoctorConfig}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{doctor.apps.}\sphinxbfcode{DoctorConfig}}{\emph{app\_name}, \emph{app\_module}}{}
Bases: \sphinxcode{django.apps.config.AppConfig}
\index{name (doctor.apps.DoctorConfig attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.apps.DoctorConfig.name}}\pysigline{\sphinxbfcode{name}\sphinxbfcode{ = 'doctor'}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{doctor.models module}
\label{\detokenize{doctor:module-doctor.models}}\label{\detokenize{doctor:doctor-models-module}}\index{doctor.models (module)}\index{doctorRequestsTable (class in doctor.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{doctor.models.}\sphinxbfcode{doctorRequestsTable}}{\emph{id}, \emph{pid}, \emph{docid}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{doctorRequestsTable.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{doctorRequestsTable.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{docid (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.docid}}\pysigline{\sphinxbfcode{docid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{docid\_id (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.docid_id}}\pysigline{\sphinxbfcode{docid\_id}}
\end{fulllineitems}

\index{id (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (doctor.models.doctorRequestsTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.models.doctorRequestsTable.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{doctor.tests module}
\label{\detokenize{doctor:module-doctor.tests}}\label{\detokenize{doctor:doctor-tests-module}}\index{doctor.tests (module)}

\subsection{doctor.urls module}
\label{\detokenize{doctor:doctor-urls-module}}\label{\detokenize{doctor:module-doctor.urls}}\index{doctor.urls (module)}

\subsection{doctor.views module}
\label{\detokenize{doctor:module-doctor.views}}\label{\detokenize{doctor:doctor-views-module}}\index{doctor.views (module)}\index{doctorRequest() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.doctorRequest}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{doctorRequest}}{\emph{request}}{}
It will store the patient id whose health records the current user/doctor wants to access
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{doctorSignup() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.doctorSignup}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{doctorSignup}}{\emph{request}}{}
It registers the details of the doctor and redirects the user to home page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{doctorshowhisttory() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.doctorshowhisttory}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{doctorshowhisttory}}{\emph{request}, \emph{patientid}}{}
It will show the health record of the patient
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{index() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.index}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{index}}{\emph{request}}{}
It will fetch the patient id whose health records are to be shown
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{login() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.login}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{login}}{\emph{request}}{}
Backup login page for doctor
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{logout() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.logout}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{logout}}{\emph{request}}{}
Logs out the user from his/her account
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{saveprescription() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.saveprescription}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{saveprescription}}{\emph{request}, \emph{patient}}{}
It will create a prescription record linking the doctor with his/her patient for whom the medicines are prescribed
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{saveprescriptionmedicine() (in module doctor.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{doctor:doctor.views.saveprescriptionmedicine}}\pysiglinewithargsret{\sphinxcode{doctor.views.}\sphinxbfcode{saveprescriptionmedicine}}{\emph{request}}{}
It will save the medicines prescribed by the doctor to his/her patient in the database
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}



\subsection{Module contents}
\label{\detokenize{doctor:module-doctor}}\label{\detokenize{doctor:module-contents}}\index{doctor (module)}

\section{lab package}
\label{\detokenize{lab::doc}}\label{\detokenize{lab:lab-package}}

\subsection{Subpackages}
\label{\detokenize{lab:subpackages}}

\subsection{Submodules}
\label{\detokenize{lab:submodules}}

\subsection{lab.admin module}
\label{\detokenize{lab:lab-admin-module}}\label{\detokenize{lab:module-lab.admin}}\index{lab.admin (module)}

\subsection{lab.apps module}
\label{\detokenize{lab:lab-apps-module}}\label{\detokenize{lab:module-lab.apps}}\index{lab.apps (module)}\index{LabConfig (class in lab.apps)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.apps.LabConfig}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{lab.apps.}\sphinxbfcode{LabConfig}}{\emph{app\_name}, \emph{app\_module}}{}
Bases: \sphinxcode{django.apps.config.AppConfig}
\index{name (lab.apps.LabConfig attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.apps.LabConfig.name}}\pysigline{\sphinxbfcode{name}\sphinxbfcode{ = 'lab'}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{lab.models module}
\label{\detokenize{lab:module-lab.models}}\label{\detokenize{lab:lab-models-module}}\index{lab.models (module)}\index{LabTest (class in lab.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{lab.models.}\sphinxbfcode{LabTest}}{\emph{id}, \emph{pid}, \emph{date}, \emph{test}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{LabTest.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{LabTest.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{date (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{id (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}

\index{test (lab.models.LabTest attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.models.LabTest.test}}\pysigline{\sphinxbfcode{test}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}


\end{fulllineitems}



\subsection{lab.tests module}
\label{\detokenize{lab:module-lab.tests}}\label{\detokenize{lab:lab-tests-module}}\index{lab.tests (module)}

\subsection{lab.urls module}
\label{\detokenize{lab:module-lab.urls}}\label{\detokenize{lab:lab-urls-module}}\index{lab.urls (module)}

\subsection{lab.views module}
\label{\detokenize{lab:module-lab.views}}\label{\detokenize{lab:lab-views-module}}\index{lab.views (module)}\index{index() (in module lab.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.views.index}}\pysiglinewithargsret{\sphinxcode{lab.views.}\sphinxbfcode{index}}{\emph{request}}{}
It fetches the pending requests from the database and shows on the main page of lab technician and also inserts into the database any of the lab test details filled by the lab technician
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{log() (in module lab.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.views.log}}\pysiglinewithargsret{\sphinxcode{lab.views.}\sphinxbfcode{log}}{\emph{request}}{}
Backup login page for lab technician
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{test() (in module lab.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{lab:lab.views.test}}\pysiglinewithargsret{\sphinxcode{lab.views.}\sphinxbfcode{test}}{\emph{request}}{}
It will show the webpage containing the form to be filled for the respective lab test
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} Default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML Webpage

\end{description}\end{quote}

\end{fulllineitems}



\subsection{Module contents}
\label{\detokenize{lab:module-contents}}\label{\detokenize{lab:module-lab}}\index{lab (module)}

\section{manage module}
\label{\detokenize{manage::doc}}\label{\detokenize{manage:manage-module}}\label{\detokenize{manage:module-manage}}\index{manage (module)}
Django’s command-line utility for administrative tasks.
\index{main() (in module manage)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{manage:manage.main}}\pysiglinewithargsret{\sphinxcode{manage.}\sphinxbfcode{main}}{}{}
Run administrative tasks.

\end{fulllineitems}



\section{patient package}
\label{\detokenize{patient::doc}}\label{\detokenize{patient:patient-package}}

\subsection{Subpackages}
\label{\detokenize{patient:subpackages}}

\subsection{Submodules}
\label{\detokenize{patient:submodules}}

\subsection{patient.admin module}
\label{\detokenize{patient:module-patient.admin}}\label{\detokenize{patient:patient-admin-module}}\index{patient.admin (module)}

\subsection{patient.apps module}
\label{\detokenize{patient:module-patient.apps}}\label{\detokenize{patient:patient-apps-module}}\index{patient.apps (module)}\index{PatientConfig (class in patient.apps)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.apps.PatientConfig}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.apps.}\sphinxbfcode{PatientConfig}}{\emph{app\_name}, \emph{app\_module}}{}
Bases: \sphinxcode{django.apps.config.AppConfig}
\index{name (patient.apps.PatientConfig attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.apps.PatientConfig.name}}\pysigline{\sphinxbfcode{name}\sphinxbfcode{ = 'patient'}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{patient.models module}
\label{\detokenize{patient:module-patient.models}}\label{\detokenize{patient:patient-models-module}}\index{patient.models (module)}\index{Basicmetabolismpanel (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Basicmetabolismpanel}}{\emph{id}, \emph{pid}, \emph{date}, \emph{glucose}, \emph{creatinine}, \emph{sodium}, \emph{potassium}, \emph{chloride}, \emph{carbon\_dioxide}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Basicmetabolismpanel.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Basicmetabolismpanel.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{carbon\_dioxide (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.carbon_dioxide}}\pysigline{\sphinxbfcode{carbon\_dioxide}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{chloride (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.chloride}}\pysigline{\sphinxbfcode{chloride}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{creatinine (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.creatinine}}\pysigline{\sphinxbfcode{creatinine}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{date (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Basicmetabolismpanel method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Basicmetabolismpanel method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{glucose (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.glucose}}\pysigline{\sphinxbfcode{glucose}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{id (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}

\index{potassium (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.potassium}}\pysigline{\sphinxbfcode{potassium}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{sodium (patient.models.Basicmetabolismpanel attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Basicmetabolismpanel.sodium}}\pysigline{\sphinxbfcode{sodium}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}


\end{fulllineitems}

\index{Commonbloodcount (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Commonbloodcount}}{\emph{id}, \emph{pid}, \emph{date}, \emph{wbc}, \emph{rbc}, \emph{hemoglobin}, \emph{hematocrit}, \emph{mcv}, \emph{mch}, \emph{mchc}, \emph{rdw}, \emph{platelets}, \emph{neurophils}, \emph{lymphs}, \emph{monocytes}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Commonbloodcount.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Commonbloodcount.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{date (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Commonbloodcount method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Commonbloodcount method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{hematocrit (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.hematocrit}}\pysigline{\sphinxbfcode{hematocrit}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{hemoglobin (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.hemoglobin}}\pysigline{\sphinxbfcode{hemoglobin}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{id (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{lymphs (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.lymphs}}\pysigline{\sphinxbfcode{lymphs}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{mch (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.mch}}\pysigline{\sphinxbfcode{mch}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{mchc (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.mchc}}\pysigline{\sphinxbfcode{mchc}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{mcv (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.mcv}}\pysigline{\sphinxbfcode{mcv}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{monocytes (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.monocytes}}\pysigline{\sphinxbfcode{monocytes}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{neurophils (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.neurophils}}\pysigline{\sphinxbfcode{neurophils}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}

\index{platelets (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.platelets}}\pysigline{\sphinxbfcode{platelets}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{rbc (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.rbc}}\pysigline{\sphinxbfcode{rbc}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{rdw (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.rdw}}\pysigline{\sphinxbfcode{rdw}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{wbc (patient.models.Commonbloodcount attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Commonbloodcount.wbc}}\pysigline{\sphinxbfcode{wbc}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}


\end{fulllineitems}

\index{Doctor (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Doctor}}{\emph{did}, \emph{name}, \emph{surname}, \emph{gender}, \emph{dob}, \emph{country}, \emph{profile\_id}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Doctor.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Doctor.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{country (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.country}}\pysigline{\sphinxbfcode{country}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{did (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.did}}\pysigline{\sphinxbfcode{did}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{dob (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.dob}}\pysigline{\sphinxbfcode{dob}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{doctorrequeststable\_set (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.doctorrequeststable_set}}\pysigline{\sphinxbfcode{doctorrequeststable\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{gender (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.gender}}\pysigline{\sphinxbfcode{gender}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{name (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.name}}\pysigline{\sphinxbfcode{name}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{patientgranttable\_set (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.patientgranttable_set}}\pysigline{\sphinxbfcode{patientgranttable\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{prescription\_set (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.prescription_set}}\pysigline{\sphinxbfcode{prescription\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{profile\_id (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.profile_id}}\pysigline{\sphinxbfcode{profile\_id}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{profile\_id\_id (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.profile_id_id}}\pysigline{\sphinxbfcode{profile\_id\_id}}
\end{fulllineitems}

\index{surname (patient.models.Doctor attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Doctor.surname}}\pysigline{\sphinxbfcode{surname}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}


\end{fulllineitems}

\index{Medication (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Medication}}{\emph{medid}, \emph{name}, \emph{generic\_name}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Medication.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Medication.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{generic\_name (patient.models.Medication attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.generic_name}}\pysigline{\sphinxbfcode{generic\_name}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{medid (patient.models.Medication attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.medid}}\pysigline{\sphinxbfcode{medid}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{name (patient.models.Medication attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.name}}\pysigline{\sphinxbfcode{name}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Medication attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{prescriptmed\_set (patient.models.Medication attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Medication.prescriptmed_set}}\pysigline{\sphinxbfcode{prescriptmed\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}


\end{fulllineitems}

\index{Mri (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Mri}}{\emph{id}, \emph{pid}, \emph{date}, \emph{mri}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Mri.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Mri.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{date (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Mri method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Mri method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{id (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{mri (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.mri}}\pysigline{\sphinxbfcode{mri}}
Just like the FileDescriptor, but for ImageFields. The only difference is
assigning the width/height to the width\_field/height\_field, if appropriate.

\end{fulllineitems}

\index{objects (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.Mri attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Mri.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}


\end{fulllineitems}

\index{Patient (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Patient}}{\emph{pid}, \emph{name}, \emph{surname}, \emph{gender}, \emph{date}, \emph{country}, \emph{street\_address}, \emph{city}, \emph{state}, \emph{postal}, \emph{profile\_id}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Patient.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Patient.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{basicmetabolismpanel\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.basicmetabolismpanel_set}}\pysigline{\sphinxbfcode{basicmetabolismpanel\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{city (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.city}}\pysigline{\sphinxbfcode{city}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{commonbloodcount\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.commonbloodcount_set}}\pysigline{\sphinxbfcode{commonbloodcount\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{country (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.country}}\pysigline{\sphinxbfcode{country}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{date (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{doctorrequeststable\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.doctorrequeststable_set}}\pysigline{\sphinxbfcode{doctorrequeststable\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{gender (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.gender}}\pysigline{\sphinxbfcode{gender}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Patient method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Patient method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{labtest\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.labtest_set}}\pysigline{\sphinxbfcode{labtest\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{mri\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.mri_set}}\pysigline{\sphinxbfcode{mri\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{name (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.name}}\pysigline{\sphinxbfcode{name}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{patientgranttable\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.patientgranttable_set}}\pysigline{\sphinxbfcode{patientgranttable\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{pid (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.pid}}\pysigline{\sphinxbfcode{pid}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{postal (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.postal}}\pysigline{\sphinxbfcode{postal}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{prescription\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.prescription_set}}\pysigline{\sphinxbfcode{prescription\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}

\index{profile\_id (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.profile_id}}\pysigline{\sphinxbfcode{profile\_id}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{profile\_id\_id (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.profile_id_id}}\pysigline{\sphinxbfcode{profile\_id\_id}}
\end{fulllineitems}

\index{state (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.state}}\pysigline{\sphinxbfcode{state}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{street\_address (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.street_address}}\pysigline{\sphinxbfcode{street\_address}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{surname (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.surname}}\pysigline{\sphinxbfcode{surname}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{xray\_set (patient.models.Patient attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Patient.xray_set}}\pysigline{\sphinxbfcode{xray\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}


\end{fulllineitems}

\index{Prescription (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Prescription}}{\emph{prescript\_id}, \emph{pid}, \emph{did}, \emph{date}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Prescription.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Prescription.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{date (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{did (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.did}}\pysigline{\sphinxbfcode{did}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{did\_id (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.did_id}}\pysigline{\sphinxbfcode{did\_id}}
\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Prescription method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Prescription method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{objects (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}

\index{prescript\_id (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.prescript_id}}\pysigline{\sphinxbfcode{prescript\_id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{prescriptmed\_set (patient.models.Prescription attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescription.prescriptmed_set}}\pysigline{\sphinxbfcode{prescriptmed\_set}}
Accessor to the related objects manager on the reverse side of a
many-to-one relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Parent.children} is a \sphinxcode{ReverseManyToOneDescriptor} instance.

Most of the implementation is delegated to a dynamically defined manager
class built by \sphinxcode{create\_forward\_many\_to\_many\_manager()} defined below.

\end{fulllineitems}


\end{fulllineitems}

\index{Prescriptmed (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Prescriptmed}}{\emph{id}, \emph{prescript\_id}, \emph{medid}, \emph{description}, \emph{days}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Prescriptmed.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Prescriptmed.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{days (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.days}}\pysigline{\sphinxbfcode{days}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{description (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.description}}\pysigline{\sphinxbfcode{description}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{id (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{medid (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.medid}}\pysigline{\sphinxbfcode{medid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{medid\_id (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.medid_id}}\pysigline{\sphinxbfcode{medid\_id}}
\end{fulllineitems}

\index{objects (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{prescript\_id (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.prescript_id}}\pysigline{\sphinxbfcode{prescript\_id}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{prescript\_id\_id (patient.models.Prescriptmed attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Prescriptmed.prescript_id_id}}\pysigline{\sphinxbfcode{prescript\_id\_id}}
\end{fulllineitems}


\end{fulllineitems}

\index{Xray (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{Xray}}{\emph{id}, \emph{pid}, \emph{date}, \emph{xray}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{Xray.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{Xray.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{date (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.date}}\pysigline{\sphinxbfcode{date}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{get\_next\_by\_date() (patient.models.Xray method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.get_next_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_next\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=True}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{get\_previous\_by\_date() (patient.models.Xray method)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.get_previous_by_date}}\pysiglinewithargsret{\sphinxbfcode{get\_previous\_by\_date}}{\emph{*}, \emph{field=\textless{}django.db.models.fields.DateField: date\textgreater{}}, \emph{is\_next=False}, \emph{**kwargs}}{}
\end{fulllineitems}

\index{id (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}

\index{xray (patient.models.Xray attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.Xray.xray}}\pysigline{\sphinxbfcode{xray}}
Just like the FileDescriptor, but for ImageFields. The only difference is
assigning the width/height to the width\_field/height\_field, if appropriate.

\end{fulllineitems}


\end{fulllineitems}

\index{patientGrantTable (class in patient.models)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable}}\pysiglinewithargsret{\sphinxbfcode{class }\sphinxcode{patient.models.}\sphinxbfcode{patientGrantTable}}{\emph{id}, \emph{pid}, \emph{docid}}{}
Bases: \sphinxcode{django.db.models.base.Model}
\index{patientGrantTable.DoesNotExist}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.DoesNotExist}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{DoesNotExist}}
Bases: \sphinxcode{django.core.exceptions.ObjectDoesNotExist}

\end{fulllineitems}

\index{patientGrantTable.MultipleObjectsReturned}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.MultipleObjectsReturned}}\pysigline{\sphinxbfcode{exception }\sphinxbfcode{MultipleObjectsReturned}}
Bases: \sphinxcode{django.core.exceptions.MultipleObjectsReturned}

\end{fulllineitems}

\index{docid (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.docid}}\pysigline{\sphinxbfcode{docid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{docid\_id (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.docid_id}}\pysigline{\sphinxbfcode{docid\_id}}
\end{fulllineitems}

\index{id (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.id}}\pysigline{\sphinxbfcode{id}}
A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

\end{fulllineitems}

\index{objects (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.objects}}\pysigline{\sphinxbfcode{objects}\sphinxbfcode{ = \textless{}django.db.models.manager.Manager object\textgreater{}}}
\end{fulllineitems}

\index{pid (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.pid}}\pysigline{\sphinxbfcode{pid}}
Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

\fvset{hllines={, ,}}%
\begin{sphinxVerbatim}[commandchars=\\\{\}]
\PYG{k}{class} \PYG{n+nc}{Child}\PYG{p}{(}\PYG{n}{Model}\PYG{p}{)}\PYG{p}{:}
    \PYG{n}{parent} \PYG{o}{=} \PYG{n}{ForeignKey}\PYG{p}{(}\PYG{n}{Parent}\PYG{p}{,} \PYG{n}{related\PYGZus{}name}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{children}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\end{sphinxVerbatim}

\sphinxcode{Child.parent} is a \sphinxcode{ForwardManyToOneDescriptor} instance.

\end{fulllineitems}

\index{pid\_id (patient.models.patientGrantTable attribute)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.models.patientGrantTable.pid_id}}\pysigline{\sphinxbfcode{pid\_id}}
\end{fulllineitems}


\end{fulllineitems}



\subsection{patient.tests module}
\label{\detokenize{patient:patient-tests-module}}\label{\detokenize{patient:module-patient.tests}}\index{patient.tests (module)}

\subsection{patient.urls module}
\label{\detokenize{patient:module-patient.urls}}\label{\detokenize{patient:patient-urls-module}}\index{patient.urls (module)}

\subsection{patient.views module}
\label{\detokenize{patient:module-patient.views}}\label{\detokenize{patient:patient-views-module}}\index{patient.views (module)}\index{grantedRequests() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.grantedRequests}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{grantedRequests}}{\emph{request}}{}
Function call to render login page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{index() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.index}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{index}}{\emph{request}}{}
Function call to render home page of Patient
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{login() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.login}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{login}}{\emph{request}}{}
Function call to render login page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{logout() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.logout}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{logout}}{\emph{request}}{}
Function call to render logout/login page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{patientGrant() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.patientGrant}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{patientGrant}}{\emph{request}}{}
Function call to render login page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{patientSignup() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.patientSignup}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{patientSignup}}{\emph{request}}{}
Function call to render login page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{requestLab() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.requestLab}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{requestLab}}{\emph{request}}{}
Function call to render Lab Test Request page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}

\index{showHistory() (in module patient.views)}

\begin{fulllineitems}
\phantomsection\label{\detokenize{patient:patient.views.showHistory}}\pysiglinewithargsret{\sphinxcode{patient.views.}\sphinxbfcode{showHistory}}{\emph{request}}{}
Function call to render Patints History page
\begin{quote}\begin{description}
\item[{Parameters}] \leavevmode
\sphinxstyleliteralstrong{request} \textendash{} default HttpRequest object

\item[{Returns}] \leavevmode
Rendered HTML webpage

\end{description}\end{quote}

\end{fulllineitems}



\subsection{Module contents}
\label{\detokenize{patient:module-contents}}\label{\detokenize{patient:module-patient}}\index{patient (module)}

\chapter{Indices and tables}
\label{\detokenize{index:indices-and-tables}}\begin{itemize}
\item {} 
\DUrole{xref,std,std-ref}{genindex}

\item {} 
\DUrole{xref,std,std-ref}{modindex}

\item {} 
\DUrole{xref,std,std-ref}{search}

\end{itemize}


\renewcommand{\indexname}{Python Module Index}
\begin{sphinxtheindex}
\def\bigletter#1{{\Large\sffamily#1}\nopagebreak\vspace{1mm}}
\bigletter{a}
\item {\sphinxstyleindexentry{Account}}\sphinxstyleindexpageref{Account:\detokenize{module-Account}}
\item {\sphinxstyleindexentry{Account.admin}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.admin}}
\item {\sphinxstyleindexentry{Account.apps}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.apps}}
\item {\sphinxstyleindexentry{Account.models}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.models}}
\item {\sphinxstyleindexentry{Account.tests}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.tests}}
\item {\sphinxstyleindexentry{Account.urls}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.urls}}
\item {\sphinxstyleindexentry{Account.views}}\sphinxstyleindexpageref{Account:\detokenize{module-Account.views}}
\indexspace
\bigletter{d}
\item {\sphinxstyleindexentry{digiMED}}\sphinxstyleindexpageref{digiMED:\detokenize{module-digiMED}}
\item {\sphinxstyleindexentry{digiMED.asgi}}\sphinxstyleindexpageref{digiMED:\detokenize{module-digiMED.asgi}}
\item {\sphinxstyleindexentry{digiMED.settings}}\sphinxstyleindexpageref{digiMED:\detokenize{module-digiMED.settings}}
\item {\sphinxstyleindexentry{digiMED.urls}}\sphinxstyleindexpageref{digiMED:\detokenize{module-digiMED.urls}}
\item {\sphinxstyleindexentry{digiMED.wsgi}}\sphinxstyleindexpageref{digiMED:\detokenize{module-digiMED.wsgi}}
\item {\sphinxstyleindexentry{doctor}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor}}
\item {\sphinxstyleindexentry{doctor.admin}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.admin}}
\item {\sphinxstyleindexentry{doctor.apps}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.apps}}
\item {\sphinxstyleindexentry{doctor.models}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.models}}
\item {\sphinxstyleindexentry{doctor.tests}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.tests}}
\item {\sphinxstyleindexentry{doctor.urls}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.urls}}
\item {\sphinxstyleindexentry{doctor.views}}\sphinxstyleindexpageref{doctor:\detokenize{module-doctor.views}}
\indexspace
\bigletter{l}
\item {\sphinxstyleindexentry{lab}}\sphinxstyleindexpageref{lab:\detokenize{module-lab}}
\item {\sphinxstyleindexentry{lab.admin}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.admin}}
\item {\sphinxstyleindexentry{lab.apps}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.apps}}
\item {\sphinxstyleindexentry{lab.models}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.models}}
\item {\sphinxstyleindexentry{lab.tests}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.tests}}
\item {\sphinxstyleindexentry{lab.urls}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.urls}}
\item {\sphinxstyleindexentry{lab.views}}\sphinxstyleindexpageref{lab:\detokenize{module-lab.views}}
\indexspace
\bigletter{m}
\item {\sphinxstyleindexentry{manage}}\sphinxstyleindexpageref{manage:\detokenize{module-manage}}
\indexspace
\bigletter{p}
\item {\sphinxstyleindexentry{patient}}\sphinxstyleindexpageref{patient:\detokenize{module-patient}}
\item {\sphinxstyleindexentry{patient.admin}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.admin}}
\item {\sphinxstyleindexentry{patient.apps}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.apps}}
\item {\sphinxstyleindexentry{patient.models}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.models}}
\item {\sphinxstyleindexentry{patient.tests}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.tests}}
\item {\sphinxstyleindexentry{patient.urls}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.urls}}
\item {\sphinxstyleindexentry{patient.views}}\sphinxstyleindexpageref{patient:\detokenize{module-patient.views}}
\end{sphinxtheindex}

\renewcommand{\indexname}{Index}
\printindex
\end{document}