comparison OrthancServer/Sources/Search/DatabaseLookup.cpp @ 5127:6f41d47ef994

remove test code
author Alain Mazy <am@osimis.io>
date Mon, 19 Dec 2022 16:31:12 +0100
parents a6fa660ec26e
children 6d8647122ef3
comparison
equal deleted inserted replaced
5120:a6fa660ec26e 5127:6f41d47ef994
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 }
124 // WARNING: Also modify "HierarchicalMatcher::Setup()" if modifying this code 116 // WARNING: Also modify "HierarchicalMatcher::Setup()" if modifying this code
125 if (value.get() == NULL || 117 if (value.get() == NULL ||
126 value->IsNull()) 118 value->IsNull())
127 { 119 {
128 return isOptionalConstraint; 120 return isOptionalConstraint;