Mercurial > hg > orthanc
changeset 6158:faa83997d9e7 sql-opti
new metadatas: IsProtected and PatientRecyclingOrder used by DB plugins
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 03 Jun 2025 17:56:35 +0200 (2 weeks ago) |
parents | 73e9d9248cf3 |
children | fe1c34292a2e |
files | OrthancServer/Sources/ServerEnumerations.cpp OrthancServer/Sources/ServerEnumerations.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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");
--- 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,