Create a folder according to PatientID - aws s3

Hello orthanc community!
I’m using the latest version with the AwsS3Storage plugin. My question is whether it is possible to create a folder according to the PatientID? This way I will have separated the data for each patient. my orthanc.json is like this:

“AwsS3Storage” : {
“BucketName”: “storage-dicom”,
“RootPath”: “clinic-a/”, //$PatiendId$
“Region”: “sa-east-1”,
“AccessKey”: “AKI—”,
“SecretKey”: “—”,
“HybridMode”: “Disabled”,
“StorageStructure”: “flat”,
"
}

Hi,

No, this is currently not possible.

FYI, I have implemented an S3Exporter python plugin that exports a copy of the image into this kind of structure

HTH,

Alain

1 Like

Show! tanks!