comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 5637:7043e646fc0d

fix: reuse constant
author Alain Mazy <am@orthanc.team>
date Wed, 22 May 2024 15:43:06 +0200
parents 6ad8e2afd4fb
children f7adfb22e20e
comparison
equal deleted inserted replaced
5636:6ad8e2afd4fb 5637:7043e646fc0d
114 "TCP port of the remote DICOM modality", true) 114 "TCP port of the remote DICOM modality", true)
115 .SetRequestField("Manufacturer", RestApiCallDocumentation::Type_String, "Manufacturer of the remote DICOM " 115 .SetRequestField("Manufacturer", RestApiCallDocumentation::Type_String, "Manufacturer of the remote DICOM "
116 "modality (check configuration option `DicomModalities` for possible values", false) 116 "modality (check configuration option `DicomModalities` for possible values", false)
117 .SetRequestField("UseDicomTls", RestApiCallDocumentation::Type_Boolean, "Whether to use DICOM TLS " 117 .SetRequestField("UseDicomTls", RestApiCallDocumentation::Type_Boolean, "Whether to use DICOM TLS "
118 "in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)", false) 118 "in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)", false)
119 .SetRequestField("LocalAet", RestApiCallDocumentation::Type_String, "Whether to override the default DicomAet " 119 .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, "Whether to override the default DicomAet "
120 "in the SCU connection initiated by Orthanc to this modality", false) 120 "in the SCU connection initiated by Orthanc to this modality", false)
121 .SetRequestField("Timeout", RestApiCallDocumentation::Type_Number, "Whether to override the default DicomScuTimeout " 121 .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number, "Whether to override the default DicomScuTimeout "
122 "in the SCU connection initiated by Orthanc to this modality", false); 122 "in the SCU connection initiated by Orthanc to this modality", false);
123 123
124 if (includePermissions) 124 if (includePermissions)
125 { 125 {
126 call.GetDocumentation() 126 call.GetDocumentation()