Mercurial > hg > orthanc
diff OrthancServer/OrthancInitialization.cpp @ 2131:bb199bccdc45
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Nov 2016 10:49:45 +0100 |
parents | a657f7772e69 |
children | dd609a99d39a |
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp Tue Nov 08 10:06:16 2016 +0100 +++ b/OrthancServer/OrthancInitialization.cpp Tue Nov 08 10:49:45 2016 +0100 @@ -1125,4 +1125,21 @@ return a != b; } + + + void Configuration::ExtractDicomSummary(DicomMap& target, + DcmItem& dataset) + { + FromDcmtkBridge::ExtractDicomSummary(target, dataset, + ORTHANC_MAXIMUM_TAG_LENGTH, GetDefaultEncoding()); + } + + + void Configuration::ExtractDicomAsJson(Json::Value& target, + DcmDataset& dataset) + { + FromDcmtkBridge::ExtractDicomAsJson(target, dataset, + DicomToJsonFormat_Full, DicomToJsonFlags_Default, + ORTHANC_MAXIMUM_TAG_LENGTH, GetDefaultEncoding()); + } }