Mercurial > hg > orthanc-webviewer
comparison Plugin/SeriesInformationAdapter.cpp @ 260:620ed85fb514
replacing OrthancPluginLog...() by LOG(...)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 17:38:40 +0200 |
parents | aee499712ac4 |
children | ec1af1fdcaca |
comparison
equal
deleted
inserted
replaced
259:37a7d9ed4696 | 260:620ed85fb514 |
---|---|
28 namespace OrthancPlugins | 28 namespace OrthancPlugins |
29 { | 29 { |
30 bool SeriesInformationAdapter::Create(std::string& content, | 30 bool SeriesInformationAdapter::Create(std::string& content, |
31 const std::string& seriesId) | 31 const std::string& seriesId) |
32 { | 32 { |
33 std::string message = "Ordering instances of series: " + seriesId; | 33 LOG(INFO) << "Ordering instances of series: " << seriesId; |
34 OrthancPluginLogInfo(context_, message.c_str()); | |
35 | 34 |
36 Json::Value series, study, patient, ordered; | 35 Json::Value series, study, patient, ordered; |
37 if (!GetJsonFromOrthanc(series, context_, "/series/" + seriesId) || | 36 if (!GetJsonFromOrthanc(series, context_, "/series/" + seriesId) || |
38 !GetJsonFromOrthanc(study, context_, "/studies/" + series["ID"].asString() + "/module?simplify") || | 37 !GetJsonFromOrthanc(study, context_, "/studies/" + series["ID"].asString() + "/module?simplify") || |
39 !GetJsonFromOrthanc(patient, context_, "/studies/" + series["ID"].asString() + "/module-patient?simplify") || | 38 !GetJsonFromOrthanc(patient, context_, "/studies/" + series["ID"].asString() + "/module-patient?simplify") || |