Create a method to get Patient json from current patient.

This commit is contained in:
Krad
2021-10-14 14:38:31 +08:00
parent 591d042eb8
commit fca70376cc
2 changed files with 26 additions and 2 deletions

View File

@@ -16,9 +16,12 @@ public:
~PatientInformationForm();
void setPatientInformation(PatientInformation* information);
void setProtocol(int type);
const char * getCurrentPatientJsonString(bool emptyScan);
private:
Ui::PatientInformationForm *ui;
PatientInformation* inf = nullptr;
int currentProtocol = 0;
char * jsonstr = nullptr;
};
#endif // PATIENTINFORMATIONFORM_H