PatientDB

Incomplete documentation - sorry!

Note

Neil - please put some data in technical/class_headings/PatientDB.rst

methods and attributes

class lib_openmolar.client.db_orm.client_patient.PatientDB(patient_id)[source]

Bases: PyQt4.QtSql.QSqlRecord

__init__(patient_id)[source]
age_tuple()[source]

return the age in form (year(int), months(int), isToday(bool))

commit_changes()[source]
details_html()[source]
editable_fields[source]

a property called by dialogs which edit this class hence the order is important! a list of tuples. item0 in the tuple is the field name used by the db item) is the string displayed to the user.

full_name[source]
is_dirty[source]
patient_id = None

Table Of Contents

Previous topic

NotesWidget

Next topic

PatientDiaryModel