Add "Modified" (timestamp) field of the Sonador resource cache as an option for filtering and ordering
There are several use cases which need to have access to the Orthanc "Modified" timestamp. Examples:
- Order results by the modified time so that is possible to see changes. Use case: synchronizing resources between two servers (eg: NSYNC-JC)
- Show a list of files or series that was recently uploaded via OHIF.
Note: While Modified
can be added to Orthanc's built-in API (which is capable of covering the first use-case), it is not a header in the DICOM standard and some investigation is needed to know the best way of adding it to DICOM-SR responses.
Requirements:
-
AddResources include aModified
timestamp (taken from the resourcemtime
model field) to API responses.LastUpdate
timestamp that is populated from theResource.mtime
value.
-
Add a filter option for patient, study, and series query tools which allows for range queries to be executed against Modified
. Example query:Modified="20220101-20221231
-
Add Modified
toOrderBy
. Example order-by ascending:Modified
. Example order-by desceding:-Modified
-
Investigate options for adding Modified
stamp to DICOMweb endpoints