comparison OrthancServer/DicomInstanceToStore.cpp @ 2128:9329ba17a069

Possibility to DELETE "dicom-as-json" attachments to reconstruct them
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 15:13:16 +0100
parents 03b065778fc3
children bb199bccdc45
comparison
equal deleted inserted replaced
2127:bfa92c9328d7 2128:9329ba17a069
110 110
111 if (!json_.HasContent()) 111 if (!json_.HasContent())
112 { 112 {
113 json_.Allocate(); 113 json_.Allocate();
114 FromDcmtkBridge::ExtractDicomAsJson(json_.GetContent(), 114 FromDcmtkBridge::ExtractDicomAsJson(json_.GetContent(),
115 *parsed_.GetContent().GetDcmtkObject().getDataset(), 115 *parsed_.GetContent().GetDcmtkObject().getDataset());
116 DicomToJsonFormat_Full,
117 DicomToJsonFlags_Default,
118 ORTHANC_MAXIMUM_TAG_LENGTH);
119 } 116 }
120 } 117 }
121 118
122 119
123 120