Rename patientinformationform to PatientInformationForm.

This commit is contained in:
Krad
2022-06-14 17:15:23 +08:00
parent 487adba746
commit 65f8fdff05
6 changed files with 265 additions and 234 deletions

View File

@@ -0,0 +1,27 @@
#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);
private:
Ui::PatientInformationForm *mUI;
PatientInformation* mInfo = nullptr;
int mCurrentProtocol = 0;
char * mJsonStr = nullptr;
};
#endif // PATIENTINFORMATIONFORM_H