class Ui_ParamsForExternalDialog(object):
    def setupUi(self, ParamsForExternalDialog):
        ParamsForExternalDialog.setObjectName(
            _fromUtf8("ParamsForExternalDialog"))
        ParamsForExternalDialog.resize(265, 109)
        self.gridLayout = QtGui.QGridLayout(ParamsForExternalDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ParamsForExternalDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 4)
        self.lblLastAccessibleTimelineDate = QtGui.QLabel(
            ParamsForExternalDialog)
        self.lblLastAccessibleTimelineDate.setWordWrap(False)
        self.lblLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("lblLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.lblLastAccessibleTimelineDate, 0, 0, 1,
                                  1)
        self.edtLastAccessibleTimelineDate = CDateEdit(ParamsForExternalDialog)
        self.edtLastAccessibleTimelineDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtLastAccessibleTimelineDate.
                                     sizePolicy().hasHeightForWidth())
        self.edtLastAccessibleTimelineDate.setSizePolicy(sizePolicy)
        self.edtLastAccessibleTimelineDate.setCalendarPopup(True)
        self.edtLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("edtLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.edtLastAccessibleTimelineDate, 0, 1, 1,
                                  2)
        self.lblTimelineAccessibilityDays = QtGui.QLabel(
            ParamsForExternalDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTimelineAccessibilityDays.sizePolicy().hasHeightForWidth())
        self.lblTimelineAccessibilityDays.setSizePolicy(sizePolicy)
        self.lblTimelineAccessibilityDays.setWordWrap(False)
        self.lblTimelineAccessibilityDays.setObjectName(
            _fromUtf8("lblTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.lblTimelineAccessibilityDays, 1, 0, 1,
                                  1)
        self.edtTimelineAccessibilityDays = QtGui.QSpinBox(
            ParamsForExternalDialog)
        self.edtTimelineAccessibilityDays.setEnabled(False)
        self.edtTimelineAccessibilityDays.setMaximumSize(
            QtCore.QSize(50, 16777215))
        self.edtTimelineAccessibilityDays.setMaximum(999)
        self.edtTimelineAccessibilityDays.setObjectName(
            _fromUtf8("edtTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.edtTimelineAccessibilityDays, 1, 1, 1,
                                  1)
        self.lblTimelineAccessibilityDaysSuffix = QtGui.QLabel(
            ParamsForExternalDialog)
        self.lblTimelineAccessibilityDaysSuffix.setObjectName(
            _fromUtf8("lblTimelineAccessibilityDaysSuffix"))
        self.gridLayout.addWidget(self.lblTimelineAccessibilityDaysSuffix, 1,
                                  2, 1, 1)
        self.chkTimelineAccessibilityDays = QtGui.QCheckBox(
            ParamsForExternalDialog)
        self.chkTimelineAccessibilityDays.setText(_fromUtf8(""))
        self.chkTimelineAccessibilityDays.setObjectName(
            _fromUtf8("chkTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.chkTimelineAccessibilityDays, 1, 3, 1,
                                  1)
        spacerItem1 = QtGui.QSpacerItem(80, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(80, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 4, 1, 1)
        self.chkLastAccessibleTimelineDate = QtGui.QCheckBox(
            ParamsForExternalDialog)
        self.chkLastAccessibleTimelineDate.setText(_fromUtf8(""))
        self.chkLastAccessibleTimelineDate.setChecked(False)
        self.chkLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("chkLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.chkLastAccessibleTimelineDate, 0, 3, 1,
                                  1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 4, 1, 1)

        self.retranslateUi(ParamsForExternalDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ParamsForExternalDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ParamsForExternalDialog.reject)
        QtCore.QObject.connect(self.chkLastAccessibleTimelineDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLastAccessibleTimelineDate.setEnabled)
        QtCore.QObject.connect(self.chkTimelineAccessibilityDays,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtTimelineAccessibilityDays.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ParamsForExternalDialog)
        ParamsForExternalDialog.setTabOrder(self.edtLastAccessibleTimelineDate,
                                            self.edtTimelineAccessibilityDays)
        ParamsForExternalDialog.setTabOrder(self.edtTimelineAccessibilityDays,
                                            self.buttonBox)

    def retranslateUi(self, ParamsForExternalDialog):
        ParamsForExternalDialog.setWindowTitle(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog",
                "Изменить параметры доступа к расписанию", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblLastAccessibleTimelineDate.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog",
                                         "Расписание видимо до", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtLastAccessibleTimelineDate.setToolTip(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog", "Если это поле заполнено,\n"
                "то указанная дата используется как предельная дата до которой видно расписание.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblTimelineAccessibilityDays.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog",
                                         "Расписание видимо на", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtTimelineAccessibilityDays.setToolTip(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog", "Если это поле заполнено (не 0),\n"
                "то указанная значение используется как количество дней начиная с текущего на которые видно расписание.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblTimelineAccessibilityDaysSuffix.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog", "дней",
                                         None, QtGui.QApplication.UnicodeUTF8))
Beispiel #2
0
class Ui_ExportR23NativePage1(object):
    def setupUi(self, ExportR23NativePage1):
        ExportR23NativePage1.setObjectName(_fromUtf8("ExportR23NativePage1"))
        ExportR23NativePage1.resize(727, 456)
        self.gridlayout = QtGui.QGridLayout(ExportR23NativePage1)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbPayMethod = QtGui.QComboBox(ExportR23NativePage1)
        self.cmbPayMethod.setObjectName(_fromUtf8("cmbPayMethod"))
        self.cmbPayMethod.addItem(_fromUtf8(""))
        self.cmbPayMethod.addItem(_fromUtf8(""))
        self.cmbPayMethod.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPayMethod, 4, 1, 1, 2)
        self.edtRegistryNumber = QtGui.QSpinBox(ExportR23NativePage1)
        self.edtRegistryNumber.setMaximum(99999)
        self.edtRegistryNumber.setObjectName(_fromUtf8("edtRegistryNumber"))
        self.gridlayout.addWidget(self.edtRegistryNumber, 1, 1, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnExport = QtGui.QPushButton(ExportR23NativePage1)
        self.btnExport.setObjectName(_fromUtf8("btnExport"))
        self.horizontalLayout.addWidget(self.btnExport)
        self.btnCancel = QtGui.QPushButton(ExportR23NativePage1)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.horizontalLayout.addWidget(self.btnCancel)
        self.gridlayout.addLayout(self.horizontalLayout, 14, 0, 1, 3)
        self.cmbAccountType = CRBComboBox(ExportR23NativePage1)
        self.cmbAccountType.setObjectName(_fromUtf8("cmbAccountType"))
        self.gridlayout.addWidget(self.cmbAccountType, 2, 1, 1, 2)
        self.lblRegistryNumber = QtGui.QLabel(ExportR23NativePage1)
        self.lblRegistryNumber.setObjectName(_fromUtf8("lblRegistryNumber"))
        self.gridlayout.addWidget(self.lblRegistryNumber, 1, 0, 1, 1)
        self.chkIgnoreErrors = QtGui.QCheckBox(ExportR23NativePage1)
        self.chkIgnoreErrors.setObjectName(_fromUtf8("chkIgnoreErrors"))
        self.gridlayout.addWidget(self.chkIgnoreErrors, 10, 0, 1, 1)
        self.lblAccountType = QtGui.QLabel(ExportR23NativePage1)
        self.lblAccountType.setObjectName(_fromUtf8("lblAccountType"))
        self.gridlayout.addWidget(self.lblAccountType, 2, 0, 1, 1)
        self.chkPreliminaryInvoice = QtGui.QCheckBox(ExportR23NativePage1)
        self.chkPreliminaryInvoice.setObjectName(_fromUtf8("chkPreliminaryInvoice"))
        self.gridlayout.addWidget(self.chkPreliminaryInvoice, 3, 1, 1, 1)
        self.logBrowser = QtGui.QTextBrowser(ExportR23NativePage1)
        self.logBrowser.setObjectName(_fromUtf8("logBrowser"))
        self.gridlayout.addWidget(self.logBrowser, 11, 0, 1, 3)
        self.chkVerboseLog = QtGui.QCheckBox(ExportR23NativePage1)
        self.chkVerboseLog.setObjectName(_fromUtf8("chkVerboseLog"))
        self.gridlayout.addWidget(self.chkVerboseLog, 9, 0, 1, 1)
        self.lblPayMethod = QtGui.QLabel(ExportR23NativePage1)
        self.lblPayMethod.setObjectName(_fromUtf8("lblPayMethod"))
        self.gridlayout.addWidget(self.lblPayMethod, 4, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 13, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem2, 0, 0, 1, 3)
        self.progressBar = CProgressBar(ExportR23NativePage1)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridlayout.addWidget(self.progressBar, 12, 0, 1, 3)
        self.lblOrgStructureCode = QtGui.QLabel(ExportR23NativePage1)
        self.lblOrgStructureCode.setObjectName(_fromUtf8("lblOrgStructureCode"))
        self.gridlayout.addWidget(self.lblOrgStructureCode, 5, 0, 1, 1)
        self.edtOrgStructureCode = QtGui.QLineEdit(ExportR23NativePage1)
        self.edtOrgStructureCode.setObjectName(_fromUtf8("edtOrgStructureCode"))
        self.gridlayout.addWidget(self.edtOrgStructureCode, 5, 1, 1, 2)
        self.chkUpdateAccountNumber = QtGui.QCheckBox(ExportR23NativePage1)
        self.chkUpdateAccountNumber.setObjectName(_fromUtf8("chkUpdateAccountNumber"))
        self.gridlayout.addWidget(self.chkUpdateAccountNumber, 9, 1, 1, 1)
        self.lblDats = QtGui.QLabel(ExportR23NativePage1)
        self.lblDats.setObjectName(_fromUtf8("lblDats"))
        self.gridlayout.addWidget(self.lblDats, 6, 0, 1, 1)
        self.lblDatps = QtGui.QLabel(ExportR23NativePage1)
        self.lblDatps.setObjectName(_fromUtf8("lblDatps"))
        self.gridlayout.addWidget(self.lblDatps, 7, 0, 1, 1)
        self.edtDats = CDateEdit(ExportR23NativePage1)
        self.edtDats.setObjectName(_fromUtf8("edtDats"))
        self.gridlayout.addWidget(self.edtDats, 6, 1, 1, 1)
        self.edtDatps = CDateEdit(ExportR23NativePage1)
        self.edtDatps.setObjectName(_fromUtf8("edtDatps"))
        self.gridlayout.addWidget(self.edtDatps, 7, 1, 1, 1)
        self.chkGenInvoice = QtGui.QCheckBox(ExportR23NativePage1)
        self.chkGenInvoice.setObjectName(_fromUtf8("chkGenInvoice"))
        self.gridlayout.addWidget(self.chkGenInvoice, 10, 1, 1, 1)
        self.lblRegistryNumber.setBuddy(self.edtRegistryNumber)
        self.lblAccountType.setBuddy(self.cmbAccountType)
        self.lblPayMethod.setBuddy(self.cmbPayMethod)
        self.lblOrgStructureCode.setBuddy(self.edtOrgStructureCode)

        self.retranslateUi(ExportR23NativePage1)
        QtCore.QMetaObject.connectSlotsByName(ExportR23NativePage1)
        ExportR23NativePage1.setTabOrder(self.edtRegistryNumber, self.cmbAccountType)
        ExportR23NativePage1.setTabOrder(self.cmbAccountType, self.cmbPayMethod)
        ExportR23NativePage1.setTabOrder(self.cmbPayMethod, self.edtOrgStructureCode)
        ExportR23NativePage1.setTabOrder(self.edtOrgStructureCode, self.chkVerboseLog)
        ExportR23NativePage1.setTabOrder(self.chkVerboseLog, self.chkIgnoreErrors)
        ExportR23NativePage1.setTabOrder(self.chkIgnoreErrors, self.logBrowser)
        ExportR23NativePage1.setTabOrder(self.logBrowser, self.btnExport)
        ExportR23NativePage1.setTabOrder(self.btnExport, self.btnCancel)

    def retranslateUi(self, ExportR23NativePage1):
        ExportR23NativePage1.setWindowTitle(_translate("ExportR23NativePage1", "Form", None))
        self.cmbPayMethod.setItemText(0, _translate("ExportR23NativePage1", "посещение, койко-день", None))
        self.cmbPayMethod.setItemText(1, _translate("ExportR23NativePage1", "простая, сложная и комплексная", None))
        self.cmbPayMethod.setItemText(2, _translate("ExportR23NativePage1", "законченный случай лечения", None))
        self.btnExport.setText(_translate("ExportR23NativePage1", "экспорт", None))
        self.btnCancel.setText(_translate("ExportR23NativePage1", "прервать", None))
        self.lblRegistryNumber.setText(_translate("ExportR23NativePage1", "Номер реестра счета", None))
        self.chkIgnoreErrors.setText(_translate("ExportR23NativePage1", "Игнорировать ошибки", None))
        self.chkPreliminaryInvoice.setText(_translate("ExportR23NativePage1", "Предварительный счет", None))
        self.lblAccountType.setText(_translate("ExportR23NativePage1", "Тип счета", None))
        self.chkVerboseLog.setText(_translate("ExportR23NativePage1", "Подробный отчет", None))
        self.lblPayMethod.setText(_translate("ExportR23NativePage1", "Метод оплаты", None))
        self.lblOrgStructureCode.setToolTip(_translate("ExportR23NativePage1", "Код подразделения, в которое был направлен пациент из внешней организации", None))
        self.lblOrgStructureCode.setText(_translate("ExportR23NativePage1", "Код подразделения", None))
        self.edtOrgStructureCode.setToolTip(_translate("ExportR23NativePage1", "Код подразделения, в которое был направлен пациент из внешней организации", None))
        self.edtOrgStructureCode.setInputMask(_translate("ExportR23NativePage1", "99999; ", None))
        self.chkUpdateAccountNumber.setText(_translate("ExportR23NativePage1", "Заменить номер счета", None))
        self.lblDats.setToolTip(_translate("ExportR23NativePage1", "Используется для заполнения поля <b>DATS</b>", None))
        self.lblDats.setText(_translate("ExportR23NativePage1", "Дата формирования реестра", None))
        self.lblDatps.setToolTip(_translate("ExportR23NativePage1", "Используется для заполнения поля <b>DATPS</b>", None))
        self.lblDatps.setText(_translate("ExportR23NativePage1", "Дата формирования персонального счета", None))
        self.edtDats.setToolTip(_translate("ExportR23NativePage1", "Используется для заполнения поля <b>DATS</b>", None))
        self.edtDatps.setToolTip(_translate("ExportR23NativePage1", "Используется для заполнения поля <b>DATPS</b>", None))
        self.chkGenInvoice.setText(_translate("ExportR23NativePage1", "Формировать счет-фактуру", None))
Beispiel #3
0
class Ui_PreCreateEventDialog(object):
    def setupUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setObjectName(_fromUtf8("PreCreateEventDialog"))
        PreCreateEventDialog.resize(713, 800)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            PreCreateEventDialog.sizePolicy().hasHeightForWidth())
        PreCreateEventDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(PreCreateEventDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(PreCreateEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabStandart = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabStandart.sizePolicy().hasHeightForWidth())
        self.tabStandart.setSizePolicy(sizePolicy)
        self.tabStandart.setObjectName(_fromUtf8("tabStandart"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabStandart)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.grpReferral = QtGui.QGroupBox(self.tabStandart)
        self.grpReferral.setFlat(True)
        self.grpReferral.setCheckable(True)
        self.grpReferral.setChecked(False)
        self.grpReferral.setObjectName(_fromUtf8("grpReferral"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grpReferral)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtFreeInput = QtGui.QLineEdit(self.grpReferral)
        self.edtFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFreeInput.sizePolicy().hasHeightForWidth())
        self.edtFreeInput.setSizePolicy(sizePolicy)
        self.edtFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.gridLayout_5.addWidget(self.edtFreeInput, 5, 1, 1, 2)
        self.lblDate = QtGui.QLabel(self.grpReferral)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout_5.addWidget(self.lblDate, 2, 0, 1, 1)
        self.lblReferralType = QtGui.QLabel(self.grpReferral)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout_5.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.edtDate = CDateEdit(self.grpReferral)
        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_5.addWidget(self.edtDate, 2, 1, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpReferral)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_5.addWidget(self.lblNumber, 1, 0, 1, 1)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpReferral)
        self.cmbRelegateOrg.setMinimumSize(QtCore.QSize(367, 0))
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_5.addWidget(self.cmbRelegateOrg, 4, 1, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpReferral)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_5.addWidget(self.lblRelegateOrg, 4, 0, 1, 1)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpReferral)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_5.addWidget(self.btnSelectRelegateOrg, 4, 3, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.grpReferral)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout_5.addWidget(self.lblPlannedDate, 3, 0, 1, 1)
        self.edtPlannedDate = CDateEdit(self.grpReferral)
        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.setToolTip(_fromUtf8(""))
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout_5.addWidget(self.edtPlannedDate, 3, 1, 1, 1)
        self.chkFreeInput = QtGui.QCheckBox(self.grpReferral)
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.gridLayout_5.addWidget(self.chkFreeInput, 5, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpReferral)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_5.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.edtPerson = QtGui.QLineEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPerson.sizePolicy().hasHeightForWidth())
        self.edtPerson.setSizePolicy(sizePolicy)
        self.edtPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout_5.addWidget(self.edtPerson, 6, 1, 1, 3)
        self.lblSpeciality = QtGui.QLabel(self.grpReferral)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_5.addWidget(self.lblSpeciality, 7, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_5.addWidget(self.cmbSpeciality, 7, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.grpReferral)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout_5.addWidget(self.lblDiagnosis, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_5.addWidget(self.cmbMKB, 8, 1, 1, 3)
        self.cmbReferralType = CRBComboBox(self.grpReferral)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout_5.addWidget(self.cmbReferralType, 0, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.grpReferral)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_5.addWidget(self.edtNumber, 1, 1, 1, 3)
        self.gridLayout_2.addWidget(self.grpReferral, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 5, 1, 1, 1)
        self.chkSelectPreviousActions = QtGui.QCheckBox(self.tabStandart)
        self.chkSelectPreviousActions.setEnabled(True)
        self.chkSelectPreviousActions.setObjectName(
            _fromUtf8("chkSelectPreviousActions"))
        self.gridLayout_2.addWidget(self.chkSelectPreviousActions, 5, 2, 1, 1)
        self.btnAppointment = QtGui.QPushButton(self.tabStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnAppointment.sizePolicy().hasHeightForWidth())
        self.btnAppointment.setSizePolicy(sizePolicy)
        self.btnAppointment.setObjectName(_fromUtf8("btnAppointment"))
        self.gridLayout_2.addWidget(self.btnAppointment, 5, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 1, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.tabStandart)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbOrg = CPolyclinicComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrg.sizePolicy().hasHeightForWidth())
        self.cmbOrg.setSizePolicy(sizePolicy)
        self.cmbOrg.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_4.addWidget(self.cmbOrg, 0, 2, 1, 9)
        self.lblExternalId = QtGui.QLabel(self.groupBox)
        self.lblExternalId.setObjectName(_fromUtf8("lblExternalId"))
        self.gridLayout_4.addWidget(self.lblExternalId, 8, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_4.addWidget(self.cmbPerson, 2, 2, 1, 9)
        self.lblPersonal = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout_4.addWidget(self.lblPersonal, 2, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout_4.addWidget(self.lblEventType, 1, 1, 1, 1)
        self.chkIncludeRedDays = QtGui.QCheckBox(self.groupBox)
        self.chkIncludeRedDays.setObjectName(_fromUtf8("chkIncludeRedDays"))
        self.gridLayout_4.addWidget(self.chkIncludeRedDays, 5, 1, 1, 1)
        self.chkAddVisits = QtGui.QCheckBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAddVisits.sizePolicy().hasHeightForWidth())
        self.chkAddVisits.setSizePolicy(sizePolicy)
        self.chkAddVisits.setObjectName(_fromUtf8("chkAddVisits"))
        self.gridLayout_4.addWidget(self.chkAddVisits, 5, 2, 1, 9)
        self.edtDays = QtGui.QSpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDays.sizePolicy().hasHeightForWidth())
        self.edtDays.setSizePolicy(sizePolicy)
        self.edtDays.setObjectName(_fromUtf8("edtDays"))
        self.gridLayout_4.addWidget(self.edtDays, 7, 2, 1, 1)
        self.lblOrg = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrg.sizePolicy().hasHeightForWidth())
        self.lblOrg.setSizePolicy(sizePolicy)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self.gridLayout_4.addWidget(self.lblOrg, 0, 1, 1, 1)
        self.lblCuratorId = QtGui.QLabel(self.groupBox)
        self.lblCuratorId.setObjectName(_fromUtf8("lblCuratorId"))
        self.gridLayout_4.addWidget(self.lblCuratorId, 10, 1, 1, 1)
        self.cmbCuratorId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCuratorId.sizePolicy().hasHeightForWidth())
        self.cmbCuratorId.setSizePolicy(sizePolicy)
        self.cmbCuratorId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbCuratorId.setObjectName(_fromUtf8("cmbCuratorId"))
        self.gridLayout_4.addWidget(self.cmbCuratorId, 10, 2, 1, 9)
        self.lblAssistantId = QtGui.QLabel(self.groupBox)
        self.lblAssistantId.setObjectName(_fromUtf8("lblAssistantId"))
        self.gridLayout_4.addWidget(self.lblAssistantId, 9, 1, 1, 1)
        self.edtExternalId = QtGui.QLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtExternalId.sizePolicy().hasHeightForWidth())
        self.edtExternalId.setSizePolicy(sizePolicy)
        self.edtExternalId.setMinimumSize(QtCore.QSize(401, 0))
        self.edtExternalId.setObjectName(_fromUtf8("edtExternalId"))
        self.gridLayout_4.addWidget(self.edtExternalId, 8, 2, 1, 9)
        self.lblDays = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDays.sizePolicy().hasHeightForWidth())
        self.lblDays.setSizePolicy(sizePolicy)
        self.lblDays.setObjectName(_fromUtf8("lblDays"))
        self.gridLayout_4.addWidget(self.lblDays, 7, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_4.addWidget(self.cmbEventType, 1, 2, 1, 9)
        self.cmbTissueType = CRBComboBox(self.groupBox)
        self.cmbTissueType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setMinimumSize(QtCore.QSize(401, 25))
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_4.addWidget(self.cmbTissueType, 11, 2, 1, 9)
        self.cmbAssistantId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAssistantId.sizePolicy().hasHeightForWidth())
        self.cmbAssistantId.setSizePolicy(sizePolicy)
        self.cmbAssistantId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbAssistantId.setObjectName(_fromUtf8("cmbAssistantId"))
        self.gridLayout_4.addWidget(self.cmbAssistantId, 9, 2, 1, 9)
        self.lblTissueType = QtGui.QLabel(self.groupBox)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_4.addWidget(self.lblTissueType, 11, 1, 1, 1)
        self.lblEventSetDate = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventSetDate.sizePolicy().hasHeightForWidth())
        self.lblEventSetDate.setSizePolicy(sizePolicy)
        self.lblEventSetDate.setObjectName(_fromUtf8("lblEventSetDate"))
        self.gridLayout_4.addWidget(self.lblEventSetDate, 4, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.groupBox)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_4.addWidget(self.lblOrgStructure, 3, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbOrgStructure, 3, 2, 1, 9)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblEventDateFrom = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateFrom.sizePolicy().hasHeightForWidth())
        self.lblEventDateFrom.setSizePolicy(sizePolicy)
        self.lblEventDateFrom.setObjectName(_fromUtf8("lblEventDateFrom"))
        self.horizontalLayout.addWidget(self.lblEventDateFrom)
        self.edtEventSetDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetDate.sizePolicy().hasHeightForWidth())
        self.edtEventSetDate.setSizePolicy(sizePolicy)
        self.edtEventSetDate.setCalendarPopup(True)
        self.edtEventSetDate.setObjectName(_fromUtf8("edtEventSetDate"))
        self.horizontalLayout.addWidget(self.edtEventSetDate)
        self.edtEventSetTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetTime.sizePolicy().hasHeightForWidth())
        self.edtEventSetTime.setSizePolicy(sizePolicy)
        self.edtEventSetTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventSetTime.setCurrentSectionIndex(0)
        self.edtEventSetTime.setObjectName(_fromUtf8("edtEventSetTime"))
        self.horizontalLayout.addWidget(self.edtEventSetTime)
        self.lblEventDateTo = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateTo.sizePolicy().hasHeightForWidth())
        self.lblEventDateTo.setSizePolicy(sizePolicy)
        self.lblEventDateTo.setObjectName(_fromUtf8("lblEventDateTo"))
        self.horizontalLayout.addWidget(self.lblEventDateTo)
        self.edtEventDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventDate.sizePolicy().hasHeightForWidth())
        self.edtEventDate.setSizePolicy(sizePolicy)
        self.edtEventDate.setCalendarPopup(True)
        self.edtEventDate.setObjectName(_fromUtf8("edtEventDate"))
        self.horizontalLayout.addWidget(self.edtEventDate)
        self.edtEventTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventTime.sizePolicy().hasHeightForWidth())
        self.edtEventTime.setSizePolicy(sizePolicy)
        self.edtEventTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventTime.setCurrentSectionIndex(0)
        self.edtEventTime.setObjectName(_fromUtf8("edtEventTime"))
        self.horizontalLayout.addWidget(self.edtEventTime)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_4.addLayout(self.horizontalLayout, 4, 2, 1, 9)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 3)
        self.btnAppointment.raise_()
        self.chkSelectPreviousActions.raise_()
        self.groupBox.raise_()
        self.grpReferral.raise_()
        self.tabWidget.addTab(self.tabStandart, _fromUtf8(""))
        self.tabNosology = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabNosology.sizePolicy().hasHeightForWidth())
        self.tabNosology.setSizePolicy(sizePolicy)
        self.tabNosology.setObjectName(_fromUtf8("tabNosology"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabNosology)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtNosologyDiagnosis = CICDCodeComboBoxEx(self.tabNosology)
        self.edtNosologyDiagnosis.setObjectName(
            _fromUtf8("edtNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.edtNosologyDiagnosis, 0, 1, 1, 1)
        self.lblNosologyDiagnosis = QtGui.QLabel(self.tabNosology)
        self.lblNosologyDiagnosis.setObjectName(
            _fromUtf8("lblNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.lblNosologyDiagnosis, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.tabWidget.addTab(self.tabNosology, _fromUtf8(""))
        self.tabArmyReferral = QtGui.QWidget()
        self.tabArmyReferral.setObjectName(_fromUtf8("tabArmyReferral"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabArmyReferral)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.grpArmyRefferel = QtGui.QGroupBox(self.tabArmyReferral)
        self.grpArmyRefferel.setCheckable(True)
        self.grpArmyRefferel.setChecked(False)
        self.grpArmyRefferel.setObjectName(_fromUtf8("grpArmyRefferel"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpArmyRefferel)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.edtArmyDate = CDateEdit(self.grpArmyRefferel)
        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_6.addWidget(self.edtArmyDate, 1, 1, 1, 2)
        self.lblArmyDate = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout_6.addWidget(self.lblArmyDate, 1, 0, 1, 1)
        self.cmbArmyOrg = CArmyOrgComboBox(self.grpArmyRefferel)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.gridLayout_6.addWidget(self.cmbArmyOrg, 2, 1, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout_6.addWidget(self.cmbArmyNumber, 0, 1, 1, 2)
        self.lblArmyFreeInput = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout_6.addWidget(self.lblArmyFreeInput, 2, 0, 1, 1)
        self.lblArmyNumber = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout_6.addWidget(self.lblArmyNumber, 0, 0, 1, 1)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.grpArmyRefferel)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.gridLayout_6.addWidget(self.btnSelectArmyOrg, 2, 2, 1, 1)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.grpArmyRefferel)
        self.edtArmyFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyFreeInput.sizePolicy().hasHeightForWidth())
        self.edtArmyFreeInput.setSizePolicy(sizePolicy)
        self.edtArmyFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.gridLayout_6.addWidget(self.edtArmyFreeInput, 3, 1, 1, 2)
        self.chkArmyFreeInput = QtGui.QCheckBox(self.grpArmyRefferel)
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.gridLayout_6.addWidget(self.chkArmyFreeInput, 3, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem5, 4, 1, 1, 1)
        self.lblArmyNumber.raise_()
        self.cmbArmyNumber.raise_()
        self.lblArmyDate.raise_()
        self.edtArmyDate.raise_()
        self.lblArmyFreeInput.raise_()
        self.cmbArmyOrg.raise_()
        self.btnSelectArmyOrg.raise_()
        self.chkArmyFreeInput.raise_()
        self.edtArmyFreeInput.raise_()
        self.verticalLayout.addWidget(self.grpArmyRefferel)
        self.tabWidget.addTab(self.tabArmyReferral, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PreCreateEventDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblPerson.setBuddy(self.edtPerson)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblExternalId.setBuddy(self.edtExternalId)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrg.setBuddy(self.cmbOrg)
        self.lblCuratorId.setBuddy(self.cmbCuratorId)
        self.lblAssistantId.setBuddy(self.cmbAssistantId)
        self.lblDays.setBuddy(self.edtDays)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblEventSetDate.setBuddy(self.edtEventSetDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventDateTo.setBuddy(self.edtEventDate)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)

        self.retranslateUi(PreCreateEventDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PreCreateEventDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PreCreateEventDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreCreateEventDialog)
        PreCreateEventDialog.setTabOrder(self.tabWidget, self.cmbOrg)
        PreCreateEventDialog.setTabOrder(self.cmbOrg, self.cmbEventType)
        PreCreateEventDialog.setTabOrder(self.cmbEventType, self.cmbPerson)
        PreCreateEventDialog.setTabOrder(self.cmbPerson, self.cmbOrgStructure)
        PreCreateEventDialog.setTabOrder(self.cmbOrgStructure,
                                         self.edtEventSetDate)
        PreCreateEventDialog.setTabOrder(self.edtEventSetDate,
                                         self.edtEventSetTime)
        PreCreateEventDialog.setTabOrder(self.edtEventSetTime,
                                         self.edtEventDate)
        PreCreateEventDialog.setTabOrder(self.edtEventDate, self.edtEventTime)
        PreCreateEventDialog.setTabOrder(self.edtEventTime,
                                         self.chkIncludeRedDays)
        PreCreateEventDialog.setTabOrder(self.chkIncludeRedDays,
                                         self.chkAddVisits)
        PreCreateEventDialog.setTabOrder(self.chkAddVisits, self.edtDays)
        PreCreateEventDialog.setTabOrder(self.edtDays, self.edtExternalId)
        PreCreateEventDialog.setTabOrder(self.edtExternalId,
                                         self.cmbAssistantId)
        PreCreateEventDialog.setTabOrder(self.cmbAssistantId,
                                         self.cmbCuratorId)
        PreCreateEventDialog.setTabOrder(self.cmbCuratorId, self.cmbTissueType)
        PreCreateEventDialog.setTabOrder(self.cmbTissueType, self.grpReferral)
        PreCreateEventDialog.setTabOrder(self.grpReferral,
                                         self.cmbReferralType)
        PreCreateEventDialog.setTabOrder(self.cmbReferralType, self.edtNumber)
        PreCreateEventDialog.setTabOrder(self.edtNumber, self.edtDate)
        PreCreateEventDialog.setTabOrder(self.edtDate, self.edtPlannedDate)
        PreCreateEventDialog.setTabOrder(self.edtPlannedDate,
                                         self.cmbRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.cmbRelegateOrg,
                                         self.btnSelectRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectRelegateOrg,
                                         self.chkFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        PreCreateEventDialog.setTabOrder(self.edtFreeInput, self.edtPerson)
        PreCreateEventDialog.setTabOrder(self.edtPerson, self.cmbSpeciality)
        PreCreateEventDialog.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        PreCreateEventDialog.setTabOrder(self.cmbMKB, self.btnAppointment)
        PreCreateEventDialog.setTabOrder(self.btnAppointment,
                                         self.chkSelectPreviousActions)
        PreCreateEventDialog.setTabOrder(self.chkSelectPreviousActions,
                                         self.buttonBox)
        PreCreateEventDialog.setTabOrder(self.buttonBox,
                                         self.edtNosologyDiagnosis)
        PreCreateEventDialog.setTabOrder(self.edtNosologyDiagnosis,
                                         self.grpArmyRefferel)
        PreCreateEventDialog.setTabOrder(self.grpArmyRefferel,
                                         self.cmbArmyNumber)
        PreCreateEventDialog.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        PreCreateEventDialog.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        PreCreateEventDialog.setTabOrder(self.cmbArmyOrg,
                                         self.btnSelectArmyOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectArmyOrg,
                                         self.chkArmyFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkArmyFreeInput,
                                         self.edtArmyFreeInput)

    def retranslateUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setWindowTitle(
            _translate("PreCreateEventDialog", "Новое обращение", None))
        self.grpReferral.setTitle(
            _translate("PreCreateEventDialog", "Добавить направление из ЛПУ",
                       None))
        self.lblDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblReferralType.setText(
            _translate("PreCreateEventDialog", "Тип направления", None))
        self.lblNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.lblRelegateOrg.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.btnSelectRelegateOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.lblPlannedDate.setToolTip(
            _translate("PreCreateEventDialog",
                       "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(
            _translate("PreCreateEventDialog",
                       "Дата планируемой госпитализации", None))
        self.chkFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.lblPerson.setText(_translate("PreCreateEventDialog", "Врач",
                                          None))
        self.lblSpeciality.setText(
            _translate("PreCreateEventDialog", "Специальность", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "PreCreateEventDialog",
                "<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.lblDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.chkSelectPreviousActions.setText(
            _translate("PreCreateEventDialog",
                       "Отметить действия добавленные в прошлый раз", None))
        self.btnAppointment.setText(
            _translate("PreCreateEventDialog", "Запись на прием в другое ЛПУ",
                       None))
        self.lblExternalId.setText(
            _translate("PreCreateEventDialog", "Внешний идентификатор", None))
        self.lblPersonal.setText(
            _translate("PreCreateEventDialog", "&Врач", None))
        self.lblEventType.setText(
            _translate("PreCreateEventDialog", "&Цель", None))
        self.chkIncludeRedDays.setText(
            _translate("PreCreateEventDialog", "включая выходные", None))
        self.chkAddVisits.setText(
            _translate("PreCreateEventDialog",
                       "Добавить визиты по длительности", None))
        self.lblOrg.setText(_translate("PreCreateEventDialog", "&ЛПУ", None))
        self.lblCuratorId.setText(
            _translate("PreCreateEventDialog", "Куратор", None))
        self.lblAssistantId.setText(
            _translate("PreCreateEventDialog", "Ассистент", None))
        self.lblDays.setText(_translate("PreCreateEventDialog", "Дней", None))
        self.lblTissueType.setText(
            _translate("PreCreateEventDialog", "Тип биоматериала", None))
        self.lblEventSetDate.setText(
            _translate("PreCreateEventDialog", "&Дата", None))
        self.lblOrgStructure.setText(
            _translate("PreCreateEventDialog", "&Подразделение", None))
        self.lblEventDateFrom.setText(
            _translate("PreCreateEventDialog", "с", None))
        self.edtEventSetTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.lblEventDateTo.setText(
            _translate("PreCreateEventDialog", "по", None))
        self.edtEventTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabStandart),
            _translate("PreCreateEventDialog", "Стандартное", None))
        self.lblNosologyDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabNosology),
            _translate("PreCreateEventDialog", "Нозология (ф.30)", None))
        self.grpArmyRefferel.setTitle(
            _translate("PreCreateEventDialog",
                       "Добавить направление из военкомата", None))
        self.lblArmyDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.lblArmyNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.btnSelectArmyOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.chkArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabArmyReferral),
            _translate("PreCreateEventDialog", "Направление из военкомата",
                       None))
Beispiel #4
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))