Add start scan process from worklist and add scan protocal display in scan page.
This commit is contained in:
@@ -7,6 +7,11 @@ namespace Ui {
|
||||
class PatientInformationForm;
|
||||
}
|
||||
|
||||
enum ScanProtocal
|
||||
{
|
||||
LSTAND = 0, RSTAND, LONE, RONE
|
||||
};
|
||||
|
||||
class PatientInformationForm : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -14,17 +19,18 @@ class PatientInformationForm : public QWidget
|
||||
public:
|
||||
explicit PatientInformationForm(QWidget *parent = nullptr);
|
||||
~PatientInformationForm() override;
|
||||
void setPatientInformation(PatientInformationPointer information);
|
||||
void setPatientInformation(PatientInformationPointer information, ScanProtocal aProtocal);
|
||||
PatientInformationPointer getPatientInformation();
|
||||
int getProtocol();
|
||||
QString getProtocolString(ScanProtocal aProtocal);
|
||||
|
||||
const char * getCurrentPatientJsonString(bool emptyScan);
|
||||
QString getPatientID();
|
||||
QString getPatientID();
|
||||
|
||||
private:
|
||||
Ui::PatientInformationForm *mUI;
|
||||
PatientInformationPointer mInfo;
|
||||
int mCurrentProtocol = 0;
|
||||
ScanProtocal mCurrentProtocol = LSTAND;
|
||||
char * mJsonStr = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user