Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::PatientData Class Reference

Functionality for storing patient data in a folder on the disk and access to these data.Keeps track of a single active patient (patient folder). Only one such patient can be active at a time, since the global managers are updated by this class. More...

#include <cxPatientData.h>

Inheritance diagram for cx::PatientData:

Public Slots

DataPtr importData (QString fileName, QString &infoText)
 Import data into CustusX. More...
 
void removeData (QString uid)
 
void exportPatient (PATIENT_COORDINATE_SYSTEM externalSpace)
 
void autoSave ()
 

Signals

void patientChanged ()
 

Public Member Functions

 PatientData (DataServicePtr dataManager, SessionStorageServicePtr session)
 
virtual ~PatientData ()
 
QString getActivePatientFolder () const
 
bool isPatientValid () const
 

Detailed Description

Functionality for storing patient data in a folder on the disk and access to these data.

Keeps track of a single active patient (patient folder). Only one such patient can be active at a time, since the global managers are updated by this class.

Date
May 18, 2010
Author
christiana

Definition at line 67 of file cxPatientData.h.

Constructor & Destructor Documentation

cx::PatientData::PatientData ( DataServicePtr  dataManager,
SessionStorageServicePtr  session 
)
explicit

Definition at line 65 of file cxPatientData.cpp.

cx::PatientData::~PatientData ( )
virtual

Definition at line 76 of file cxPatientData.cpp.

Member Function Documentation

void cx::PatientData::autoSave ( )
slot

Definition at line 124 of file cxPatientData.cpp.

void cx::PatientData::exportPatient ( PATIENT_COORDINATE_SYSTEM  externalSpace)
slot

Definition at line 130 of file cxPatientData.cpp.

QString cx::PatientData::getActivePatientFolder ( ) const

Definition at line 79 of file cxPatientData.cpp.

DataPtr cx::PatientData::importData ( QString  fileName,
QString &  infoText 
)
slot

Import data into CustusX.

Parameters
fileNameThe file name of the imported file(s)
[out]infoTextInformation about any errors/warnings that occurred during import

Definition at line 161 of file cxPatientData.cpp.

bool cx::PatientData::isPatientValid ( ) const

Definition at line 84 of file cxPatientData.cpp.

void cx::PatientData::patientChanged ( )
signal
void cx::PatientData::removeData ( QString  uid)
slot

Definition at line 202 of file cxPatientData.cpp.


The documentation for this class was generated from the following files: