Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2988:9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Dec 2018 11:15:31 +0100 |
parents | b1ba0a8311b5 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2987:96089d1aba4d | 2988:9cc3d40e389b |
---|---|
538 Json::Value result = Json::arrayValue; | 538 Json::Value result = Json::arrayValue; |
539 for (size_t i = 0; i < count; i++) | 539 for (size_t i = 0; i < count; i++) |
540 { | 540 { |
541 if (expand) | 541 if (expand) |
542 { | 542 { |
543 // New in Orthanc 1.4.3 | 543 // New in Orthanc 1.5.0 |
544 DicomMap value; | 544 DicomMap value; |
545 query.GetHandler().GetAnswer(value, i); | 545 query.GetHandler().GetAnswer(value, i); |
546 | 546 |
547 Json::Value json = Json::objectValue; | 547 Json::Value json = Json::objectValue; |
548 FromDcmtkBridge::ToJson(json, value, simplify); | 548 FromDcmtkBridge::ToJson(json, value, simplify); |
708 | 708 |
709 | 709 |
710 template <ResourceType CHILDREN_LEVEL> | 710 template <ResourceType CHILDREN_LEVEL> |
711 static void QueryAnswerChildren(RestApiPostCall& call) | 711 static void QueryAnswerChildren(RestApiPostCall& call) |
712 { | 712 { |
713 // New in Orthanc 1.4.3 | 713 // New in Orthanc 1.5.0 |
714 assert(CHILDREN_LEVEL == ResourceType_Study || | 714 assert(CHILDREN_LEVEL == ResourceType_Study || |
715 CHILDREN_LEVEL == ResourceType_Series || | 715 CHILDREN_LEVEL == ResourceType_Series || |
716 CHILDREN_LEVEL == ResourceType_Instance); | 716 CHILDREN_LEVEL == ResourceType_Instance); |
717 | 717 |
718 ServerContext& context = OrthancRestApi::GetContext(call); | 718 ServerContext& context = OrthancRestApi::GetContext(call); |