12 #ifndef CXPATIENTDATA_H_ 13 #define CXPATIENTDATA_H_ 15 #include "org_custusx_core_patientmodel_Export.h" 17 #include "boost/shared_ptr.hpp" 22 #include <QDomDocument> 46 class org_custusx_core_patientmodel_EXPORT
PatientData:
public QObject
50 explicit PatientData(DataServicePtr dataManager, SessionStorageServicePtr session);
53 QString getActivePatientFolder()
const;
54 bool isPatientValid()
const;
61 DataPtr importData(QString fileName, QString &infoText);
62 void removeData(QString uid);
63 void exportPatient(PATIENT_COORDINATE_SYSTEM externalSpace);
67 void patientChanged();
71 void onSessionLoad(QDomElement& node);
72 void onSessionSave(QDomElement& node);
75 DataServicePtr mDataManager;
76 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.