33 #ifndef CXPATIENTDATA_H_ 34 #define CXPATIENTDATA_H_ 36 #include "org_custusx_core_patientmodel_Export.h" 38 #include "boost/shared_ptr.hpp" 43 #include <QDomDocument> 67 class org_custusx_core_patientmodel_EXPORT
PatientData:
public QObject
71 explicit PatientData(DataServicePtr dataManager, SessionStorageServicePtr session);
74 QString getActivePatientFolder()
const;
75 bool isPatientValid()
const;
82 DataPtr importData(QString fileName, QString &infoText);
83 void removeData(QString uid);
84 void exportPatient(PATIENT_COORDINATE_SYSTEM externalSpace);
88 void patientChanged();
92 void onSessionLoad(QDomElement& node);
93 void onSessionSave(QDomElement& node);
96 DataServicePtr mDataManager;
97 SessionStorageServicePtr mSession;
Functionality for storing patient data in a folder on the disk and access to these data...
boost::shared_ptr< class DataManager > DataServicePtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< PatientData > PatientDataPtr
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr
Namespace for all CustusX production code.