Hello.
I’ve been searching the forum but haven’t found any topics that can help me with this.
I’m trying to use the AdvancedStorage plugin to define the storage path to one that will be easier to manage when restoring images from the backup. The idea is to create a structure by year and put the studies done during that period into each folder (2024, 2025, 2026…). I’ve managed to create the storage structure using “studydate” as a starting point, but I haven’t been able to specify just the year. Is there a specific instruction to include only the year?
I’ve also tried using %CurrentYear% in the StoragePath, but that didn’t work either.
Thanks
Hello again.
I’ve found the Split(StudyDate) function, which stores images according to yyyy/MM/dd, an option that also works for me.
Regards
Hello!
Could you please share your solution?
I would like to use that scheme
Thank you
Hi
Enable AdvancedStorage and
{
“AdvancedStorage”: {
“Enable”: true,
//Split(StudyDate) crea las carpetas año/mes/dia
“NamingScheme”: “{split(StudyDate)}/{PatientID}/{UUID}”,
“FallbackNamingScheme”: “SinFecha/{PatientID}/{StudyInstanceUID}/{SeriesInstanceUID}/{SOPInstanceUID}”,
// En lugar de crear carpetas hexadecimales sueltas en la raíz,
// meterá todos los metadatos y cachés en una subcarpeta organizada llamada “_adjuntos”
“OtherAttachmentsPrefix”: “_adjuntos”
}
}
Split(StudyDate) function makes the folder esquema
Regards