class Ui_ExportActionResult_Wizard_1(object):
    def setupUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setObjectName(
            _fromUtf8("ExportActionResult_Wizard_1"))
        ExportActionResult_Wizard_1.resize(640, 504)
        self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1)
        self.treeContracts.setObjectName(_fromUtf8("treeContracts"))
        self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabEvent = QtGui.QWidget()
        self.tabEvent.setObjectName(_fromUtf8("tabEvent"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent)
        self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose"))
        self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1)
        self.chkEventType = QtGui.QCheckBox(self.tabEvent)
        self.chkEventType.setObjectName(_fromUtf8("chkEventType"))
        self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(self.tabEvent)
        self.cmbEventPurpose.setEnabled(False)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1)
        self.cmbEventType = CRBComboBox(self.tabEvent)
        self.cmbEventType.setEnabled(False)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtEventExecBegDate = CDateEdit(self.tabEvent)
        self.edtEventExecBegDate.setEnabled(False)
        self.edtEventExecBegDate.setObjectName(
            _fromUtf8("edtEventExecBegDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecBegDate)
        self.edtEventExecEndDate = CDateEdit(self.tabEvent)
        self.edtEventExecEndDate.setEnabled(False)
        self.edtEventExecEndDate.setObjectName(
            _fromUtf8("edtEventExecEndDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate"))
        self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1)
        self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate"))
        self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEventSetBegDate = CDateEdit(self.tabEvent)
        self.edtEventSetBegDate.setEnabled(False)
        self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetBegDate)
        self.edtEventSetEndDate = CDateEdit(self.tabEvent)
        self.edtEventSetEndDate.setEnabled(False)
        self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
        self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent)
        self.cmbEventLPU.setEnabled(False)
        self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU"))
        self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1)
        self.chkEventLPU = QtGui.QCheckBox(self.tabEvent)
        self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU"))
        self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1)
        self.tabFilter.addTab(self.tabEvent, _fromUtf8(""))
        self.tabAction = QtGui.QWidget()
        self.tabAction.setObjectName(_fromUtf8("tabAction"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkActionDate = QtGui.QCheckBox(self.tabAction)
        self.chkActionDate.setObjectName(_fromUtf8("chkActionDate"))
        self.verticalLayout_3.addWidget(self.chkActionDate)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtActionBegDate = CDateEdit(self.tabAction)
        self.edtActionBegDate.setEnabled(False)
        self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate"))
        self.horizontalLayout_2.addWidget(self.edtActionBegDate)
        self.edtActionEndDate = CDateEdit(self.tabAction)
        self.edtActionEndDate.setEnabled(False)
        self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate"))
        self.horizontalLayout_2.addWidget(self.edtActionEndDate)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.chkActionStatus = QtGui.QCheckBox(self.tabAction)
        self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus"))
        self.verticalLayout_3.addWidget(self.chkActionStatus)
        self.cmbActionStatus = QtGui.QComboBox(self.tabAction)
        self.cmbActionStatus.setEnabled(False)
        self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus"))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionStatus)
        self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction)
        self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson"))
        self.verticalLayout_3.addWidget(self.chkActionSetPerson)
        self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction)
        self.cmbActionSetPerson.setEnabled(False)
        self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson"))
        self.verticalLayout_3.addWidget(self.cmbActionSetPerson)
        self.chkActionClass = QtGui.QCheckBox(self.tabAction)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.verticalLayout_3.addWidget(self.chkActionClass)
        self.cmbActionClass = QtGui.QComboBox(self.tabAction)
        self.cmbActionClass.setEnabled(False)
        self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass"))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionClass)
        self.chkActionType = QtGui.QCheckBox(self.tabAction)
        self.chkActionType.setObjectName(_fromUtf8("chkActionType"))
        self.verticalLayout_3.addWidget(self.chkActionType)
        self.cmbActionType = CActionTypeComboBox(self.tabAction)
        self.cmbActionType.setEnabled(False)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.verticalLayout_3.addWidget(self.cmbActionType)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.tabFilter.addTab(self.tabAction, _fromUtf8(""))
        self.tabAdditional = QtGui.QWidget()
        self.tabAdditional.setObjectName(_fromUtf8("tabAdditional"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.tabAdditional)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientEventInfo.setObjectName(
            _fromUtf8("chkIncludeClientEventInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo)
        self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientWorkInfo.setObjectName(
            _fromUtf8("chkIncludeClientWorkInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo)
        self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientAddressInfo.setObjectName(
            _fromUtf8("chkIncludeClientAddressInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo)
        self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientDocumentInfo.setObjectName(
            _fromUtf8("chkIncludeClientDocumentInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo)
        self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientContactInfo.setObjectName(
            _fromUtf8("chkIncludeClientContactInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.tabFilter.addTab(self.tabAdditional, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabFilter)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.btnResetFilter = QtGui.QPushButton(self.groupBox)
        self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter"))
        self.horizontalLayout.addWidget(self.btnResetFilter)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.groupBox)
        self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1)

        self.retranslateUi(ExportActionResult_Wizard_1)
        self.tabFilter.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ExportActionResult_Wizard_1)
        ExportActionResult_Wizard_1.setTabOrder(self.treeContracts,
                                                self.tabFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.tabFilter,
                                                self.chkEventExecDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventExecDate,
                                                self.edtEventExecBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecBegDate,
                                                self.edtEventExecEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecEndDate,
                                                self.chkEventSetDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventSetDate,
                                                self.edtEventSetBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetBegDate,
                                                self.edtEventSetEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetEndDate,
                                                self.chkEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventPurpose,
                                                self.cmbEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventPurpose,
                                                self.chkEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventType,
                                                self.cmbEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventType,
                                                self.chkEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventLPU,
                                                self.cmbEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventLPU,
                                                self.btnResetFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.btnResetFilter,
                                                self.chkActionDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionDate,
                                                self.edtActionBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionBegDate,
                                                self.edtActionEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionEndDate,
                                                self.chkActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionStatus,
                                                self.cmbActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionStatus,
                                                self.chkActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionSetPerson,
                                                self.cmbActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionSetPerson,
                                                self.chkActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionClass,
                                                self.cmbActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionClass,
                                                self.chkActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionType,
                                                self.cmbActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionType,
                                                self.chkIncludeClientEventInfo)
        ExportActionResult_Wizard_1.setTabOrder(self.chkIncludeClientEventInfo,
                                                self.chkIncludeClientWorkInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientWorkInfo, self.chkIncludeClientAddressInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientAddressInfo,
            self.chkIncludeClientDocumentInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientDocumentInfo,
            self.chkIncludeClientContactInfo)

    def retranslateUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setWindowTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Экспорт результатов действий", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventPurpose.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventExecDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период выполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventSetDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период назначения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventLPU.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabEvent),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionStatus.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Состояние", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Начато", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Закончено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionSetPerson.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначил", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionClass.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Класс действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Диагностика", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Лечение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Прочие мероприятия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAction),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Действие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Для пациента выгружать данные о:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientEventInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событии", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientWorkInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Занятости", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientAddressInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Адресе", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientDocumentInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Документе удост. личность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientContactInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Контактах", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAdditional),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Дополнительно", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnResetFilter.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Сброс", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemple #2
0
class Ui_EventNotesPageWidget(object):
    def setupUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setObjectName(_fromUtf8("EventNotesPageWidget"))
        EventNotesPageWidget.resize(732, 659)
        self.verticalLayout = QtGui.QVBoxLayout(EventNotesPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(EventNotesPageWidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMain)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabMain)
        self.scrollArea.setMinimumSize(QtCore.QSize(700, 0))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 680, 1010))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbCureType = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureType.sizePolicy().hasHeightForWidth())
        self.cmbCureType.setSizePolicy(sizePolicy)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout.addWidget(self.cmbCureType, 28, 1, 1, 3)
        self.edtPlannedDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout.addWidget(self.edtPlannedDate, 10, 1, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.scrollAreaWidgetContents)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 15, 1, 1, 3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbRelegateOrg = CPolyclinicComboBox(self.scrollAreaWidgetContents)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.horizontalLayout.addWidget(self.cmbRelegateOrg)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectRelegateOrg.setObjectName(_fromUtf8("btnSelectRelegateOrg"))
        self.horizontalLayout.addWidget(self.btnSelectRelegateOrg)
        self.gridLayout.addLayout(self.horizontalLayout, 11, 1, 1, 3)
        self.lblRelegateOrg = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout.addWidget(self.lblRelegateOrg, 11, 0, 1, 1)
        self.cmbCureMethod = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureMethod.sizePolicy().hasHeightForWidth())
        self.cmbCureMethod.setSizePolicy(sizePolicy)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout.addWidget(self.cmbCureMethod, 29, 1, 1, 3)
        self.lblEventCreateDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreateDateTime.setObjectName(_fromUtf8("lblEventCreateDateTime"))
        self.gridLayout.addWidget(self.lblEventCreateDateTime, 23, 0, 1, 1)
        self.lblArmyDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout.addWidget(self.lblArmyDate, 18, 0, 1, 1)
        self.lblEventCuratorIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCuratorIdValue.setObjectName(_fromUtf8("lblEventCuratorIdValue"))
        self.gridLayout.addWidget(self.lblEventCuratorIdValue, 22, 0, 1, 1)
        self.lblEventCreatePersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreatePersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreatePersonValue.setSizePolicy(sizePolicy)
        self.lblEventCreatePersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreatePersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreatePersonValue.setText(_fromUtf8(""))
        self.lblEventCreatePersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreatePersonValue.setObjectName(_fromUtf8("lblEventCreatePersonValue"))
        self.gridLayout.addWidget(self.lblEventCreatePersonValue, 24, 1, 1, 3)
        self.chkLock = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLock.setEnabled(False)
        self.chkLock.setText(_fromUtf8(""))
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridLayout.addWidget(self.chkLock, 32, 1, 1, 3)
        self.edtPerson = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPerson.setMinimumSize(QtCore.QSize(347, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout.addWidget(self.edtPerson, 13, 1, 1, 3)
        self.chkArmyReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyReferral.setObjectName(_fromUtf8("chkArmyReferral"))
        self.gridLayout.addWidget(self.chkArmyReferral, 16, 0, 1, 4)
        self.edtPrevEventInfo = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPrevEventInfo.setEnabled(False)
        self.edtPrevEventInfo.setObjectName(_fromUtf8("edtPrevEventInfo"))
        self.gridLayout.addWidget(self.edtPrevEventInfo, 2, 1, 1, 3)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventAssistantIdValue.setObjectName(_fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout.addWidget(self.lblEventAssistantIdValue, 21, 0, 1, 1)
        self.lblEventCreatePerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreatePerson.setObjectName(_fromUtf8("lblEventCreatePerson"))
        self.gridLayout.addWidget(self.lblEventCreatePerson, 24, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbClientPolicy = CClientPolicyComboBox(self.scrollAreaWidgetContents)
        self.cmbClientPolicy.setObjectName(_fromUtf8("cmbClientPolicy"))
        self.gridLayout.addWidget(self.cmbClientPolicy, 4, 1, 1, 3)
        self.lblArmyNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout.addWidget(self.lblArmyNumber, 17, 0, 1, 1)
        self.lblNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 8, 0, 1, 1)
        self.cmbEventCurator = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventCurator.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventCurator.sizePolicy().hasHeightForWidth())
        self.cmbEventCurator.setSizePolicy(sizePolicy)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout.addWidget(self.cmbEventCurator, 22, 1, 1, 3)
        self.lblCureType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout.addWidget(self.lblCureType, 28, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(321, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 3)
        self.lblClientPolicy = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblClientPolicy.setObjectName(_fromUtf8("lblClientPolicy"))
        self.gridLayout.addWidget(self.lblClientPolicy, 4, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.cmbArmyOrg = CArmyOrgComboBox(self.scrollAreaWidgetContents)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.horizontalLayout_4.addWidget(self.cmbArmyOrg)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.horizontalLayout_4.addWidget(self.btnSelectArmyOrg)
        self.gridLayout.addLayout(self.horizontalLayout_4, 19, 1, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.chkArmyFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyFreeInput.setText(_fromUtf8(""))
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.chkArmyFreeInput)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtArmyFreeInput.setEnabled(False)
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.edtArmyFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_3, 20, 1, 1, 3)
        self.cmbEventAssistant = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventAssistant.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventAssistant.sizePolicy().hasHeightForWidth())
        self.cmbEventAssistant.setSizePolicy(sizePolicy)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout.addWidget(self.cmbEventAssistant, 21, 1, 1, 3)
        self.lblPrevEvent = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPrevEvent.setObjectName(_fromUtf8("lblPrevEvent"))
        self.gridLayout.addWidget(self.lblPrevEvent, 2, 0, 1, 1)
        self.cmbPatientModel = CModelPatientComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPatientModel.sizePolicy().hasHeightForWidth())
        self.cmbPatientModel.setSizePolicy(sizePolicy)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout.addWidget(self.cmbPatientModel, 27, 1, 1, 3)
        self.edtDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 9, 1, 1, 3)
        self.btnExternalIdupd = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnExternalIdupd.setVisible(False)
        self.btnExternalIdupd.setObjectName(_fromUtf8("btnExternalIdupd"))
        self.gridLayout.addWidget(self.btnExternalIdupd, 3, 1, 1, 1)
        self.lblEventExternalId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventExternalId.setObjectName(_fromUtf8("lblEventExternalId"))
        self.gridLayout.addWidget(self.lblEventExternalId, 1, 0, 1, 1)
        self.lblEventNote = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventNote.sizePolicy().hasHeightForWidth())
        self.lblEventNote.setSizePolicy(sizePolicy)
        self.lblEventNote.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblEventNote.setObjectName(_fromUtf8("lblEventNote"))
        self.gridLayout.addWidget(self.lblEventNote, 31, 0, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout.addWidget(self.lblPlannedDate, 10, 0, 1, 1)
        self.lblEventModifyPersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyPersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyPersonValue.setSizePolicy(sizePolicy)
        self.lblEventModifyPersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyPersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyPersonValue.setText(_fromUtf8(""))
        self.lblEventModifyPersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyPersonValue.setObjectName(_fromUtf8("lblEventModifyPersonValue"))
        self.gridLayout.addWidget(self.lblEventModifyPersonValue, 26, 1, 1, 3)
        self.lblCureMethod = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout.addWidget(self.lblCureMethod, 29, 0, 1, 1)
        self.chkLPUReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLPUReferral.setObjectName(_fromUtf8("chkLPUReferral"))
        self.gridLayout.addWidget(self.chkLPUReferral, 6, 0, 1, 4)
        self.edtEventNote = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.edtEventNote.setObjectName(_fromUtf8("edtEventNote"))
        self.gridLayout.addWidget(self.edtEventNote, 31, 1, 1, 3)
        self.lblDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 9, 0, 1, 1)
        self.edtEventExternalIdValue = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtEventExternalIdValue.setEnabled(False)
        self.edtEventExternalIdValue.setObjectName(_fromUtf8("edtEventExternalIdValue"))
        self.gridLayout.addWidget(self.edtEventExternalIdValue, 1, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 15, 0, 1, 1)
        self.lblEventModifyDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyDateTime.setObjectName(_fromUtf8("lblEventModifyDateTime"))
        self.gridLayout.addWidget(self.lblEventModifyDateTime, 25, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout.addWidget(self.lblPatientModel, 27, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkFreeInput.setText(_fromUtf8(""))
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.horizontalLayout_2.addWidget(self.chkFreeInput)
        self.edtFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtFreeInput.setEnabled(False)
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.horizontalLayout_2.addWidget(self.edtFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_2, 12, 1, 1, 3)
        self.lblEventCreateDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreateDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreateDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventCreateDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreateDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreateDateTimeValue.setText(_fromUtf8(""))
        self.lblEventCreateDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreateDateTimeValue.setObjectName(_fromUtf8("lblEventCreateDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventCreateDateTimeValue, 23, 1, 1, 3)
        self.lblArmyFreeInput = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout.addWidget(self.lblArmyFreeInput, 19, 0, 1, 1)
        self.lblEventId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout.addWidget(self.lblEventId, 0, 0, 1, 1)
        self.lblEventIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventIdValue.sizePolicy().hasHeightForWidth())
        self.lblEventIdValue.setSizePolicy(sizePolicy)
        self.lblEventIdValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventIdValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventIdValue.setText(_fromUtf8(""))
        self.lblEventIdValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventIdValue.setObjectName(_fromUtf8("lblEventIdValue"))
        self.gridLayout.addWidget(self.lblEventIdValue, 0, 1, 1, 3)
        self.lblLock = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblLock.setEnabled(False)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridLayout.addWidget(self.lblLock, 32, 0, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout.addWidget(self.cmbArmyNumber, 17, 1, 1, 3)
        self.lblEventModifyDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventModifyDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyDateTimeValue.setText(_fromUtf8(""))
        self.lblEventModifyDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyDateTimeValue.setObjectName(_fromUtf8("lblEventModifyDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventModifyDateTimeValue, 25, 1, 1, 3)
        self.lblEventModifyPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyPerson.setObjectName(_fromUtf8("lblEventModifyPerson"))
        self.gridLayout.addWidget(self.lblEventModifyPerson, 26, 0, 1, 1)
        self.edtArmyDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout.addWidget(self.edtArmyDate, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 13, 0, 1, 1)
        self.lblRefType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRefType.setObjectName(_fromUtf8("lblRefType"))
        self.gridLayout.addWidget(self.lblRefType, 7, 0, 1, 1)
        self.cmbReferralType = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 7, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 8, 1, 1, 3)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_2.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabIEMK = QtGui.QWidget()
        self.tabIEMK.setObjectName(_fromUtf8("tabIEMK"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabIEMK)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.txtBrowserIEMKHistoryLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKHistoryLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKHistoryLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKHistoryLog.setObjectName(_fromUtf8("txtBrowserIEMKHistoryLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKHistoryLog, 1, 0, 1, 4)
        self.btnSendCase = QtGui.QPushButton(self.tabIEMK)
        self.btnSendCase.setObjectName(_fromUtf8("btnSendCase"))
        self.gridLayout_3.addWidget(self.btnSendCase, 9, 2, 1, 2)
        self.btnSendClient = QtGui.QPushButton(self.tabIEMK)
        self.btnSendClient.setObjectName(_fromUtf8("btnSendClient"))
        self.gridLayout_3.addWidget(self.btnSendClient, 9, 0, 1, 2)
        self.label = QtGui.QLabel(self.tabIEMK)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 4)
        self.chkWebEpicrisis = QtGui.QCheckBox(self.tabIEMK)
        self.chkWebEpicrisis.setObjectName(_fromUtf8("chkWebEpicrisis"))
        self.gridLayout_3.addWidget(self.chkWebEpicrisis, 8, 0, 1, 4)
        self.txtBrowserIEMKCurrentLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKCurrentLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKCurrentLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKCurrentLog.setObjectName(_fromUtf8("txtBrowserIEMKCurrentLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKCurrentLog, 3, 0, 1, 4)
        self.label_3 = QtGui.QLabel(self.tabIEMK)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 4, 0, 1, 1)
        self.edtCaseURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtCaseURL.setObjectName(_fromUtf8("edtCaseURL"))
        self.gridLayout_3.addWidget(self.edtCaseURL, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(self.tabIEMK)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 2, 0, 1, 4)
        self.edtPixURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtPixURL.setObjectName(_fromUtf8("edtPixURL"))
        self.gridLayout_3.addWidget(self.edtPixURL, 5, 1, 1, 3)
        self.label_4 = QtGui.QLabel(self.tabIEMK)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 5, 0, 1, 1)
        self.btnCreateService = QtGui.QPushButton(self.tabIEMK)
        self.btnCreateService.setObjectName(_fromUtf8("btnCreateService"))
        self.gridLayout_3.addWidget(self.btnCreateService, 7, 0, 1, 4)
        self.label_5 = QtGui.QLabel(self.tabIEMK)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 6, 0, 1, 1)
        self.edtGUID = QtGui.QLineEdit(self.tabIEMK)
        self.edtGUID.setObjectName(_fromUtf8("edtGUID"))
        self.gridLayout_3.addWidget(self.edtGUID, 6, 1, 1, 3)
        self.tabWidget.addTab(self.tabIEMK, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblEventCuratorIdValue.setBuddy(self.cmbEventCurator)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblEventExternalId.setBuddy(self.edtEventExternalIdValue)
        self.lblEventNote.setBuddy(self.edtEventNote)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblDate.setBuddy(self.edtDate)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblLock.setBuddy(self.chkLock)
        self.lblPerson.setBuddy(self.edtPerson)

        self.retranslateUi(EventNotesPageWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(EventNotesPageWidget)
        EventNotesPageWidget.setTabOrder(self.edtEventExternalIdValue, self.edtPrevEventInfo)
        EventNotesPageWidget.setTabOrder(self.edtPrevEventInfo, self.cmbClientPolicy)
        EventNotesPageWidget.setTabOrder(self.cmbClientPolicy, self.chkLPUReferral)
        EventNotesPageWidget.setTabOrder(self.chkLPUReferral, self.cmbReferralType)
        EventNotesPageWidget.setTabOrder(self.cmbReferralType, self.edtNumber)
        EventNotesPageWidget.setTabOrder(self.edtNumber, self.edtDate)
        EventNotesPageWidget.setTabOrder(self.edtDate, self.edtPlannedDate)
        EventNotesPageWidget.setTabOrder(self.edtPlannedDate, self.cmbRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectRelegateOrg, self.chkFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtFreeInput, self.edtPerson)
        EventNotesPageWidget.setTabOrder(self.edtPerson, self.cmbSpeciality)
        EventNotesPageWidget.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        EventNotesPageWidget.setTabOrder(self.cmbMKB, self.chkArmyReferral)
        EventNotesPageWidget.setTabOrder(self.chkArmyReferral, self.cmbArmyNumber)
        EventNotesPageWidget.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        EventNotesPageWidget.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        EventNotesPageWidget.setTabOrder(self.cmbArmyOrg, self.btnSelectArmyOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectArmyOrg, self.chkArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkArmyFreeInput, self.edtArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtArmyFreeInput, self.cmbEventAssistant)
        EventNotesPageWidget.setTabOrder(self.cmbEventAssistant, self.cmbEventCurator)
        EventNotesPageWidget.setTabOrder(self.cmbEventCurator, self.chkLock)
        EventNotesPageWidget.setTabOrder(self.chkLock, self.cmbCureType)
        EventNotesPageWidget.setTabOrder(self.cmbCureType, self.cmbPatientModel)
        EventNotesPageWidget.setTabOrder(self.cmbPatientModel, self.cmbCureMethod)
        EventNotesPageWidget.setTabOrder(self.cmbCureMethod, self.edtEventNote)

    def retranslateUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setWindowTitle(_translate("EventNotesPageWidget", "Form", None))
        self.edtPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.btnSelectRelegateOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblRelegateOrg.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventCreateDateTime.setText(_translate("EventNotesPageWidget", "Дата и время создания", None))
        self.lblArmyDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblEventCuratorIdValue.setText(_translate("EventNotesPageWidget", "Куратор", None))
        self.chkArmyReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из военкомата", None))
        self.lblEventAssistantIdValue.setText(_translate("EventNotesPageWidget", "Ассистент", None))
        self.lblEventCreatePerson.setText(_translate("EventNotesPageWidget", "Автор", None))
        self.lblSpeciality.setText(_translate("EventNotesPageWidget", "Специальность", None))
        self.lblArmyNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblCureType.setText(_translate("EventNotesPageWidget", "Вид лечения", None))
        self.cmbSpeciality.setWhatsThis(_translate("EventNotesPageWidget", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None))
        self.lblClientPolicy.setText(_translate("EventNotesPageWidget", "Полис пациента", None))
        self.btnSelectArmyOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblPrevEvent.setText(_translate("EventNotesPageWidget", "Предыдущее событие", None))
        self.btnExternalIdupd.setText(_translate("EventNotesPageWidget", "Обновить внешний индентификатор записи", None))
        self.lblEventExternalId.setText(_translate("EventNotesPageWidget", "Внешний идентификатор записи", None))
        self.lblEventNote.setText(_translate("EventNotesPageWidget", "Примечания", None))
        self.lblPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(_translate("EventNotesPageWidget", "Дата планируемой госпитализации", None))
        self.lblCureMethod.setText(_translate("EventNotesPageWidget", "Метод лечения", None))
        self.chkLPUReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из ЛПУ", None))
        self.lblDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblDiagnosis.setText(_translate("EventNotesPageWidget", "Диагноз", None))
        self.lblEventModifyDateTime.setText(_translate("EventNotesPageWidget", "Дата и время последнего изменения", None))
        self.lblPatientModel.setText(_translate("EventNotesPageWidget", "Модель пациента", None))
        self.lblArmyFreeInput.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventId.setText(_translate("EventNotesPageWidget", "Идентификатор записи", None))
        self.lblLock.setText(_translate("EventNotesPageWidget", "Заблокировать обращение", None))
        self.lblEventModifyPerson.setText(_translate("EventNotesPageWidget", "Автор последнего изменения", None))
        self.lblPerson.setText(_translate("EventNotesPageWidget", "Врач", None))
        self.lblRefType.setText(_translate("EventNotesPageWidget", "Тип направления", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMain), _translate("EventNotesPageWidget", "Основное", None))
        self.btnSendCase.setText(_translate("EventNotesPageWidget", "Отправить случай", None))
        self.btnSendClient.setText(_translate("EventNotesPageWidget", "Отправить человека", None))
        self.label.setText(_translate("EventNotesPageWidget", "История посылок", None))
        self.chkWebEpicrisis.setText(_translate("EventNotesPageWidget", "Посылать веб эпикризы", None))
        self.label_3.setText(_translate("EventNotesPageWidget", "Адрес сервиса случаев", None))
        self.label_2.setText(_translate("EventNotesPageWidget", "Лог текущей посылки", None))
        self.label_4.setText(_translate("EventNotesPageWidget", "Адрес сервиса пациентов", None))
        self.btnCreateService.setText(_translate("EventNotesPageWidget", "Использовать адреса", None))
        self.label_5.setText(_translate("EventNotesPageWidget", "GUID", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabIEMK), _translate("EventNotesPageWidget", "ЭМК", None))
Exemple #3
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(872, 708)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout_9 = QtGui.QGridLayout(self.tabToken)
        self.gridLayout_9.setMargin(4)
        self.gridLayout_9.setSpacing(4)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(
            0, 0, 824, 1161))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_3)
        self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised)
        self.frameBaseAndDiagnosises.setObjectName(
            _fromUtf8("frameBaseAndDiagnosises"))
        self.gridLayout_10 = QtGui.QGridLayout(self.frameBaseAndDiagnosises)
        self.gridLayout_10.setMargin(4)
        self.gridLayout_10.setSpacing(4)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_4 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_4.setMargin(2)
        self.gridLayout_4.setSpacing(2)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbPersonMedicineHead = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonMedicineHead.setObjectName(
            _fromUtf8("cmbPersonMedicineHead"))
        self.cmbPersonMedicineHead.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonMedicineHead, 16, 2, 1, 4)
        self.lblPersonMedicineHead = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonMedicineHead.sizePolicy().hasHeightForWidth())
        self.lblPersonMedicineHead.setSizePolicy(sizePolicy)
        self.lblPersonMedicineHead.setObjectName(
            _fromUtf8("lblPersonMedicineHead"))
        self.gridLayout_4.addWidget(self.lblPersonMedicineHead, 16, 0, 1, 2)
        self.frame_4 = QtGui.QFrame(self.grpBase)
        self.frame_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_4.setLineWidth(0)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame_4)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEndDate = CDateEdit(self.frame_4)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frame_4)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCalendarPopup(False)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_4.addWidget(self.edtEndTime)
        self.gridLayout_4.addWidget(self.frame_4, 5, 1, 1, 4)
        self.cmbOrder = CRBComboBox(self.grpBase)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbOrder, 9, 0, 1, 6)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpBase)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_4.addWidget(self.cmbRelegateOrg, 2, 1, 1, 4)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbResult, 20, 2, 1, 4)
        self.lblEventId = QtGui.QLabel(self.grpBase)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout_4.addWidget(self.lblEventId, 6, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.grpBase)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout_4.addWidget(self.lblPatientModel, 11, 0, 1, 2)
        self.frame_5 = QtGui.QFrame(self.grpBase)
        self.frame_5.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frame_5)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.edtBegDate = CDateEdit(self.frame_5)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout_5.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frame_5)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCalendarPopup(False)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_5.addWidget(self.edtBegTime)
        self.gridLayout_4.addWidget(self.frame_5, 4, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_4.addWidget(self.lblBegDate, 4, 0, 1, 1)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self.gridLayout_4.addWidget(self.chkZNOMorph, 22, 0, 1, 4)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPerson.sizePolicy().hasHeightForWidth())
        self.lblPerson.setSizePolicy(sizePolicy)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_4.addWidget(self.lblPerson, 15, 0, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpBase)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_4.addWidget(self.lblRelegateOrg, 2, 0, 1, 1)
        self.lblPersonCurator = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonCurator.sizePolicy().hasHeightForWidth())
        self.lblPersonCurator.setSizePolicy(sizePolicy)
        self.lblPersonCurator.setObjectName(_fromUtf8("lblPersonCurator"))
        self.gridLayout_4.addWidget(self.lblPersonCurator, 18, 0, 1, 1)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self.gridLayout_4.addWidget(self.chkZNOFirst, 21, 0, 1, 4)
        self.cmbCureMethod = CRBComboBox(self.grpBase)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout_4.addWidget(self.cmbCureMethod, 13, 2, 1, 4)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPerson, 18, 2, 1, 4)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.grpBase)
        self.lblEventAssistantIdValue.setObjectName(
            _fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout_4.addWidget(self.lblEventAssistantIdValue, 19, 0, 1, 2)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout_4.addWidget(self.lblOrder, 8, 3, 1, 3)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 5, 5, 1, 1)
        self.lblCureType = QtGui.QLabel(self.grpBase)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout_4.addWidget(self.lblCureType, 12, 0, 1, 2)
        self.lblCureMethod = QtGui.QLabel(self.grpBase)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout_4.addWidget(self.lblCureMethod, 13, 0, 1, 2)
        self.lblResult = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblResult.sizePolicy().hasHeightForWidth())
        self.lblResult.setSizePolicy(sizePolicy)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_4.addWidget(self.lblResult, 20, 0, 1, 2)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpBase)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_4.addWidget(self.btnSelectRelegateOrg, 2, 5, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 31, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem1, 23, 1, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem2, 4, 5, 1, 1)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_4.addWidget(self.chkExposeConfirmed, 1, 0, 1, 6)
        self.cmbPersonManager = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonManager.setObjectName(_fromUtf8("cmbPersonManager"))
        self.cmbPersonManager.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonManager, 17, 2, 1, 4)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_4.addWidget(self.lblEndDate, 5, 0, 1, 1)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_4.addWidget(self.chkIsClosed, 0, 0, 1, 6)
        self.label_2 = QtGui.QLabel(self.grpBase)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_4.addWidget(self.label_2, 10, 0, 1, 2)
        self.cmbCureType = CRBComboBox(self.grpBase)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout_4.addWidget(self.cmbCureType, 12, 2, 1, 4)
        self.cmbEventAssistant = CPersonComboBoxEx(self.grpBase)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout_4.addWidget(self.cmbEventAssistant, 19, 2, 1, 4)
        self.cmbPatientModel = CModelPatientComboBoxF027(self.grpBase)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout_4.addWidget(self.cmbPatientModel, 11, 2, 1, 4)
        self.cmbEventCurator = CPersonComboBoxEx(self.grpBase)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout_4.addWidget(self.cmbEventCurator, 15, 2, 1, 4)
        self.lblPersonManager = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonManager.sizePolicy().hasHeightForWidth())
        self.lblPersonManager.setSizePolicy(sizePolicy)
        self.lblPersonManager.setObjectName(_fromUtf8("lblPersonManager"))
        self.gridLayout_4.addWidget(self.lblPersonManager, 17, 0, 1, 2)
        self.cmbQuota = CQuotaTypeComboBox(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbQuota.sizePolicy().hasHeightForWidth())
        self.cmbQuota.setSizePolicy(sizePolicy)
        self.cmbQuota.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbQuota.setObjectName(_fromUtf8("cmbQuota"))
        self.gridLayout_4.addWidget(self.cmbQuota, 10, 2, 1, 4)
        self.chkPrimary = QtGui.QCheckBox(self.grpBase)
        self.chkPrimary.setObjectName(_fromUtf8("chkPrimary"))
        self.gridLayout_4.addWidget(self.chkPrimary, 8, 0, 1, 2)
        self.cmbEventExternalIdValue = QtGui.QComboBox(self.grpBase)
        self.cmbEventExternalIdValue.setObjectName(
            _fromUtf8("cmbEventExternalIdValue"))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbEventExternalIdValue, 6, 1, 1, 5)
        self.gridLayout_10.addWidget(self.grpBase, 0, 0, 1, 1)
        self.frame_6 = QtGui.QFrame(self.frameBaseAndDiagnosises)
        self.frame_6.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.gridLayout_11 = QtGui.QGridLayout(self.frame_6)
        self.gridLayout_11.setMargin(4)
        self.gridLayout_11.setSpacing(4)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.grpActions = QtGui.QGroupBox(self.frame_6)
        self.grpActions.setObjectName(_fromUtf8("grpActions"))
        self.gridLayout_12 = QtGui.QGridLayout(self.grpActions)
        self.gridLayout_12.setMargin(4)
        self.gridLayout_12.setSpacing(4)
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
        self.tblActionProperties = CActionPropertiesTableView(self.grpActions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(
            self.tblActionProperties.sizePolicy().hasHeightForWidth())
        self.tblActionProperties.setSizePolicy(sizePolicy)
        self.tblActionProperties.setObjectName(
            _fromUtf8("tblActionProperties"))
        self.gridLayout_12.addWidget(self.tblActionProperties, 0, 0, 1, 1)
        self.gridLayout_11.addWidget(self.grpActions, 0, 0, 1, 1)
        self.gridLayout_10.addWidget(self.frame_6, 0, 1, 1, 1)
        self.splitter_4 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_4.sizePolicy().hasHeightForWidth())
        self.splitter_4.setSizePolicy(sizePolicy)
        self.splitter_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.splitter_4.setFrameShadow(QtGui.QFrame.Plain)
        self.splitter_4.setLineWidth(0)
        self.splitter_4.setOrientation(QtCore.Qt.Vertical)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.grpInspections_2 = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections_2.setObjectName(_fromUtf8("grpInspections_2"))
        self.gridLayout_13 = QtGui.QGridLayout(self.grpInspections_2)
        self.gridLayout_13.setMargin(2)
        self.gridLayout_13.setSpacing(2)
        self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
        self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblPreliminaryDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblPreliminaryDiagnostics.setSizePolicy(sizePolicy)
        self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblPreliminaryDiagnostics.setObjectName(
            _fromUtf8("tblPreliminaryDiagnostics"))
        self.gridLayout_13.addWidget(self.tblPreliminaryDiagnostics, 0, 0, 1,
                                     1)
        self.grpInspections = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections.setObjectName(_fromUtf8("grpInspections"))
        self.gridLayout_14 = QtGui.QGridLayout(self.grpInspections)
        self.gridLayout_14.setMargin(2)
        self.gridLayout_14.setSpacing(2)
        self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
        self.tblFinalDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblFinalDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblFinalDiagnostics.setSizePolicy(sizePolicy)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(
            _fromUtf8("tblFinalDiagnostics"))
        self.gridLayout_14.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.splitter_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabAmbCard = CAmbCardPage()
        self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard"))
        self.tabWidget.addTab(self.tabAmbCard, _fromUtf8(""))
        self.tabNotes = CEventNotesPageProtocol()
        self.tabNotes.setMaximumSize(QtCore.QSize(838, 16777215))
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.sptTopLevel)
        self.widget = QtGui.QWidget(Dialog)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblProlongateEvent = QtGui.QLabel(self.widget)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(self.widget)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout_2.addWidget(self.statusBar)
        self.lblPersonMedicineHead.setBuddy(self.cmbPersonMedicineHead)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblPerson.setBuddy(self.cmbEventCurator)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblPersonCurator.setBuddy(self.cmbPerson)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPersonManager.setBuddy(self.cmbPersonManager)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               Dialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbRelegateOrg)
        Dialog.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        Dialog.setTabOrder(self.btnSelectRelegateOrg, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.cmbEventExternalIdValue)
        Dialog.setTabOrder(self.cmbEventExternalIdValue, self.chkPrimary)
        Dialog.setTabOrder(self.chkPrimary, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbQuota)
        Dialog.setTabOrder(self.cmbQuota, self.cmbPatientModel)
        Dialog.setTabOrder(self.cmbPatientModel, self.cmbCureType)
        Dialog.setTabOrder(self.cmbCureType, self.cmbCureMethod)
        Dialog.setTabOrder(self.cmbCureMethod, self.cmbEventCurator)
        Dialog.setTabOrder(self.cmbEventCurator, self.cmbPersonMedicineHead)
        Dialog.setTabOrder(self.cmbPersonMedicineHead, self.cmbPersonManager)
        Dialog.setTabOrder(self.cmbPersonManager, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbEventAssistant)
        Dialog.setTabOrder(self.cmbEventAssistant, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.tblActionProperties)
        Dialog.setTabOrder(self.tblActionProperties,
                           self.tblPreliminaryDiagnostics)
        Dialog.setTabOrder(self.tblPreliminaryDiagnostics,
                           self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.txtClientInfoBrowser.setWhatsThis(
            _translate("Dialog", "Описание пациента", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "Dialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpBase.setTitle(
            _translate("Dialog", "Протокол по ВМП/ВМП из ОМС", None))
        self.cmbPersonMedicineHead.setWhatsThis(
            _translate("Dialog", "назначивший действие \"протокол\"", None))
        self.cmbPersonMedicineHead.setItemText(
            0, _translate("Dialog", "Врач", None))
        self.lblPersonMedicineHead.setText(
            _translate("Dialog", "Зам.гл.вр. по мед части", None))
        self.edtEndDate.setWhatsThis(
            _translate("Dialog", "дата окончания осмотра", None))
        self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None))
        self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None))
        self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение",
                                                None))
        self.cmbOrder.setItemText(4,
                                  _translate("Dialog", "Принудительный", None))
        self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None))
        self.cmbResult.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None))
        self.lblEventId.setText(_translate("Dialog", "Тип", None))
        self.lblPatientModel.setText(
            _translate("Dialog", "Модель пациента", None))
        self.edtBegDate.setWhatsThis(
            _translate("Dialog", "дата начала осмотра", None))
        self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.lblBegDate.setText(_translate("Dialog", "Открыт", None))
        self.chkZNOMorph.setToolTip(
            _translate("Dialog", "ЗНО потдверждён морфологически", None))
        self.chkZNOMorph.setText(
            _translate("Dialog", "ЗНО подтв. морф-ки", None))
        self.lblPerson.setText(_translate("Dialog", "Председатель", None))
        self.lblRelegateOrg.setText(_translate("Dialog", "Направитель", None))
        self.lblPersonCurator.setText(
            _translate("Dialog", "Лечащий врач", None))
        self.chkZNOFirst.setToolTip(
            _translate("Dialog", "ЗНО установлен впервые", None))
        self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые",
                                            None))
        self.cmbPerson.setWhatsThis(
            _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.lblEventAssistantIdValue.setText(
            _translate("Dialog", "Зам.гл.врача по КЭР", None))
        self.lblOrder.setText(_translate("Dialog", "П&орядок", None))
        self.lblCureType.setText(_translate("Dialog", "Вид лечения", None))
        self.lblCureMethod.setText(_translate("Dialog", "Метод лечения", None))
        self.lblResult.setText(_translate("Dialog", "Результат", None))
        self.btnSelectRelegateOrg.setText(_translate("Dialog", "...", None))
        self.chkExposeConfirmed.setText(
            _translate("Dialog", "Добавить к выставлению", None))
        self.cmbPersonManager.setWhatsThis(
            _translate("Dialog", "ответственный за Действие \"протокол\"",
                       None))
        self.cmbPersonManager.setItemText(0,
                                          _translate("Dialog", "Врач", None))
        self.lblEndDate.setText(_translate("Dialog", "Закрыт", None))
        self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None))
        self.label_2.setText(_translate("Dialog", "Квота", None))
        self.cmbEventAssistant.setWhatsThis(
            _translate("Dialog", "ассистент События", None))
        self.lblPersonManager.setText(_translate("Dialog", "Зав.отд.", None))
        self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None))
        self.cmbEventExternalIdValue.setItemText(
            0, _translate("Dialog", "КС", None))
        self.cmbEventExternalIdValue.setItemText(
            1, _translate("Dialog", "ДС", None))
        self.grpActions.setTitle(_translate("Dialog", "Протокол", None))
        self.grpInspections_2.setTitle(
            _translate("Dialog", "&Предварительный диагноз", None))
        self.grpInspections.setTitle(
            _translate("Dialog", "&Заключительный диагноз", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken),
                                  _translate("Dialog", "Протокол", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard),
                                  _translate("Dialog", "Мед.&карта", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes),
                                  _translate("Dialog", "Приме&чания", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.",
                                               None))
Exemple #4
0
class Ui_FindClientDialog(object):
    def setupUi(self, FindClientDialog):
        FindClientDialog.setObjectName(_fromUtf8("FindClientDialog"))
        FindClientDialog.resize(902, 883)
        self.horizontalLayout_2 = QtGui.QHBoxLayout(FindClientDialog)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.tblClients = CTableView(FindClientDialog)
        self.tblClients.setObjectName(_fromUtf8("tblClients"))
        self.horizontalLayout_2.addWidget(self.tblClients)
        self.groupBox = QtGui.QGroupBox(FindClientDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(321, 0))
        self.groupBox.setMaximumSize(QtCore.QSize(321, 16777215))
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setMargin(2)
        self.gridlayout.setSpacing(2)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.buttonBoxClient = CApplyResetDialogButtonBox(self.groupBox)
        self.buttonBoxClient.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBoxClient.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                                | QtGui.QDialogButtonBox.Reset)
        self.buttonBoxClient.setObjectName(_fromUtf8("buttonBoxClient"))
        self.gridlayout.addWidget(self.buttonBoxClient, 2, 0, 1, 1)
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setTabPosition(QtGui.QTabWidget.North)
        self.tabFilter.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_18 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_18.setMargin(1)
        self.gridLayout_18.setSpacing(1)
        self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18"))
        self.chkFilterContact = QtGui.QCheckBox(self.tabFind)
        self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact"))
        self.gridLayout_18.addWidget(self.chkFilterContact, 11, 0, 1, 3)
        self.cmbFilterDocumentType = CRBComboBox(self.tabFind)
        self.cmbFilterDocumentType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterDocumentType.sizePolicy().hasHeightForWidth())
        self.cmbFilterDocumentType.setSizePolicy(sizePolicy)
        self.cmbFilterDocumentType.setMinimumSize(QtCore.QSize(100, 0))
        self.cmbFilterDocumentType.setObjectName(
            _fromUtf8("cmbFilterDocumentType"))
        self.gridLayout_18.addWidget(self.cmbFilterDocumentType, 15, 3, 1, 4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setSpacing(2)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.lblFilterAddressHouse = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressHouse.setEnabled(False)
        self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading
                                                | QtCore.Qt.AlignLeft
                                                | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressHouse.setObjectName(
            _fromUtf8("lblFilterAddressHouse"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressHouse)
        self.edtFilterAddressHouse = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressHouse.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterAddressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAddressHouse.setObjectName(
            _fromUtf8("edtFilterAddressHouse"))
        self.horizontalLayout_5.addWidget(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressCorpus.setEnabled(False)
        self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight
                                                 | QtCore.Qt.AlignTrailing
                                                 | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressCorpus.setObjectName(
            _fromUtf8("lblFilterAddressCorpus"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressCorpus)
        self.edtFilterAddressCorpus = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressCorpus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterAddressCorpus.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressCorpus.setSizePolicy(sizePolicy)
        self.edtFilterAddressCorpus.setObjectName(
            _fromUtf8("edtFilterAddressCorpus"))
        self.horizontalLayout_5.addWidget(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressFlat.setEnabled(False)
        self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight
                                               | QtCore.Qt.AlignTrailing
                                               | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressFlat.setObjectName(
            _fromUtf8("lblFilterAddressFlat"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressFlat)
        self.edtFilterAddressFlat = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressFlat.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterAddressFlat.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressFlat.setSizePolicy(sizePolicy)
        self.edtFilterAddressFlat.setObjectName(
            _fromUtf8("edtFilterAddressFlat"))
        self.horizontalLayout_5.addWidget(self.edtFilterAddressFlat)
        self.gridLayout_18.addLayout(self.horizontalLayout_5, 24, 0, 1, 7)
        self.cmbWorkOrganisation = COrgComboBox(self.tabFind)
        self.cmbWorkOrganisation.setEnabled(False)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout_18.addWidget(self.cmbWorkOrganisation, 26, 0, 1, 6)
        self.chkFilterPolicy = QtGui.QCheckBox(self.tabFind)
        self.chkFilterPolicy.setObjectName(_fromUtf8("chkFilterPolicy"))
        self.gridLayout_18.addWidget(self.chkFilterPolicy, 17, 0, 1, 7)
        self.chkFilterWorkOrganisation = QtGui.QCheckBox(self.tabFind)
        self.chkFilterWorkOrganisation.setObjectName(
            _fromUtf8("chkFilterWorkOrganisation"))
        self.gridLayout_18.addWidget(self.chkFilterWorkOrganisation, 25, 0, 1,
                                     6)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_18.addItem(spacerItem, 33, 0, 1, 1)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(self.tabFind)
        self.btnSelectWorkOrganisation.setEnabled(False)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout_18.addWidget(self.btnSelectWorkOrganisation, 26, 6, 1,
                                     1)
        self.edtFilterSNILS = QtGui.QLineEdit(self.tabFind)
        self.edtFilterSNILS.setEnabled(False)
        self.edtFilterSNILS.setObjectName(_fromUtf8("edtFilterSNILS"))
        self.gridLayout_18.addWidget(self.edtFilterSNILS, 12, 3, 1, 4)
        self.cmbFilterAccountingSystem = CRBComboBox(self.tabFind)
        self.cmbFilterAccountingSystem.setEnabled(False)
        self.cmbFilterAccountingSystem.setObjectName(
            _fromUtf8("cmbFilterAccountingSystem"))
        self.gridLayout_18.addWidget(self.cmbFilterAccountingSystem, 0, 2, 1,
                                     5)
        self.edtFilterContact = QtGui.QLineEdit(self.tabFind)
        self.edtFilterContact.setEnabled(False)
        self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact"))
        self.gridLayout_18.addWidget(self.edtFilterContact, 11, 3, 1, 4)
        self.cmbFilterPolicyType = CRBComboBox(self.tabFind)
        self.cmbFilterPolicyType.setEnabled(False)
        self.cmbFilterPolicyType.setObjectName(
            _fromUtf8("cmbFilterPolicyType"))
        self.gridLayout_18.addWidget(self.cmbFilterPolicyType, 18, 0, 1, 7)
        self.chkFilterLocationCardType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterLocationCardType.setObjectName(
            _fromUtf8("chkFilterLocationCardType"))
        self.gridLayout_18.addWidget(self.chkFilterLocationCardType, 28, 0, 1,
                                     2)
        self.cmbFilterLocationCardType = CRBComboBox(self.tabFind)
        self.cmbFilterLocationCardType.setEnabled(False)
        self.cmbFilterLocationCardType.setObjectName(
            _fromUtf8("cmbFilterLocationCardType"))
        self.gridLayout_18.addWidget(self.cmbFilterLocationCardType, 28, 2, 1,
                                     5)
        self.chkFilterStatusObservationType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterStatusObservationType.setObjectName(
            _fromUtf8("chkFilterStatusObservationType"))
        self.gridLayout_18.addWidget(self.chkFilterStatusObservationType, 29,
                                     0, 1, 2)
        self.edtFilterBirthDay = CDateEdit(self.tabFind)
        self.edtFilterBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtFilterBirthDay.setCalendarPopup(True)
        self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay"))
        self.gridLayout_18.addWidget(self.edtFilterBirthDay, 9, 3, 1, 4)
        self.cmbFilterStatusObservationType = CRBComboBox(self.tabFind)
        self.cmbFilterStatusObservationType.setEnabled(False)
        self.cmbFilterStatusObservationType.setObjectName(
            _fromUtf8("cmbFilterStatusObservationType"))
        self.gridLayout_18.addWidget(self.cmbFilterStatusObservationType, 29,
                                     2, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_18.addItem(spacerItem1, 10, 5, 1, 2)
        self.chkFilterSNILS = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSNILS.setObjectName(_fromUtf8("chkFilterSNILS"))
        self.gridLayout_18.addWidget(self.chkFilterSNILS, 12, 0, 1, 3)
        self.chkFilterSex = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex"))
        self.gridLayout_18.addWidget(self.chkFilterSex, 10, 0, 1, 3)
        self.cmbFilterSex = QtGui.QComboBox(self.tabFind)
        self.cmbFilterSex.setEnabled(False)
        self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex"))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.gridLayout_18.addWidget(self.cmbFilterSex, 10, 3, 1, 2)
        self.chkFilterDocument = QtGui.QCheckBox(self.tabFind)
        self.chkFilterDocument.setObjectName(_fromUtf8("chkFilterDocument"))
        self.gridLayout_18.addWidget(self.chkFilterDocument, 15, 0, 1, 3)
        self.edtFilterDocumentSerial = QtGui.QLineEdit(self.tabFind)
        self.edtFilterDocumentSerial.setEnabled(False)
        self.edtFilterDocumentSerial.setObjectName(
            _fromUtf8("edtFilterDocumentSerial"))
        self.gridLayout_18.addWidget(self.edtFilterDocumentSerial, 16, 0, 1, 3)
        self.edtFilterDocumentNumber = QtGui.QLineEdit(self.tabFind)
        self.edtFilterDocumentNumber.setEnabled(False)
        self.edtFilterDocumentNumber.setObjectName(
            _fromUtf8("edtFilterDocumentNumber"))
        self.gridLayout_18.addWidget(self.edtFilterDocumentNumber, 16, 3, 1, 4)
        self.cmbFilterPolicyInsurer = CInsurerComboBox(self.tabFind)
        self.cmbFilterPolicyInsurer.setEnabled(False)
        self.cmbFilterPolicyInsurer.setObjectName(
            _fromUtf8("cmbFilterPolicyInsurer"))
        self.gridLayout_18.addWidget(self.cmbFilterPolicyInsurer, 19, 0, 1, 7)
        self.edtFilterPolicySerial = CPolicySerialEdit(self.tabFind)
        self.edtFilterPolicySerial.setEnabled(False)
        self.edtFilterPolicySerial.setObjectName(
            _fromUtf8("edtFilterPolicySerial"))
        self.gridLayout_18.addWidget(self.edtFilterPolicySerial, 20, 0, 1, 3)
        self.edtFilterPolicyNumber = QtGui.QLineEdit(self.tabFind)
        self.edtFilterPolicyNumber.setEnabled(False)
        self.edtFilterPolicyNumber.setObjectName(
            _fromUtf8("edtFilterPolicyNumber"))
        self.gridLayout_18.addWidget(self.edtFilterPolicyNumber, 20, 3, 1, 4)
        self.chkFilterAddress = QtGui.QCheckBox(self.tabFind)
        self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress"))
        self.gridLayout_18.addWidget(self.chkFilterAddress, 21, 0, 1, 3)
        self.cmbFilterAddressStreet = CStreetComboBox(self.tabFind)
        self.cmbFilterAddressStreet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_18.addWidget(self.cmbFilterAddressStreet, 23, 0, 1, 7)
        self.cmbFilterAddressType = QtGui.QComboBox(self.tabFind)
        self.cmbFilterAddressType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setObjectName(
            _fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_18.addWidget(self.cmbFilterAddressType, 21, 3, 1, 4)
        self.cmbFilterAddressCity = CKLADRComboBox(self.tabFind)
        self.cmbFilterAddressCity.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setObjectName(
            _fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_18.addWidget(self.cmbFilterAddressCity, 22, 0, 1, 7)
        self.chkFilterId = QtGui.QCheckBox(self.tabFind)
        self.chkFilterId.setObjectName(_fromUtf8("chkFilterId"))
        self.gridLayout_18.addWidget(self.chkFilterId, 0, 0, 1, 2)
        self.chkFilterLastName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName"))
        self.gridLayout_18.addWidget(self.chkFilterLastName, 3, 0, 1, 7)
        self.edtFilterId = QtGui.QLineEdit(self.tabFind)
        self.edtFilterId.setEnabled(False)
        self.edtFilterId.setMaxLength(16)
        self.edtFilterId.setObjectName(_fromUtf8("edtFilterId"))
        self.gridLayout_18.addWidget(self.edtFilterId, 2, 0, 1, 7)
        self.chkFilterFirstName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName"))
        self.gridLayout_18.addWidget(self.chkFilterFirstName, 5, 0, 1, 7)
        self.edtFilterLastName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterLastName.setEnabled(False)
        self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName"))
        self.gridLayout_18.addWidget(self.edtFilterLastName, 4, 0, 1, 7)
        self.edtFilterFirstName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterFirstName.setEnabled(False)
        self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName"))
        self.gridLayout_18.addWidget(self.edtFilterFirstName, 6, 0, 1, 7)
        self.chkFilterPatrName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName"))
        self.gridLayout_18.addWidget(self.chkFilterPatrName, 7, 0, 1, 7)
        self.edtFilterPatrName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterPatrName.setEnabled(False)
        self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName"))
        self.gridLayout_18.addWidget(self.edtFilterPatrName, 8, 0, 1, 7)
        self.chkFilterBirthDay = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.chkFilterBirthDay.setSizePolicy(sizePolicy)
        self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay"))
        self.gridLayout_18.addWidget(self.chkFilterBirthDay, 9, 0, 1, 3)
        self.chkFilterSocStatuses = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSocStatuses.setObjectName(
            _fromUtf8("chkFilterSocStatuses"))
        self.gridLayout_18.addWidget(self.chkFilterSocStatuses, 30, 0, 1, 5)
        self.cmbFilterSocStatClass = CSocStatusComboBox(self.tabFind)
        self.cmbFilterSocStatClass.setEnabled(False)
        self.cmbFilterSocStatClass.setObjectName(
            _fromUtf8("cmbFilterSocStatClass"))
        self.gridLayout_18.addWidget(self.cmbFilterSocStatClass, 31, 0, 1, 7)
        self.cmbFilterSocStatType = CRBComboBox(self.tabFind)
        self.cmbFilterSocStatType.setEnabled(False)
        self.cmbFilterSocStatType.setObjectName(
            _fromUtf8("cmbFilterSocStatType"))
        self.gridLayout_18.addWidget(self.cmbFilterSocStatType, 32, 0, 1, 7)
        self.chkFilterHurtType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterHurtType.setObjectName(_fromUtf8("chkFilterHurtType"))
        self.gridLayout_18.addWidget(self.chkFilterHurtType, 27, 0, 1, 2)
        self.cmbFilterHurtType = CRBComboBox(self.tabFind)
        self.cmbFilterHurtType.setEnabled(False)
        self.cmbFilterHurtType.setObjectName(_fromUtf8("cmbFilterHurtType"))
        self.gridLayout_18.addWidget(self.cmbFilterHurtType, 27, 2, 1, 5)
        self.tabFilter.addTab(self.tabFind, _fromUtf8(""))
        self.tabFindEx = QtGui.QWidget()
        self.tabFindEx.setObjectName(_fromUtf8("tabFindEx"))
        self.gridLayout_17 = QtGui.QGridLayout(self.tabFindEx)
        self.gridLayout_17.setMargin(1)
        self.gridLayout_17.setSpacing(1)
        self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17"))
        self.chkFilterCreatePerson = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterCreatePerson.setObjectName(
            _fromUtf8("chkFilterCreatePerson"))
        self.gridLayout_17.addWidget(self.chkFilterCreatePerson, 0, 0, 1, 4)
        self.cmbFilterCreatePerson = CPersonComboBoxEx(self.tabFindEx)
        self.cmbFilterCreatePerson.setEnabled(False)
        self.cmbFilterCreatePerson.setObjectName(
            _fromUtf8("cmbFilterCreatePerson"))
        self.gridLayout_17.addWidget(self.cmbFilterCreatePerson, 1, 0, 1, 4)
        self.chkFilterCreateDate = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterCreateDate.setObjectName(
            _fromUtf8("chkFilterCreateDate"))
        self.gridLayout_17.addWidget(self.chkFilterCreateDate, 2, 0, 1, 4)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(2)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtFilterBegCreateDate = CDateEdit(self.tabFindEx)
        self.edtFilterBegCreateDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegCreateDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegCreateDate.setSizePolicy(sizePolicy)
        self.edtFilterBegCreateDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegCreateDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegCreateDate.setCalendarPopup(True)
        self.edtFilterBegCreateDate.setObjectName(
            _fromUtf8("edtFilterBegCreateDate"))
        self.horizontalLayout_3.addWidget(self.edtFilterBegCreateDate)
        self.edtFilterEndCreateDate = CDateEdit(self.tabFindEx)
        self.edtFilterEndCreateDate.setEnabled(False)
        self.edtFilterEndCreateDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndCreateDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndCreateDate.setCalendarPopup(True)
        self.edtFilterEndCreateDate.setObjectName(
            _fromUtf8("edtFilterEndCreateDate"))
        self.horizontalLayout_3.addWidget(self.edtFilterEndCreateDate)
        self.gridLayout_17.addLayout(self.horizontalLayout_3, 3, 0, 1, 4)
        self.chkFilterModifyPerson = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterModifyPerson.setObjectName(
            _fromUtf8("chkFilterModifyPerson"))
        self.gridLayout_17.addWidget(self.chkFilterModifyPerson, 4, 0, 1, 4)
        self.cmbFilterModifyPerson = CPersonComboBoxEx(self.tabFindEx)
        self.cmbFilterModifyPerson.setEnabled(False)
        self.cmbFilterModifyPerson.setObjectName(
            _fromUtf8("cmbFilterModifyPerson"))
        self.gridLayout_17.addWidget(self.cmbFilterModifyPerson, 5, 0, 1, 4)
        self.chkFilterModifyDate = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterModifyDate.setObjectName(
            _fromUtf8("chkFilterModifyDate"))
        self.gridLayout_17.addWidget(self.chkFilterModifyDate, 6, 0, 1, 4)
        self.horizontalLayoutStaff = QtGui.QHBoxLayout()
        self.horizontalLayoutStaff.setSpacing(2)
        self.horizontalLayoutStaff.setObjectName(
            _fromUtf8("horizontalLayoutStaff"))
        self.edtFilterBegModifyDate = CDateEdit(self.tabFindEx)
        self.edtFilterBegModifyDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegModifyDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegModifyDate.setSizePolicy(sizePolicy)
        self.edtFilterBegModifyDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegModifyDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegModifyDate.setCalendarPopup(True)
        self.edtFilterBegModifyDate.setObjectName(
            _fromUtf8("edtFilterBegModifyDate"))
        self.horizontalLayoutStaff.addWidget(self.edtFilterBegModifyDate)
        self.edtFilterEndModifyDate = CDateEdit(self.tabFindEx)
        self.edtFilterEndModifyDate.setEnabled(False)
        self.edtFilterEndModifyDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndModifyDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndModifyDate.setCalendarPopup(True)
        self.edtFilterEndModifyDate.setObjectName(
            _fromUtf8("edtFilterEndModifyDate"))
        self.horizontalLayoutStaff.addWidget(self.edtFilterEndModifyDate)
        self.gridLayout_17.addLayout(self.horizontalLayoutStaff, 7, 0, 1, 4)
        self.chkFilterAge = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.gridLayout_17.addWidget(self.chkFilterAge, 10, 0, 1, 1)
        self.edtFilterBegAge = QtGui.QSpinBox(self.tabFindEx)
        self.edtFilterBegAge.setEnabled(False)
        self.edtFilterBegAge.setMaximum(150)
        self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge"))
        self.gridLayout_17.addWidget(self.edtFilterBegAge, 10, 1, 1, 2)
        self.cmbFilterBegAge = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterBegAge.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterBegAge.sizePolicy().hasHeightForWidth())
        self.cmbFilterBegAge.setSizePolicy(sizePolicy)
        self.cmbFilterBegAge.setObjectName(_fromUtf8("cmbFilterBegAge"))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterBegAge, 10, 3, 1, 1)
        self.edtFilterEndAge = QtGui.QSpinBox(self.tabFindEx)
        self.edtFilterEndAge.setEnabled(False)
        self.edtFilterEndAge.setMaximum(150)
        self.edtFilterEndAge.setProperty("value", 150)
        self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge"))
        self.gridLayout_17.addWidget(self.edtFilterEndAge, 11, 1, 1, 2)
        self.cmbFilterEndAge = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterEndAge.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEndAge.sizePolicy().hasHeightForWidth())
        self.cmbFilterEndAge.setSizePolicy(sizePolicy)
        self.cmbFilterEndAge.setObjectName(_fromUtf8("cmbFilterEndAge"))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterEndAge, 11, 3, 1, 1)
        self.chkFilterAddressOrgStructure = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAddressOrgStructure.setObjectName(
            _fromUtf8("chkFilterAddressOrgStructure"))
        self.gridLayout_17.addWidget(self.chkFilterAddressOrgStructure, 12, 0,
                                     1, 2)
        self.cmbFilterAddressOrgStructure = COrgStructureComboBox(
            self.tabFindEx)
        self.cmbFilterAddressOrgStructure.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressOrgStructure.setSizePolicy(sizePolicy)
        self.cmbFilterAddressOrgStructure.setObjectName(
            _fromUtf8("cmbFilterAddressOrgStructure"))
        self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructure, 14, 0,
                                     1, 4)
        self.chkFilterAddressIsEmpty = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAddressIsEmpty.setObjectName(
            _fromUtf8("chkFilterAddressIsEmpty"))
        self.gridLayout_17.addWidget(self.chkFilterAddressIsEmpty, 18, 0, 1, 4)
        self.chkFilterAttach = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttach.setObjectName(_fromUtf8("chkFilterAttach"))
        self.gridLayout_17.addWidget(self.chkFilterAttach, 21, 0, 1, 4)
        self.cmbFilterAttachOrganisation = CPolyclinicComboBox(self.tabFindEx)
        self.cmbFilterAttachOrganisation.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAttachOrganisation.sizePolicy().hasHeightForWidth())
        self.cmbFilterAttachOrganisation.setSizePolicy(sizePolicy)
        self.cmbFilterAttachOrganisation.setObjectName(
            _fromUtf8("cmbFilterAttachOrganisation"))
        self.gridLayout_17.addWidget(self.cmbFilterAttachOrganisation, 22, 0,
                                     1, 4)
        self.chkFilterAttachNonBase = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttachNonBase.setObjectName(
            _fromUtf8("chkFilterAttachNonBase"))
        self.gridLayout_17.addWidget(self.chkFilterAttachNonBase, 23, 0, 1, 4)
        self.chkFilterTempInvalid = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterTempInvalid.setObjectName(
            _fromUtf8("chkFilterTempInvalid"))
        self.gridLayout_17.addWidget(self.chkFilterTempInvalid, 24, 0, 1, 4)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(2)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtFilterBegTempInvalid = CDateEdit(self.tabFindEx)
        self.edtFilterBegTempInvalid.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegTempInvalid.sizePolicy().hasHeightForWidth())
        self.edtFilterBegTempInvalid.setSizePolicy(sizePolicy)
        self.edtFilterBegTempInvalid.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegTempInvalid.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegTempInvalid.setCalendarPopup(True)
        self.edtFilterBegTempInvalid.setObjectName(
            _fromUtf8("edtFilterBegTempInvalid"))
        self.horizontalLayout_4.addWidget(self.edtFilterBegTempInvalid)
        self.edtFilterEndTempInvalid = CDateEdit(self.tabFindEx)
        self.edtFilterEndTempInvalid.setEnabled(False)
        self.edtFilterEndTempInvalid.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndTempInvalid.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndTempInvalid.setCalendarPopup(True)
        self.edtFilterEndTempInvalid.setObjectName(
            _fromUtf8("edtFilterEndTempInvalid"))
        self.horizontalLayout_4.addWidget(self.edtFilterEndTempInvalid)
        self.gridLayout_17.addLayout(self.horizontalLayout_4, 25, 0, 1, 4)
        self.chkFilterRPFUnconfirmed = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterRPFUnconfirmed.setObjectName(
            _fromUtf8("chkFilterRPFUnconfirmed"))
        self.gridLayout_17.addWidget(self.chkFilterRPFUnconfirmed, 26, 0, 1, 4)
        self.chkFilterRPFConfirmed = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterRPFConfirmed.setObjectName(
            _fromUtf8("chkFilterRPFConfirmed"))
        self.gridLayout_17.addWidget(self.chkFilterRPFConfirmed, 27, 0, 1, 4)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtFilterBegRPFConfirmed = CDateEdit(self.tabFindEx)
        self.edtFilterBegRPFConfirmed.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegRPFConfirmed.sizePolicy().hasHeightForWidth())
        self.edtFilterBegRPFConfirmed.setSizePolicy(sizePolicy)
        self.edtFilterBegRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegRPFConfirmed.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegRPFConfirmed.setCalendarPopup(True)
        self.edtFilterBegRPFConfirmed.setObjectName(
            _fromUtf8("edtFilterBegRPFConfirmed"))
        self.horizontalLayout.addWidget(self.edtFilterBegRPFConfirmed)
        self.edtFilterEndRPFConfirmed = CDateEdit(self.tabFindEx)
        self.edtFilterEndRPFConfirmed.setEnabled(False)
        self.edtFilterEndRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndRPFConfirmed.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndRPFConfirmed.setCalendarPopup(True)
        self.edtFilterEndRPFConfirmed.setObjectName(
            _fromUtf8("edtFilterEndRPFConfirmed"))
        self.horizontalLayout.addWidget(self.edtFilterEndRPFConfirmed)
        self.gridLayout_17.addLayout(self.horizontalLayout, 28, 0, 1, 4)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_17.addItem(spacerItem2, 29, 0, 1, 1)
        self.cmbFilterAddressOrgStructureType = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterAddressOrgStructureType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressOrgStructureType.
                                     sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressOrgStructureType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressOrgStructureType.setObjectName(
            _fromUtf8("cmbFilterAddressOrgStructureType"))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructureType, 13,
                                     0, 1, 4)
        self.cmbFilterStatusBeds = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterStatusBeds.setEnabled(False)
        self.cmbFilterStatusBeds.setObjectName(
            _fromUtf8("cmbFilterStatusBeds"))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterStatusBeds, 16, 0, 1, 4)
        self.cmbFilterOrgStructureBeds = COrgStructureComboBox(self.tabFindEx)
        self.cmbFilterOrgStructureBeds.setEnabled(False)
        self.cmbFilterOrgStructureBeds.setObjectName(
            _fromUtf8("cmbFilterOrgStructureBeds"))
        self.gridLayout_17.addWidget(self.cmbFilterOrgStructureBeds, 17, 0, 1,
                                     4)
        self.chkFilterBeds = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterBeds.setObjectName(_fromUtf8("chkFilterBeds"))
        self.gridLayout_17.addWidget(self.chkFilterBeds, 15, 0, 1, 4)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.chkFilterAttachType = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttachType.setObjectName(
            _fromUtf8("chkFilterAttachType"))
        self.horizontalLayout_6.addWidget(self.chkFilterAttachType)
        self.cmbFilterAttachCategory = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterAttachCategory.setEnabled(False)
        self.cmbFilterAttachCategory.setObjectName(
            _fromUtf8("cmbFilterAttachCategory"))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.horizontalLayout_6.addWidget(self.cmbFilterAttachCategory)
        self.gridLayout_17.addLayout(self.horizontalLayout_6, 19, 0, 1, 4)
        self.cmbFilterAttachType = CRBComboBox(self.tabFindEx)
        self.cmbFilterAttachType.setEnabled(False)
        self.cmbFilterAttachType.setObjectName(
            _fromUtf8("cmbFilterAttachType"))
        self.gridLayout_17.addWidget(self.cmbFilterAttachType, 20, 0, 1, 4)
        self.edtFilterEventBegDate = CDateEdit(self.tabFindEx)
        self.edtFilterEventBegDate.setEnabled(False)
        self.edtFilterEventBegDate.setCalendarPopup(True)
        self.edtFilterEventBegDate.setObjectName(
            _fromUtf8("edtFilterEventBegDate"))
        self.gridLayout_17.addWidget(self.edtFilterEventBegDate, 9, 0, 1, 2)
        self.edtFilterEventEndDate = CDateEdit(self.tabFindEx)
        self.edtFilterEventEndDate.setEnabled(False)
        self.edtFilterEventEndDate.setCalendarPopup(True)
        self.edtFilterEventEndDate.setObjectName(
            _fromUtf8("edtFilterEventEndDate"))
        self.gridLayout_17.addWidget(self.edtFilterEventEndDate, 9, 2, 1, 2)
        self.chkFilterEvent = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterEvent.setObjectName(_fromUtf8("chkFilterEvent"))
        self.gridLayout_17.addWidget(self.chkFilterEvent, 8, 0, 1, 2)
        self.chkFilterFirstEvent = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterFirstEvent.setEnabled(False)
        self.chkFilterFirstEvent.setObjectName(
            _fromUtf8("chkFilterFirstEvent"))
        self.gridLayout_17.addWidget(self.chkFilterFirstEvent, 8, 2, 1, 2)
        self.tabFilter.addTab(self.tabFindEx, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabFilter, 1, 0, 1, 1)
        self.chkShowStaffOnly = QtGui.QCheckBox(self.groupBox)
        self.chkShowStaffOnly.setObjectName(_fromUtf8("chkShowStaffOnly"))
        self.gridlayout.addWidget(self.chkShowStaffOnly, 0, 0, 1, 1)
        self.horizontalLayout_2.addWidget(self.groupBox)
        self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat)

        self.retranslateUi(FindClientDialog)
        self.tabFilter.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(FindClientDialog)

    def retranslateUi(self, FindClientDialog):
        FindClientDialog.setWindowTitle(
            _translate("FindClientDialog", "Dialog", None))
        self.groupBox.setTitle(_translate("FindClientDialog", "Фильтр", None))
        self.chkFilterContact.setText(
            _translate("FindClientDialog", "Контакт", None))
        self.lblFilterAddressHouse.setText(
            _translate("FindClientDialog", "Дом", None))
        self.lblFilterAddressCorpus.setText(
            _translate("FindClientDialog", "Корп", None))
        self.lblFilterAddressFlat.setText(
            _translate("FindClientDialog", "Кв", None))
        self.chkFilterPolicy.setText(
            _translate("FindClientDialog", "Полис", None))
        self.chkFilterWorkOrganisation.setText(
            _translate("FindClientDialog", "Занятость", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("FindClientDialog", "...", None))
        self.edtFilterSNILS.setInputMask(
            _translate("FindClientDialog", "999-999-999 99; ", None))
        self.chkFilterLocationCardType.setToolTip(
            _translate("FindClientDialog",
                       "Место нахождения амбулаторной карты", None))
        self.chkFilterLocationCardType.setText(
            _translate("FindClientDialog", "К", None))
        self.chkFilterStatusObservationType.setToolTip(
            _translate("FindClientDialog", "Статус наблюдения пациента", None))
        self.chkFilterStatusObservationType.setText(
            _translate("FindClientDialog", "С", None))
        self.chkFilterSNILS.setText(
            _translate("FindClientDialog", "СНИЛС", None))
        self.chkFilterSex.setText(_translate("FindClientDialog", "Пол", None))
        self.cmbFilterSex.setItemText(
            1, _translate("FindClientDialog", "М", None))
        self.cmbFilterSex.setItemText(
            2, _translate("FindClientDialog", "Ж", None))
        self.chkFilterDocument.setText(
            _translate("FindClientDialog", "Документ", None))
        self.chkFilterAddress.setText(
            _translate("FindClientDialog", "Адрес", None))
        self.cmbFilterAddressType.setItemText(
            0, _translate("FindClientDialog", "Регистрации", None))
        self.cmbFilterAddressType.setItemText(
            1, _translate("FindClientDialog", "Проживания", None))
        self.chkFilterId.setText(_translate("FindClientDialog", "Код", None))
        self.chkFilterLastName.setText(
            _translate("FindClientDialog", "Фамилия", None))
        self.chkFilterFirstName.setText(
            _translate("FindClientDialog", "Имя", None))
        self.chkFilterPatrName.setText(
            _translate("FindClientDialog", "Отчество", None))
        self.chkFilterBirthDay.setText(
            _translate("FindClientDialog", "Дата рожд", None))
        self.chkFilterSocStatuses.setText(
            _translate("FindClientDialog", "Соц. статус", None))
        self.chkFilterHurtType.setText(
            _translate("FindClientDialog", "Вр", None))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabFind),
            _translate("FindClientDialog", "&Поиск", None))
        self.chkFilterCreatePerson.setText(
            _translate("FindClientDialog", "Автор", None))
        self.chkFilterCreateDate.setText(
            _translate("FindClientDialog", "Дата создания", None))
        self.chkFilterModifyPerson.setText(
            _translate("FindClientDialog", "Автор последнего изменения", None))
        self.chkFilterModifyDate.setText(
            _translate("FindClientDialog", "Дата последнего изменения", None))
        self.chkFilterAge.setText(
            _translate("FindClientDialog", "Возраст", None))
        self.cmbFilterBegAge.setItemText(
            0, _translate("FindClientDialog", "Лет", None))
        self.cmbFilterBegAge.setItemText(
            1, _translate("FindClientDialog", "Мес", None))
        self.cmbFilterBegAge.setItemText(
            2, _translate("FindClientDialog", "Нед", None))
        self.cmbFilterBegAge.setItemText(
            3, _translate("FindClientDialog", "Дней", None))
        self.cmbFilterEndAge.setItemText(
            0, _translate("FindClientDialog", "Лет", None))
        self.cmbFilterEndAge.setItemText(
            1, _translate("FindClientDialog", "Мес", None))
        self.cmbFilterEndAge.setItemText(
            2, _translate("FindClientDialog", "Нед", None))
        self.cmbFilterEndAge.setItemText(
            3, _translate("FindClientDialog", "Дней", None))
        self.chkFilterAddressOrgStructure.setText(
            _translate("FindClientDialog", "По участку", None))
        self.chkFilterAddressIsEmpty.setText(
            _translate("FindClientDialog", "Адрес пуст", None))
        self.chkFilterAttach.setText(
            _translate("FindClientDialog", "Прикрепление к ЛПУ", None))
        self.chkFilterAttachNonBase.setText(
            _translate("FindClientDialog", "Любое ЛПУ кроме базового", None))
        self.chkFilterTempInvalid.setText(
            _translate("FindClientDialog", "Период ВУТ", None))
        self.chkFilterRPFUnconfirmed.setText(
            _translate("FindClientDialog", "Неподтверждённые РПФ", None))
        self.chkFilterRPFConfirmed.setText(
            _translate("FindClientDialog", "Период подтверждения РПФ", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            0, _translate("FindClientDialog", "Регистрация", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            1, _translate("FindClientDialog", "Проживание", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            2,
            _translate("FindClientDialog", "Регистрация или проживание", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            3, _translate("FindClientDialog", "Прикрепление", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            4,
            _translate("FindClientDialog", "Регистрация или прикрепление",
                       None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            5,
            _translate("FindClientDialog", "Проживание или прикрепление",
                       None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            6,
            _translate("FindClientDialog",
                       "Регистрация, проживание или прикрепление", None))
        self.cmbFilterStatusBeds.setItemText(
            0, _translate("FindClientDialog", "не задано", None))
        self.cmbFilterStatusBeds.setItemText(
            1, _translate("FindClientDialog", "на лечении", None))
        self.cmbFilterStatusBeds.setItemText(
            2, _translate("FindClientDialog", "на выписке", None))
        self.cmbFilterStatusBeds.setItemText(
            3, _translate("FindClientDialog", "в очереди", None))
        self.chkFilterBeds.setText(
            _translate("FindClientDialog", "По койкам", None))
        self.chkFilterAttachType.setText(
            _translate("FindClientDialog", "Прикрепление", None))
        self.cmbFilterAttachCategory.setItemText(
            0, _translate("FindClientDialog", "-", None))
        self.cmbFilterAttachCategory.setItemText(
            1, _translate("FindClientDialog", "Постоянное", None))
        self.cmbFilterAttachCategory.setItemText(
            2, _translate("FindClientDialog", "Временное", None))
        self.cmbFilterAttachCategory.setItemText(
            3, _translate("FindClientDialog", "Выбыл", None))
        self.chkFilterEvent.setText(
            _translate("FindClientDialog", "Обращались", None))
        self.chkFilterFirstEvent.setText(
            _translate("FindClientDialog", "Первично", None))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabFindEx),
            _translate("FindClientDialog", "&Расширенный поиск", None))
        self.chkShowStaffOnly.setText(
            _translate("FindClientDialog", "Только сотрудники", None))