diff OrthancServer/main.cpp @ 1982:b5d4f9c156ad

Modification of instances can now replace PixelData
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Apr 2016 10:28:55 +0200
parents ebce5f456b8e
children ce90d109bb64
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Fri Apr 22 09:05:06 2016 +0200
+++ b/OrthancServer/main.cpp	Fri Apr 22 10:28:55 2016 +0200
@@ -1163,23 +1163,6 @@
     {
       OrthancInitialize(configurationFile);
 
-      if (0)
-      {
-        // TODO REMOVE THIS TEST
-        DicomUserConnection c;
-        c.SetRemoteHost("localhost");
-        c.SetRemotePort(4243);
-        c.SetRemoteApplicationEntityTitle("ORTHANCTEST");
-        c.Open();
-        ParsedDicomFile f(false);
-        f.Replace(DICOM_TAG_PATIENT_NAME, "M*");
-        DicomFindAnswers a;
-        c.FindWorklist(a, f);
-        Json::Value j;
-        a.ToJson(j, true);
-        std::cout << j;
-      }
-
       bool restart = StartOrthanc(argc, argv, allowDatabaseUpgrade);
       if (restart)
       {