This class is a representation of a dicom patient. More...
#include <QtDcmPatient.h>
Classes | |
class | Private |
Public Member Functions | |
QtDcmPatient () | |
Default constructor. More... | |
virtual | ~QtDcmPatient () |
Default destructor. More... | |
QString | id () const |
Id getter. More... | |
void | setId (const QString &id) |
Id setter. More... | |
QString | name () const |
Patient name getter. More... | |
void | setName (const QString &name) |
Patient name setter. More... | |
QString | birthdate () const |
Patient birthdate getter. More... | |
void | setBirthdate (const QString &birthdate) |
Patient birthdate setter. More... | |
QString | gender () const |
Patient sex getter. More... | |
void | setGender (const QString &sex) |
Patient sex setter. More... | |
QList< QtDcmStudy > | studies () const |
Patient studies list getter. More... | |
void | setStudies (const QList< QtDcmStudy > &studies) |
Patient studies list setter. More... | |
void | addStudy (const QtDcmStudy &study) |
Add study in the list. More... | |
void | removeStudy (int index) |
Remove study at position index. More... | |
This class is a representation of a dicom patient.
Definition at line 31 of file QtDcmPatient.h.
QtDcmPatient::QtDcmPatient | ( | ) |
Default constructor.
Definition at line 37 of file QtDcmPatient.cpp.
|
virtual |
Default destructor.
Definition at line 40 of file QtDcmPatient.cpp.
QString QtDcmPatient::id | ( | ) | const |
void QtDcmPatient::setId | ( | const QString & | id | ) |
QString QtDcmPatient::name | ( | ) | const |
void QtDcmPatient::setName | ( | const QString & | name | ) |
QString QtDcmPatient::birthdate | ( | ) | const |
void QtDcmPatient::setBirthdate | ( | const QString & | birthdate | ) |
QString QtDcmPatient::gender | ( | ) | const |
void QtDcmPatient::setGender | ( | const QString & | sex | ) |
QList< QtDcmStudy > QtDcmPatient::studies | ( | ) | const |
Patient studies list getter.
Definition at line 85 of file QtDcmPatient.cpp.
void QtDcmPatient::setStudies | ( | const QList< QtDcmStudy > & | studies | ) |
Patient studies list setter.
studies | a QList of studies |
Definition at line 90 of file QtDcmPatient.cpp.
void QtDcmPatient::addStudy | ( | const QtDcmStudy & | study | ) |
Add study in the list.
Definition at line 95 of file QtDcmPatient.cpp.
void QtDcmPatient::removeStudy | ( | int | index | ) |
Remove study at position index.
Definition at line 100 of file QtDcmPatient.cpp.