Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancInitialization.cpp @ 5036:877bc3b96476
Handle Dicom sequences in ExtraMainDicomTags and save them in the 'MainDicomSequences' metadata
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 24 Jun 2022 15:47:10 +0200 |
parents | f377d5643538 |
children | 3444990cf295 |
comparison
equal
deleted
inserted
replaced
5035:67d98fccc850 | 5036:877bc3b96476 |
---|---|
260 else | 260 else |
261 { | 261 { |
262 ValueRepresentation vr = FromDcmtkBridge::LookupValueRepresentation(tag); | 262 ValueRepresentation vr = FromDcmtkBridge::LookupValueRepresentation(tag); |
263 if (vr == ValueRepresentation_Sequence) | 263 if (vr == ValueRepresentation_Sequence) |
264 { | 264 { |
265 LOG(WARNING) << " - " << tagName << " can not be added in the Extra Main Dicom Tags since it is a sequence"; | 265 LOG(INFO) << " - " << tagName << " (sequence)"; |
266 } | 266 } |
267 else | 267 else |
268 { | 268 { |
269 DicomMap::AddMainDicomTag(tag, tagName, level); | |
270 LOG(INFO) << " - " << tagName; | 269 LOG(INFO) << " - " << tagName; |
271 } | 270 } |
271 DicomMap::AddMainDicomTag(tag, tagName, level); | |
272 } | 272 } |
273 } | 273 } |
274 } | 274 } |
275 } | 275 } |
276 } | 276 } |