Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 5438:7a20ee948676 debug-telemis
Added a new 'Telemis' manufacturer for DicomModalities
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 22 Nov 2023 12:57:07 +0100 |
parents | 59e3b6f8c5be |
children | ac68a4383e51 |
comparison
equal
deleted
inserted
replaced
5437:85da6dcd0e08 | 5438:7a20ee948676 |
---|---|
1518 Json::Value body = Json::objectValue; // No body | 1518 Json::Value body = Json::objectValue; // No body |
1519 DicomStoreUserConnection connection(GetAssociationParameters(call, body)); | 1519 DicomStoreUserConnection connection(GetAssociationParameters(call, body)); |
1520 | 1520 |
1521 std::string sopClassUid, sopInstanceUid; | 1521 std::string sopClassUid, sopInstanceUid; |
1522 connection.Store(sopClassUid, sopInstanceUid, call.GetBodyData(), | 1522 connection.Store(sopClassUid, sopInstanceUid, call.GetBodyData(), |
1523 call.GetBodySize(), false /* Not a C-MOVE */, "", 0); | 1523 call.GetBodySize(), |
1524 false /* Not a C-MOVE */, | |
1525 "", 0, | |
1526 false /* AlwaysRenegotiate: no need to renegotiate since there is only a single file*/); | |
1524 | 1527 |
1525 Json::Value answer = Json::objectValue; | 1528 Json::Value answer = Json::objectValue; |
1526 answer[SOP_CLASS_UID] = sopClassUid; | 1529 answer[SOP_CLASS_UID] = sopClassUid; |
1527 answer[SOP_INSTANCE_UID] = sopInstanceUid; | 1530 answer[SOP_INSTANCE_UID] = sopInstanceUid; |
1528 | 1531 |