comparison OrthancServer/DicomInstanceToStore.cpp @ 2125:b9bd52c72ba2

cleaning up
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 12:38:09 +0100
parents cda5b0ab4ce5
children 03b065778fc3
comparison
equal deleted inserted replaced
2124:2b1520efa282 2125:b9bd52c72ba2
102 // At this point, we have parsed the DICOM file 102 // At this point, we have parsed the DICOM file
103 103
104 if (!summary_.HasContent()) 104 if (!summary_.HasContent())
105 { 105 {
106 summary_.Allocate(); 106 summary_.Allocate();
107 FromDcmtkBridge::Convert(summary_.GetContent(), 107 FromDcmtkBridge::ExtractDicomSummary(summary_.GetContent(),
108 *parsed_.GetContent().GetDcmtkObject().getDataset(), 108 *parsed_.GetContent().GetDcmtkObject().getDataset());
109 ORTHANC_MAXIMUM_TAG_LENGTH,
110 Configuration::GetDefaultEncoding());
111 } 109 }
112 110
113 if (!json_.HasContent()) 111 if (!json_.HasContent())
114 { 112 {
115 json_.Allocate(); 113 json_.Allocate();