Mercurial > hg > orthanc-dicomweb
changeset 666:18e33869cce0 OrthancDicomWeb-1.17
cleanup
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Tue, 06 Aug 2024 09:22:19 +0200 |
| parents | 599ef9f8918a |
| children | ae2e3d4c54a2 |
| files | Plugin/DicomWebClient.cpp |
| diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/DicomWebClient.cpp Wed Jun 05 21:49:53 2024 +0200 +++ b/Plugin/DicomWebClient.cpp Tue Aug 06 09:22:19 2024 +0200 @@ -501,26 +501,8 @@ } -// static void AddResourceForJobContent(Json::Value resourcesForJobContent /* out */, const char* resourceType, const std::string& resourceId) static void AddResourceForJobContent(Json::Value& resourcesForJobContent /* out */, Orthanc::ResourceType resourceType, const std::string& resourceId) { - // const char* resourceGroup = "Instances"; - // if (resourceType == "Study") - // { - // resourceGroup = "Studies"; - // } - // else if (resourceType == "Series") - // { - // resourceGroup = "Series"; - // } - // else if (resourceType == "Patient") - // { - // resourceGroup = "Patients"; - // } - // else if (resourceType == "Instance") - // { - // resourceGroup = "Instances"; - // } const char* resourceGroup = Orthanc::GetResourceTypeText(resourceType, true, true); if (!resourcesForJobContent.isMember(resourceGroup))
