fw4spl
core/fwMedDataCamp/src/fwMedDataCamp/Study.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/Study.hpp>
10 
11 //------------------------------------------------------------------------------
12 
13 fwCampImplementDataMacro((fwMedData)(Study))
14 {
15  builder
16  .tag("object_version", "1")
17  .tag("lib_name", "fwMedData")
18  .base< ::fwData::Object>()
19  .property("instance_uid", &::fwMedData::Study::m_instanceUID)
20  .property("date", &::fwMedData::Study::m_date)
21  .property("time", &::fwMedData::Study::m_time)
22  .property("referring_physician_name", &::fwMedData::Study::m_referringPhysicianName)
23  .property("description", &::fwMedData::Study::m_description)
24  .property("patient_age", &::fwMedData::Study::m_patientAge)
25  ;
26 }
Namespace containing medical data.
DicomValueType m_instanceUID
Study unique identifier.
DicomValueType m_referringPhysicianName
Referring physician name.
DicomValueType m_description
Description.
Base class for each data object.
DicomValueType m_patientAge
Patient age.