Authors belongs to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
mStudyTime = reader.GetValEntry(0x008,0x0020)->GetValue();
mStudyDate = reader.GetValEntry(0x008,0x0030)->GetValue();
mLabel = reader.GetValEntry(0x3006,0x002)->GetValue();
- mName = reader.GetValEntry(0x3006,0x004)->GetValue();
+ if (!reader.GetValEntry(0x3006,0x004)) {
+ mName = "Anonymous";
+ }
+ else {
+ mName = reader.GetValEntry(0x3006,0x004)->GetValue();
+ }
mTime = reader.GetValEntry(0x3006,0x009)->GetValue();
//----------------------------------