comparison OrthancFramework/Sources/Enumerations.cpp @ 5287:c04230962098 am-experimental

wip: 'dicomWeb' json format + 'include' get arguments
author Alain Mazy <am@osimis.io>
date Fri, 28 Apr 2023 10:42:27 +0200
parents 0ea402b4d901
children f26ed26a7793
comparison
equal deleted inserted replaced
5286:28f0e38e4082 5287:c04230962098
1181 return "Simplify"; 1181 return "Simplify";
1182 1182
1183 case DicomToJsonFormat_Short: 1183 case DicomToJsonFormat_Short:
1184 return "Short"; 1184 return "Short";
1185 1185
1186 case DicomToJsonFormat_DicomWeb:
1187 return "DicomWeb";
1188
1186 default: 1189 default:
1187 throw OrthancException(ErrorCode_ParameterOutOfRange); 1190 throw OrthancException(ErrorCode_ParameterOutOfRange);
1188 } 1191 }
1189 } 1192 }
1190 1193
1881 return DicomToJsonFormat_Short; 1884 return DicomToJsonFormat_Short;
1882 } 1885 }
1883 else if (format == "Simplify") 1886 else if (format == "Simplify")
1884 { 1887 {
1885 return DicomToJsonFormat_Human; 1888 return DicomToJsonFormat_Human;
1889 }
1890 else if (format == "DicomWeb")
1891 {
1892 return DicomToJsonFormat_DicomWeb;
1886 } 1893 }
1887 else 1894 else
1888 { 1895 {
1889 throw OrthancException(ErrorCode_ParameterOutOfRange); 1896 throw OrthancException(ErrorCode_ParameterOutOfRange);
1890 } 1897 }