NorMIT-nav  18.04
An IGT application
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 46 of file cxPatientData.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file cxPatientData.cpp.

cx::PatientData::~PatientData ( )
virtual

Definition at line 55 of file cxPatientData.cpp.

Member Function Documentation

void cx::PatientData::autoSave ( )
slot

Definition at line 103 of file cxPatientData.cpp.

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

Definition at line 109 of file cxPatientData.cpp.

QString cx::PatientData::getActivePatientFolder ( ) const

Definition at line 58 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 140 of file cxPatientData.cpp.

bool cx::PatientData::isPatientValid ( ) const

Definition at line 63 of file cxPatientData.cpp.

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

Definition at line 181 of file cxPatientData.cpp.


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