comparison StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1531:d3cafeef07bb

fix for new interface of Orthanc::ParsedDicomFile::ExtractDicomSummary()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Aug 2020 18:32:09 +0200
parents 2b7d34cb764f
children 0443d04416d9
comparison
equal deleted inserted replaced
1530:3eca4f9c2827 1531:d3cafeef07bb
1123 } 1123 }
1124 1124
1125 virtual void Handle(const OrthancStone::ParseDicomSuccessMessage& message) const ORTHANC_OVERRIDE 1125 virtual void Handle(const OrthancStone::ParseDicomSuccessMessage& message) const ORTHANC_OVERRIDE
1126 { 1126 {
1127 Orthanc::DicomMap tags; 1127 Orthanc::DicomMap tags;
1128 message.GetDicom().ExtractDicomSummary(tags); 1128 message.GetDicom().ExtractDicomSummary(tags, ORTHANC_STONE_MAX_TAG_LENGTH);
1129 1129
1130 std::string s; 1130 std::string s;
1131 if (!tags.LookupStringValue(s, Orthanc::DICOM_TAG_SOP_INSTANCE_UID, false)) 1131 if (!tags.LookupStringValue(s, Orthanc::DICOM_TAG_SOP_INSTANCE_UID, false))
1132 { 1132 {
1133 // Safety check 1133 // Safety check