fw4spl
core/fwMedDataCamp/src/fwMedDataCamp/Patient.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include <fwCamp/UserObject.hpp>
8 
9 #include <fwMedData/Patient.hpp>
10 
11 //------------------------------------------------------------------------------
12 
13 fwCampImplementDataMacro((fwMedData)(Patient))
14 {
15  builder
16  .tag("object_version", "1")
17  .tag("lib_name", "fwMedData")
18  .base< ::fwData::Object>()
19  .property("name", &::fwMedData::Patient::m_name)
20  .property("patient_id", &::fwMedData::Patient::m_patientId)
21  .property("birth_date", &::fwMedData::Patient::m_birthdate)
22  .property("sex", &::fwMedData::Patient::m_sex)
23  ;
24 }
DicomValueType m_patientId
Primary hospital identification.
This class contains helper to generate Medical Data (SeriesDB, ImageSeries, ...). ...
Namespace containing medical data.
Base class for each data object.
DicomValueType m_sex
Patient&#39;s sex.