Mercurial > hg > orthanc
comparison OrthancServer/DicomInstanceToStore.cpp @ 2126:03b065778fc3
cleaning up
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 13:47:21 +0100 |
parents | b9bd52c72ba2 |
children | 9329ba17a069 |
comparison
equal
deleted
inserted
replaced
2125:b9bd52c72ba2 | 2126:03b065778fc3 |
---|---|
109 } | 109 } |
110 | 110 |
111 if (!json_.HasContent()) | 111 if (!json_.HasContent()) |
112 { | 112 { |
113 json_.Allocate(); | 113 json_.Allocate(); |
114 FromDcmtkBridge::ToJson(json_.GetContent(), | 114 FromDcmtkBridge::ExtractDicomAsJson(json_.GetContent(), |
115 *parsed_.GetContent().GetDcmtkObject().getDataset(), | 115 *parsed_.GetContent().GetDcmtkObject().getDataset(), |
116 DicomToJsonFormat_Full, | 116 DicomToJsonFormat_Full, |
117 DicomToJsonFlags_Default, | 117 DicomToJsonFlags_Default, |
118 ORTHANC_MAXIMUM_TAG_LENGTH, | 118 ORTHANC_MAXIMUM_TAG_LENGTH); |
119 Configuration::GetDefaultEncoding()); | |
120 } | 119 } |
121 } | 120 } |
122 | 121 |
123 | 122 |
124 | 123 |