Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Enumerations.cpp @ 5334:5b2a5cc64cb1
upgraded anonymization to Basic Profile of PS 3.15-2023b Table E.1-1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Jun 2023 15:12:39 +0200 |
parents | 800261398381 |
children | 303e930fff0f |
comparison
equal
deleted
inserted
replaced
5333:816968b5a031 | 5334:5b2a5cc64cb1 |
---|---|
876 { | 876 { |
877 switch (version) | 877 switch (version) |
878 { | 878 { |
879 case DicomVersion_2008: | 879 case DicomVersion_2008: |
880 return "2008"; | 880 return "2008"; |
881 break; | |
882 | 881 |
883 case DicomVersion_2017c: | 882 case DicomVersion_2017c: |
884 return "2017c"; | 883 return "2017c"; |
885 break; | |
886 | 884 |
887 case DicomVersion_2021b: | 885 case DicomVersion_2021b: |
888 return "2021b"; | 886 return "2021b"; |
889 break; | 887 |
888 case DicomVersion_2023b: | |
889 return "2023b"; | |
890 | 890 |
891 default: | 891 default: |
892 throw OrthancException(ErrorCode_ParameterOutOfRange); | 892 throw OrthancException(ErrorCode_ParameterOutOfRange); |
893 } | 893 } |
894 } | 894 } |
1640 } | 1640 } |
1641 else if (version == "2021b") | 1641 else if (version == "2021b") |
1642 { | 1642 { |
1643 return DicomVersion_2021b; | 1643 return DicomVersion_2021b; |
1644 } | 1644 } |
1645 else if (version == "2023b") | |
1646 { | |
1647 return DicomVersion_2023b; | |
1648 } | |
1645 else | 1649 else |
1646 { | 1650 { |
1647 throw OrthancException(ErrorCode_ParameterOutOfRange, | 1651 throw OrthancException(ErrorCode_ParameterOutOfRange, |
1648 "Unknown specific version of the DICOM standard: " + version); | 1652 "Unknown specific version of the DICOM standard: " + version); |
1649 } | 1653 } |