Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancConfiguration.cpp @ 5036:877bc3b96476
Handle Dicom sequences in ExtraMainDicomTags and save them in the 'MainDicomSequences' metadata
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 24 Jun 2022 15:47:10 +0200 |
parents | f377d5643538 |
children | f2dcdbe05884 |
comparison
equal
deleted
inserted
replaced
5035:67d98fccc850 | 5036:877bc3b96476 |
---|---|
1124 DefaultDicomDatasetToJson(target, dicom, ignoreTagLength); | 1124 DefaultDicomDatasetToJson(target, dicom, ignoreTagLength); |
1125 } | 1125 } |
1126 | 1126 |
1127 | 1127 |
1128 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, | 1128 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, |
1129 DcmDataset& dicom) | 1129 DcmDataset& dicom, |
1130 { | 1130 const std::set<DicomTag>& ignoreTagLength) |
1131 std::set<DicomTag> ignoreTagLength; | 1131 { |
1132 FromDcmtkBridge::ExtractDicomAsJson(target, dicom, DicomToJsonFormat_Full, DicomToJsonFlags_Default, | 1132 FromDcmtkBridge::ExtractDicomAsJson(target, dicom, DicomToJsonFormat_Full, DicomToJsonFlags_Default, |
1133 ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); | 1133 ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); |
1134 } | 1134 } |
1135 | 1135 |
1136 | 1136 |