7 #ifndef __FWMEDDATA_PATIENT_HPP__ 8 #define __FWMEDDATA_PATIENT_HPP__ 10 #include "fwMedData/config.hpp" 11 #include "fwMedData/types.hpp" 13 #include <fwData/factory/new.hpp> 14 #include <fwData/Object.hpp> 39 FWMEDDATA_API
virtual ~
Patient();
42 FWMEDDATA_API
void shallowCopy( const ::fwData::Object::csptr& _source )
override;
45 FWMEDDATA_API
void cachedDeepCopy( const ::fwData::Object::csptr& _source, DeepCopyCacheType& cache )
override;
54 const DicomValueType& getName ()
const;
55 void setName(
const DicomValueType& val);
61 const DicomValueType& getPatientId ()
const;
62 void setPatientId (
const DicomValueType& val);
68 const DicomValueType& getBirthdate ()
const;
69 void setBirthdate (
const DicomValueType& val);
76 const DicomValueType& getSex ()
const;
77 void setSex (
const DicomValueType& val);
157 #endif // __FWMEDDATA_PATIENT_HPP__ DicomValueType m_patientId
Primary hospital identification.
This class contains helper to generate Medical Data (SeriesDB, ImageSeries, ...). ...
DicomValueType m_birthdate
Birthdate.
Namespace containing medical data.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
DicomValueType m_name
Full name.
void setPatientId(const DicomValueType &val)
Primary hospital identification number or code for the patient (0010,0020)
const DicomValueType & getBirthdate() const
Birthdate of the patient (0010,0030)
const DicomValueType & getSex() const
Sex of the named patient (0010,0040) Enumerated Values: M = male, F = female, O = other...
void setBirthdate(const DicomValueType &val)
Birthdate of the patient (0010,0030)
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
void setName(const DicomValueType &val)
Patient's full name (0010,0010)
const DicomValueType & getPatientId() const
Primary hospital identification number or code for the patient (0010,0020)
Base class for each data object.
Holds patient information.
DicomValueType m_sex
Patient's sex.
void setSex(const DicomValueType &val)
Sex of the named patient (0010,0040) Enumerated Values: M = male, F = female, O = other...
const DicomValueType & getName() const
Patient's full name (0010,0010)