Hi,
just wonder if the following scenario is possible in general:
1/ refine incoming C-FIND requests via Lua, allowing only tags that Orthanc stores in its database (see below)
2/ via Storage Area Plugin just throw away the JSON files, not saving them at all
Background:
If you use Orthanc for a large scale of images you literally cannot use any other Tag for C-FIND querying than those listed below.
At some point looking thru every single JSON file in order to perform the query is simply no option anymore.
So if you cannot use the JSON files for querying, you would maybe want to get rid of them at all, since they consume additional storage space (close to 10% of the original size of the Dicom Files in my experience) without - well, that’s my theory - added value.
I don’t know if Orthanc is using the JSON files for any other purposes than Querying and showing them in the Explorer (which would require to store them nevertheless)?
From what I see Orthanc takes the following DICOM tags directly out of the database without accessing the JSON files at all, which would be - in my view - a quite comprehensive and sufficient set to handle routine C-FIND / QR requests:
0008,0012 InstanceCreationDate
0008,0013 InstanceCreationTime
0008,0018 SOPInstanceUID
0008,0020 StudyDate
0008,0030 StudyTime
0008,0050 AccessionNumber
0008,0060 Modality
0008,0080 InstitutionName
0008,0090 ReferringPhysicianName
0008,1030 StudyDescription
0010,0010 PatientName
0010,0020 PatientID
0010,0030 PatientBirthDate
0010,0040 PatientSex
0018,0015 BodyPartExamined
0020,0010 StudyID
0020,0011 SeriesNumber
0020,0012 AcquisitionNumber
0020,0013 InstanceNumber
0020,0032 ImagePositionPatient
0020,0037 ImageOrientationPatient
0008,0021 SeriesDate
0008,0031 SeriesTime
0008,0070 Manufacturer
0008,103E SeriesDescription
0020,000E SeriesInstanceUID
0020,0037 ImageOrientationPatient
0040,0254 PerformedProcedureStepDescription
0020,000D StudyInstanceUID