feat: Change Worklist reference class to suit MPPS
This commit is contained in:
@@ -9,11 +9,19 @@
|
||||
class QSqlTableModel;
|
||||
class QTableView;
|
||||
|
||||
enum WorklistQueryResult{
|
||||
InitNetWorkError,
|
||||
ConnectError,
|
||||
ContextError,
|
||||
ResponseError,
|
||||
Success
|
||||
};
|
||||
|
||||
class WorkListManager
|
||||
{
|
||||
public:
|
||||
static WorkListManager* getInstance();
|
||||
static QList<PatientInformationPointer> getPatientFromWorkList(const QString& aAccessionNum, const QString& aPatientId);
|
||||
static int getPatientFromWorkList(const QString& aAccessionNum, const QString& aPatientId, QList<PatientInformationPointer>& aOutPatients);
|
||||
|
||||
void setTableModel(QSqlTableModel* aModel);
|
||||
void setTableView(QTableView* aTableView);
|
||||
@@ -22,7 +30,6 @@ public:
|
||||
QSqlTableModel* getTableModel();
|
||||
QTableView* getTableView();
|
||||
|
||||
|
||||
private:
|
||||
WorkListManager();
|
||||
~WorkListManager();
|
||||
|
||||
Reference in New Issue
Block a user