Mercurial > hg > orthanc
comparison Core/DicomParsing/DicomModification.h @ 2519:2e6b7862ccf2
ParseAnonymizationRequest/ParseModifyRequest now in DicomModification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Mar 2018 14:52:11 +0200 |
parents | 51b91ead6c38 |
children | d3476d90dcb7 |
comparison
equal
deleted
inserted
replaced
2518:63d2cc0fb40a | 2519:2e6b7862ccf2 |
---|---|
43 * Process: | 43 * Process: |
44 * (1) Remove private tags | 44 * (1) Remove private tags |
45 * (2) Remove tags specified by the user | 45 * (2) Remove tags specified by the user |
46 * (3) Replace tags | 46 * (3) Replace tags |
47 **/ | 47 **/ |
48 | |
49 public: | |
50 enum TagOperation | |
51 { | |
52 TagOperation_Keep, | |
53 TagOperation_Remove | |
54 }; | |
48 | 55 |
49 private: | 56 private: |
50 class RelationshipsVisitor; | 57 class RelationshipsVisitor; |
51 | 58 |
52 typedef std::set<DicomTag> SetOfTags; | 59 typedef std::set<DicomTag> SetOfTags; |
137 | 144 |
138 bool AreAllowManualIdentifiers() const | 145 bool AreAllowManualIdentifiers() const |
139 { | 146 { |
140 return allowManualIdentifiers_; | 147 return allowManualIdentifiers_; |
141 } | 148 } |
149 | |
150 void ParseModifyRequest(const Json::Value& request); | |
151 | |
152 void ParseAnonymizationRequest(bool& patientNameReplaced, | |
153 const Json::Value& request); | |
142 }; | 154 }; |
143 } | 155 } |