#ifndef PATIENTINFORMATIONFORM_H #define PATIENTINFORMATIONFORM_H #include #include "src/forms/select/PatientDetailForm.h" namespace Ui { class PatientInformationForm; } enum ScanProtocal { LSTAND = 0, RSTAND, LONE, RONE }; class PatientInformationForm : public QWidget { Q_OBJECT public: explicit PatientInformationForm(QWidget *parent = nullptr); ~PatientInformationForm() override; void setPatientInformation(PatientInformationPointer information, ScanProtocal aProtocal); PatientInformationPointer getPatientInformation(); int getProtocol(); QString getProtocolString(ScanProtocal aProtocal); const char * getCurrentPatientJsonString(bool emptyScan); QString getPatientID(); private: Ui::PatientInformationForm *mUI; PatientInformationPointer mInfo; ScanProtocal mCurrentProtocol = LSTAND; char * mJsonStr = nullptr; }; #endif // PATIENTINFORMATIONFORM_H