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

32 lines
780 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;
2024-04-29 17:58:17 +08:00
void setPatientInformation(PatientInformationPointer information);
PatientInformationPointer getPatientInformation();
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;
2024-04-29 17:58:17 +08:00
PatientInformationPointer mInfo;
2022-06-13 11:21:44 +08:00
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
2021-10-09 16:38:34 +08:00
};
#endif // PATIENTINFORMATIONFORM_H