Files
GUI/src/forms/scan/PatientInformationForm.h
2024-04-29 17:58:17 +08:00

32 lines
780 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(PatientInformationPointer information);
PatientInformationPointer getPatientInformation();
int getProtocol();
const char * getCurrentPatientJsonString(bool emptyScan);
QString getPatientID();
private:
Ui::PatientInformationForm *mUI;
PatientInformationPointer mInfo;
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
};
#endif // PATIENTINFORMATIONFORM_H