comparison OrthancServer/Sources/ServerToolbox.cpp @ 4139:a4f28efdfccf

"maxTagLength" must be explicitly given to ParsedDicomFile::ExtractDicomSummary()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Aug 2020 18:25:47 +0200
parents 9214e3a7b0a2
children 0ddc5297a8ab
comparison
equal deleted inserted replaced
4138:1a26daefc3fe 4139:a4f28efdfccf
267 267
268 ParsedDicomFile dicom(content); 268 ParsedDicomFile dicom(content);
269 269
270 // Update the tags of this resource 270 // Update the tags of this resource
271 DicomMap dicomSummary; 271 DicomMap dicomSummary;
272 dicom.ExtractDicomSummary(dicomSummary); 272 dicom.ExtractDicomSummary(dicomSummary, ORTHANC_MAXIMUM_TAG_LENGTH);
273 273
274 database.ClearMainDicomTags(resource); 274 database.ClearMainDicomTags(resource);
275 275
276 ResourcesContent tags; 276 ResourcesContent tags;
277 tags.AddResource(resource, level, dicomSummary); 277 tags.AddResource(resource, level, dicomSummary);