Files
GUI/src/forms/scan/PatientInformationForm.h

33 lines
804 B
C
Raw Normal View History

2021-10-09 16:38:34 +08:00
#ifndef PATIENTINFORMATIONFORM_H
#define PATIENTINFORMATIONFORM_H
#include <QWidget>
#include "src/forms/select/PatientDetailForm.h"
2021-10-09 16:38:34 +08:00
namespace Ui {
class PatientInformationForm;
}
class PatientInformationForm : public QWidget
{
Q_OBJECT
public:
explicit PatientInformationForm(QWidget *parent = nullptr);
2022-06-13 11:21:44 +08:00
~PatientInformationForm() override;
void setPatientInformation(PatientInformation* information);
PatientInformation* getPatientInformation();
void setProtocol(int type);
int getProtocol();
const char * getCurrentPatientJsonString(bool emptyScan);
2023-09-05 16:32:38 +08:00
QString getPatientID();
2021-10-09 16:38:34 +08:00
private:
2022-06-13 11:21:44 +08:00
Ui::PatientInformationForm *mUI;
PatientInformation* mInfo = nullptr;
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
2021-10-09 16:38:34 +08:00
};
#endif // PATIENTINFORMATIONFORM_H