Files
GUI/src/forms/scan/PatientInformationForm.h
2023-09-05 16:32:38 +08:00

29 lines
730 B
C++

#ifndef PATIENTINFORMATIONFORM_H
#define PATIENTINFORMATIONFORM_H
#include <QWidget>
#include "src/forms/select/PatientDetailForm.h"
namespace Ui {
class PatientInformationForm;
}
class PatientInformationForm : public QWidget
{
Q_OBJECT
public:
explicit PatientInformationForm(QWidget *parent = nullptr);
~PatientInformationForm() override;
void setPatientInformation(PatientInformation* information);
void setProtocol(int type);
const char * getCurrentPatientJsonString(bool emptyScan);
QString getPatientID();
private:
Ui::PatientInformationForm *mUI;
PatientInformation* mInfo = nullptr;
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
};
#endif // PATIENTINFORMATIONFORM_H