2024-10-30 09:27:16 +08:00
|
|
|
#ifndef MEDICALRECORDWIDGET_H
|
|
|
|
#define MEDICALRECORDWIDGET_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
des: MedicalRecordWidget 填写病历
|
|
|
|
author:zhangyiming
|
|
|
|
|
|
|
|
*/
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include <QComboBox>
|
|
|
|
#include <QDateEdit>
|
|
|
|
#include <QTextEdit>
|
|
|
|
#include <QGroupBox>
|
2024-11-25 11:00:08 +08:00
|
|
|
#include <QRadioButton>
|
2024-12-23 17:48:07 +08:00
|
|
|
#include <QDateTimeEdit>
|
2024-10-30 09:27:16 +08:00
|
|
|
class MedicalRecordWidget:public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit MedicalRecordWidget(QWidget * parent =nullptr);
|
|
|
|
virtual ~MedicalRecordWidget();
|
|
|
|
void init();
|
|
|
|
void initLay();
|
|
|
|
bool initConnect();
|
2024-12-24 11:04:56 +08:00
|
|
|
void initclear();
|
2024-11-22 15:59:32 +08:00
|
|
|
private slots:
|
|
|
|
void slotSave();
|
|
|
|
void slotCancel();
|
2024-10-30 09:27:16 +08:00
|
|
|
private:
|
2024-11-04 17:26:34 +08:00
|
|
|
|
2024-12-18 17:05:03 +08:00
|
|
|
QLabel m_labTitle;
|
2024-11-04 17:26:34 +08:00
|
|
|
|
2024-11-04 13:45:26 +08:00
|
|
|
QLabel m_labStar;
|
|
|
|
QLabel m_labStar2;
|
2024-10-30 09:27:16 +08:00
|
|
|
//检查号
|
|
|
|
QLabel m_labCheckNum;
|
|
|
|
QLineEdit m_editCheckNum;
|
|
|
|
|
|
|
|
//住院 hospitalized
|
2024-11-04 13:45:26 +08:00
|
|
|
QLabel m_labType;
|
2024-11-25 11:00:08 +08:00
|
|
|
QRadioButton m_chHospitalized;
|
|
|
|
QRadioButton m_chOutpatient;
|
2024-10-30 09:27:16 +08:00
|
|
|
|
|
|
|
//姓名
|
|
|
|
QLabel m_labName;
|
|
|
|
QLineEdit m_editName;
|
|
|
|
//性别
|
|
|
|
QLabel m_labSex;
|
2024-11-25 11:00:08 +08:00
|
|
|
QRadioButton m_chMan;
|
|
|
|
QRadioButton m_chWan;
|
2024-10-30 09:27:16 +08:00
|
|
|
|
2024-11-04 13:45:26 +08:00
|
|
|
//年龄
|
|
|
|
QLabel m_labAge;
|
|
|
|
QLineEdit m_editAge;
|
2024-12-23 17:48:07 +08:00
|
|
|
|
2024-10-30 09:27:16 +08:00
|
|
|
//左右利
|
|
|
|
QLabel m_labLaterality;
|
2024-11-25 11:00:08 +08:00
|
|
|
QRadioButton m_chLeft;
|
|
|
|
QRadioButton m_chRfight;
|
2024-11-04 13:45:26 +08:00
|
|
|
//出生日期
|
|
|
|
QLabel m_labBirthDay;
|
|
|
|
QDateEdit m_dateBirthDay;
|
2024-10-30 09:27:16 +08:00
|
|
|
|
|
|
|
//检查日期
|
|
|
|
QLabel m_labDate_Of_inspection;
|
|
|
|
QDateEdit m_dateInspection;
|
|
|
|
|
|
|
|
//诊断病历
|
|
|
|
QLabel m_labDiagnosticRecord;
|
|
|
|
QTextEdit m_textDiagnosticRecord;
|
|
|
|
|
|
|
|
QPushButton m_btnOk;
|
|
|
|
QPushButton m_btnCancel;
|
|
|
|
};
|
|
|
|
#endif // MEDICALRECORDWIDGET_H
|