diff OrthancServer/Resources/Configuration.json @ 4944:f377d5643538 more-tags

new Warnings configuration + InstanceAvailability tag
author Alain Mazy <am@osimis.io>
date Thu, 17 Mar 2022 17:03:59 +0100
parents 94a7b681b340
children 0d61efc6256c
line wrap: on
line diff
--- a/OrthancServer/Resources/Configuration.json	Wed Mar 16 09:50:33 2022 +0100
+++ b/OrthancServer/Resources/Configuration.json	Thu Mar 17 17:03:59 2022 +0100
@@ -863,6 +863,7 @@
   // Extra Main Dicom tags that are stored in DB together with all default
   // Main Dicom tags that are already stored (TODO: see book new page). 
   // (new in Orthanc 1.11.0)
+  // Sequences tags are not supported.
   /**
   "ExtraMainDicomTags" : {
     "Instance" : [
@@ -883,11 +884,23 @@
   },
   */
 
-  // Enables/disables a warning notifying you when you try to access a
-  // resource that has been saved with a different version of the 
-  // ExtraMainDicomTags list
+  // Enables/disables warnings in the logs.
+  // "true" enables a warning.  All warnings are enabled by default
   // TODO: see book new page
   // (new in Orthanc 1.11.0)
-  "EnableLogsForInconsistentMainDicomTags": true
+  "Warnings" : {
+    // A "RequestedTags" has been read from storage which is slower than
+    // reading it from DB.
+    // You might want to store this tag in ExtraMainDicomTags to build
+    // the response faster.
+    "W001_TagsBeingReadFromStorage": true,
+    
+    // Retrieving a list of Main dicom tags from a resource that has been
+    // saved with another "ExtraMainDicomTags" configuration which means that
+    // your response might be incomplete/inconsistent.
+    // You should call patients|studies|series|instances/../reconstruct to rebuild
+    // the DB.  TODO: also check for "rebuild DB" plugin
+    "W002_InconsistentDicomTagsInDb": true
+  }
 
 }