Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp @ 5555:13eb84aea8b8
0x0111 is now considered as a warning instead of an error
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 15 Apr 2024 16:31:04 +0200 |
parents | 48b8dae6dc77 |
children | f7adfb22e20e |
comparison
equal
deleted
inserted
replaced
5549:dcbf0c776945 | 5555:13eb84aea8b8 |
---|---|
447 **/ | 447 **/ |
448 | 448 |
449 if (response.DimseStatus != 0x0000 && // Success | 449 if (response.DimseStatus != 0x0000 && // Success |
450 response.DimseStatus != 0xB000 && // Warning - Coercion of Data Elements | 450 response.DimseStatus != 0xB000 && // Warning - Coercion of Data Elements |
451 response.DimseStatus != 0xB007 && // Warning - Data Set does not match SOP Class | 451 response.DimseStatus != 0xB007 && // Warning - Data Set does not match SOP Class |
452 response.DimseStatus != 0xB006) // Warning - Elements Discarded | 452 response.DimseStatus != 0xB006 && // Warning - Elements Discarded |
453 response.DimseStatus != 0x0111) // Warning - Duplicate SOPInstanceUID (https://discourse.orthanc-server.org/t/ignore-dimse-status-0x0111-when-sending-partial-duplicate-studies/4555/3) | |
453 { | 454 { |
454 char buf[16]; | 455 char buf[16]; |
455 sprintf(buf, "%04X", response.DimseStatus); | 456 sprintf(buf, "%04X", response.DimseStatus); |
456 throw OrthancException(ErrorCode_NetworkProtocol, | 457 throw OrthancException(ErrorCode_NetworkProtocol, |
457 "C-STORE SCU to AET \"" + | 458 "C-STORE SCU to AET \"" + |