예제 #1
0
 def __init__(self, parent):
     CMonitoringModel.__init__(self, parent)
     self.items = []
     self.eventIdList = []
     self.formColumnsList(1)
     self.timeRangeColors = []
     self.unconsciousPatientRowColor = u'red'
예제 #2
0
 def __init__(self, parent):
     CMonitoringModel.__init__(self, parent)
     self.items = []
     self._cols = [
         CMonitoringCol(u'Карта', ['externalId'], 20, 'l'),  #0
         CMonitoringCol(u'ФИО', ['clientName'], 30, 'l'),  #1
         CMonitoringCol(u'Пол', ['sex'], 15, 'l'),  #2
         CMonitoringCol(u'Дата рождения', ['birthDate'], 20, 'l'),  #3
         CMonitoringCol(u'Врач', ['namePerson'], 30, 'l'),  #4
         CMonitoringCol(u'Действие', ['actionName'], 30, 'l'),  #5
         CMonitoringCol(u'Результат', ['result'], 30, 'l'),  #6
         CMonitoringCol(u'Подразделение', ['nameOS'], 30, 'l'),  #7
         CMonitoringCol(u'Койка', ['codeBed', 'nameBed'], 30, 'l'),  #8
         CMonitoringCol(u'Начало', ['begDate'], 20, 'l'),  #9
         CMonitoringCol(u'Окончание', ['endDate'], 20, 'l')  #10
     ]
예제 #3
0
 def __init__(self, parent):
     CMonitoringModel.__init__(self, parent)
     self.items = []
     self.formColumnsList(5)
예제 #4
0
 def __init__(self, parent):
     CMonitoringModel.__init__(self, parent)
     self.items = []
     self.formColumnsList(7)
     self.getColumnByFieldName('begDateString').setTitle(u'Госпитализирован', True)