# HG changeset patch # User Alain Mazy # Date 1786528076 -7200 # Node ID 6c78bd3fcded33b73146507d0758a83bc17d2429 # Parent c5e5774720fc8f14c7b0cc7becf8c1a1663a9703 Added SiemensSyngoCT manufacturer diff -r c5e5774720fc -r 6c78bd3fcded NEWS --- a/NEWS Wed Aug 12 11:02:10 2026 +0200 +++ b/NEWS Wed Aug 12 11:47:56 2026 +0200 @@ -35,7 +35,8 @@ - "Name" was documented as "MyOrthanc" while its default value is "ORTHANC". * Orthanc no longer accepts DICOM association from modalities whose AET contains invalid characters. * Orthanc now ignores leading/trailing spaces in AET. - +* Experimental: New "Manufacturer" "SiemensSyngoCT" to propose both the SCU and SCP C-Store roles when + performing a C-Get SCU. REST API -------- diff -r c5e5774720fc -r 6c78bd3fcded OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp --- a/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp Wed Aug 12 11:02:10 2026 +0200 +++ b/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp Wed Aug 12 11:47:56 2026 +0200 @@ -296,9 +296,16 @@ throw OrthancException(ErrorCode_BadSequenceOfCalls); // the acceptedStorageSopClassUids should always be defined for a C-Get } + DicomAssociationRole proposedStoreRole = DicomAssociationRole_Scu; + + if (parameters_.GetRemoteModality().GetManufacturer() == ModalityManufacturer_SiemensSyngoCT) + { + proposedStoreRole = DicomAssociationRole_Default; // it seems SyngoCT won't accept a C-Store/SCP only and requires both SCU and SCP roles to be proposed + } + for (std::set::const_iterator it = acceptedStorageSopClasses.begin(); it != acceptedStorageSopClasses.end(); ++it) { - association_->ProposePresentationContext(*it, proposedStorageTransferSyntaxes, DicomAssociationRole_Scp); + association_->ProposePresentationContext(*it, proposedStorageTransferSyntaxes, proposedStoreRole); } } } diff -r c5e5774720fc -r 6c78bd3fcded OrthancFramework/Sources/Enumerations.cpp --- a/OrthancFramework/Sources/Enumerations.cpp Wed Aug 12 11:02:10 2026 +0200 +++ b/OrthancFramework/Sources/Enumerations.cpp Wed Aug 12 11:47:56 2026 +0200 @@ -816,7 +816,10 @@ case ModalityManufacturer_GE: return "GE"; - + + case ModalityManufacturer_SiemensSyngoCT: + return "SiemensSyngoCT"; + default: throw OrthancException(ErrorCode_ParameterOutOfRange); } @@ -1633,6 +1636,10 @@ { return ModalityManufacturer_GE; } + else if (manufacturer == "SiemensSyngoCT") + { + return ModalityManufacturer_SiemensSyngoCT; + } else if (manufacturer == "AgfaImpax" || manufacturer == "SyngoVia") { diff -r c5e5774720fc -r 6c78bd3fcded OrthancFramework/Sources/Enumerations.h --- a/OrthancFramework/Sources/Enumerations.h Wed Aug 12 11:02:10 2026 +0200 +++ b/OrthancFramework/Sources/Enumerations.h Wed Aug 12 11:47:56 2026 +0200 @@ -679,7 +679,8 @@ ModalityManufacturer_GenericNoWildcardInDates, ModalityManufacturer_GenericNoUniversalWildcard, ModalityManufacturer_Vitrea, - ModalityManufacturer_GE + ModalityManufacturer_GE, + ModalityManufacturer_SiemensSyngoCT }; enum DicomRequestType diff -r c5e5774720fc -r 6c78bd3fcded OrthancServer/Resources/Configuration.json --- a/OrthancServer/Resources/Configuration.json Wed Aug 12 11:02:10 2026 +0200 +++ b/OrthancServer/Resources/Configuration.json Wed Aug 12 11:47:56 2026 +0200 @@ -369,6 +369,8 @@ * - "Vitrea", * - "GE" (Enterprise Archive, MRI consoles and Advantage Workstation * from GE Healthcare). + * - "SiemensSyngoCT" (proposes both SCP and SCU C-Store roles when performing + * a C-Get SCU) * * This parameter is case-sensitive. **/