33 lines
804 B
C++
33 lines
804 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);
|
|
PatientInformation* getPatientInformation();
|
|
void setProtocol(int type);
|
|
int getProtocol();
|
|
|
|
const char * getCurrentPatientJsonString(bool emptyScan);
|
|
QString getPatientID();
|
|
|
|
private:
|
|
Ui::PatientInformationForm *mUI;
|
|
PatientInformation* mInfo = nullptr;
|
|
int mCurrentProtocol = 0;
|
|
char * mJsonStr = nullptr;
|
|
};
|
|
|
|
#endif // PATIENTINFORMATIONFORM_H
|