diff OrthancServer/main.cpp @ 3607:d0ecb355db33 storage-commitment

DicomUserConnection::ReportStorageCommitment() complete
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 17 Jan 2020 15:56:02 +0100
parents 33ba63637d48
children 7ae553d9c366
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Thu Jan 16 19:24:52 2020 +0100
+++ b/OrthancServer/main.cpp	Fri Jan 17 15:56:02 2020 +0100
@@ -110,8 +110,15 @@
     a.push_back("a");  b.push_back("b");
     a.push_back("c");  b.push_back("d");
     
-    //scu.ReportStorageCommitment("transaction", a, b, c, d);
-    scu.ReportStorageCommitment("transaction", a, b, a, b);
+    scu.ReportStorageCommitment("transaction", a, b, c, d);
+    //scu.ReportStorageCommitment("transaction", a, b, a, b);
+
+    /**
+     * "After the N-EVENT-REPORT has been sent, the Transaction UID is
+     * no longer active and shall not be reused for other
+     * transactions."
+     * http://dicom.nema.org/medical/dicom/2019a/output/chtml/part04/sect_J.3.3.html
+     **/
   }
   
 public: