# HG changeset patch # User Alain Mazy # Date 1748966195 -7200 # Node ID faa83997d9e70955256edd2a9607f92f63a30e9d # Parent 73e9d9248cf32da4afc9923e7d50c5ea9c882316 new metadatas: IsProtected and PatientRecyclingOrder used by DB plugins diff -r 73e9d9248cf3 -r faa83997d9e7 OrthancServer/Sources/ServerEnumerations.cpp --- a/OrthancServer/Sources/ServerEnumerations.cpp Mon Jun 02 12:28:45 2025 +0200 +++ b/OrthancServer/Sources/ServerEnumerations.cpp Tue Jun 03 17:56:35 2025 +0200 @@ -64,6 +64,8 @@ dictMetadataType_.Add(MetadataType_MainDicomTagsSignature, "MainDicomTagsSignature"); dictMetadataType_.Add(MetadataType_MainDicomSequences, "MainDicomSequences"); dictMetadataType_.Add(MetadataType_Instance_PixelDataVR, "PixelDataVR"); + dictMetadataType_.Add(MetadataType_Patient_IsProtected, "IsProtected"); + dictMetadataType_.Add(MetadataType_Patient_UnprotectDate, "UnprotectDate"); dictContentType_.Add(FileContentType_Dicom, "dicom"); dictContentType_.Add(FileContentType_DicomAsJson, "dicom-as-json"); diff -r 73e9d9248cf3 -r faa83997d9e7 OrthancServer/Sources/ServerEnumerations.h --- a/OrthancServer/Sources/ServerEnumerations.h Mon Jun 02 12:28:45 2025 +0200 +++ b/OrthancServer/Sources/ServerEnumerations.h Tue Jun 03 17:56:35 2025 +0200 @@ -209,6 +209,8 @@ MetadataType_MainDicomTagsSignature = 15, // New in Orthanc 1.11.0 MetadataType_MainDicomSequences = 16, // New in Orthanc 1.11.1 MetadataType_Instance_PixelDataVR = 17, // New in Orthanc 1.12.1 + MetadataType_Patient_IsProtected = 18, // New in Orthanc 1.12.99 (used only by DB plugins) + MetadataType_Patient_UnprotectDate = 19, // New in Orthanc 1.12.99 (used only by DB plugins) // Make sure that the value "65535" can be stored into this enumeration MetadataType_StartUser = 1024,