Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp @ 4663:72af097bb92b
"Replace" tags in "/modify" and "/anonymize" now supports value representation AT
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 May 2021 14:11:47 +0200 |
parents | 93a51d228d80 |
children | d38a7040474a |
comparison
equal
deleted
inserted
replaced
4662:3badc205cb4c | 4663:72af097bb92b |
---|---|
1683 * TODO. | 1683 * TODO. |
1684 **/ | 1684 **/ |
1685 | 1685 |
1686 case EVR_OB: // other byte | 1686 case EVR_OB: // other byte |
1687 case EVR_OW: // other word | 1687 case EVR_OW: // other word |
1688 case EVR_AT: // attribute tag | |
1689 throw OrthancException(ErrorCode_NotImplemented); | 1688 throw OrthancException(ErrorCode_NotImplemented); |
1690 | 1689 |
1691 case EVR_UN: // unknown value representation | 1690 case EVR_UN: // unknown value representation |
1692 throw OrthancException(ErrorCode_ParameterOutOfRange); | 1691 throw OrthancException(ErrorCode_ParameterOutOfRange); |
1693 | 1692 |
1768 break; | 1767 break; |
1769 } | 1768 } |
1770 | 1769 |
1771 | 1770 |
1772 /** | 1771 /** |
1772 * Other types | |
1773 **/ | |
1774 | |
1775 case EVR_AT: // attribute tag, new in Orthanc 1.9.4 | |
1776 { | |
1777 DicomTag value = ParseTag(utf8Value); | |
1778 ok = element.putTagVal(DcmTagKey(value.GetGroup(), value.GetElement())).good(); | |
1779 break; | |
1780 } | |
1781 | |
1782 | |
1783 /** | |
1773 * Sequence types, should never occur at this point. | 1784 * Sequence types, should never occur at this point. |
1774 **/ | 1785 **/ |
1775 | 1786 |
1776 case EVR_SQ: // sequence of items | 1787 case EVR_SQ: // sequence of items |
1777 { | 1788 { |