PatientDiaryModel

Incomplete documentation - sorry!

Note

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

methods and attributes

class lib_openmolar.client.db_orm.table_models.patient_diary_model.PatientDiaryModel(parent=None)[source]

Bases: PyQt4.QtCore.QAbstractItemModel

a model to display a the patient diary in a sensible manner

__init__(parent=None)[source]
clear()
columnCount(parent)
data(index, role)
headerData(column, orientation, role)
index(row, column, parent)
insert_appointment(patient_id, trt1, trt2, len, memo, preferred_practitioner)
modify_appointment(apptix, trt1, trt2, len, memo, preferred_practitioner)
normal_icon
parent(index)
past_items
receive_db_notification(notification, payload)
refresh()

force a reload of the appointment data for this patient

remove_appointment(ix)
rowCount(index)
selected_icon
set_patient(patient_id)[source]

Table Of Contents

Previous topic

PatientDB

Next topic

PatientInterface