Mercurial > hg > orthanc
comparison OrthancServer/Sources/Search/DatabaseLookup.cpp @ 5120:a6fa660ec26e
/system: added MaximumStorageMode and MaximumStorageSize
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 16 Dec 2022 13:10:35 +0100 |
parents | 01934fc29d43 |
children | 6f41d47ef994 |
comparison
equal
deleted
inserted
replaced
5119:bdec57f3cbf2 | 5120:a6fa660ec26e |
---|---|
111 std::set<DicomTag> ignoreTagLength; | 111 std::set<DicomTag> ignoreTagLength; |
112 std::unique_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement | 112 std::unique_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement |
113 (*element, DicomToJsonFlags_None, | 113 (*element, DicomToJsonFlags_None, |
114 0, encoding, hasCodeExtensions, ignoreTagLength)); | 114 0, encoding, hasCodeExtensions, ignoreTagLength)); |
115 | 115 |
116 if (tag.getGroup() == 64 && tag.getElement() == 2) | |
117 { | |
118 constraints_[i]->IsMatch(value->GetContent()); | |
119 } | |
120 if (tag.getGroup() == 64 && tag.getElement() == 3) | |
121 { | |
122 constraints_[i]->IsMatch(value->GetContent()); | |
123 } | |
116 // WARNING: Also modify "HierarchicalMatcher::Setup()" if modifying this code | 124 // WARNING: Also modify "HierarchicalMatcher::Setup()" if modifying this code |
117 if (value.get() == NULL || | 125 if (value.get() == NULL || |
118 value->IsNull()) | 126 value->IsNull()) |
119 { | 127 { |
120 return isOptionalConstraint; | 128 return isOptionalConstraint; |