Mercurial > hg > orthanc
diff Core/Enumerations.cpp @ 2888:61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 13 Oct 2018 12:17:16 +0200 |
parents | 6eebc2eb3168 |
children | 9d277f8ad698 |
line wrap: on
line diff
--- a/Core/Enumerations.cpp Fri Oct 12 14:37:54 2018 +0200 +++ b/Core/Enumerations.cpp Sat Oct 13 12:17:16 2018 +0200 @@ -799,6 +799,9 @@ case ModalityManufacturer_Vitrea: return "Vitrea"; + case ModalityManufacturer_GE: + return "GE"; + default: throw OrthancException(ErrorCode_ParameterOutOfRange); } @@ -1420,6 +1423,10 @@ { return ModalityManufacturer_Vitrea; } + else if (manufacturer == "GE") + { + return ModalityManufacturer_GE; + } else if (manufacturer == "AgfaImpax" || manufacturer == "SyngoVia") {