comparison OrthancServer/ExportedResource.h @ 1244:a0e420c5f2b8

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Dec 2014 12:31:35 +0100
parents 58e6a89c3ef4
children 54bf0f0245f4
comparison
equal deleted inserted replaced
1243:3a3e7e3e244f 1244:a0e420c5f2b8
112 112
113 // WARNING: Do not add "break" below and do not reorder the case items! 113 // WARNING: Do not add "break" below and do not reorder the case items!
114 switch (resourceType_) 114 switch (resourceType_)
115 { 115 {
116 case ResourceType_Instance: 116 case ResourceType_Instance:
117 item["SopInstanceUid"] = sopInstanceUid_; 117 item["SOPInstanceUID"] = sopInstanceUid_;
118 118
119 case ResourceType_Series: 119 case ResourceType_Series:
120 item["SeriesInstanceUid"] = seriesInstanceUid_; 120 item["SeriesInstanceUID"] = seriesInstanceUid_;
121 121
122 case ResourceType_Study: 122 case ResourceType_Study:
123 item["StudyInstanceUid"] = studyInstanceUid_; 123 item["StudyInstanceUID"] = studyInstanceUid_;
124 124
125 case ResourceType_Patient: 125 case ResourceType_Patient:
126 item["PatientId"] = patientId_; 126 item["PatientID"] = patientId_;
127 break; 127 break;
128 128
129 default: 129 default:
130 throw OrthancException(ErrorCode_InternalError); 130 throw OrthancException(ErrorCode_InternalError);
131 } 131 }