This needs a settings.json file with the following data:
{
"server_ae_title": "SOMETHING",
"server_ae_ip": "SOMETHING",
"server_ae_port": SOMETHING,
"client_ae_title": "SOMETHING",
"client_ae_port": SOMETHING,
"base_folder": "dumpdir",
"folder_template": "${PatientID}/${StudyDate}/${StudyDescription}/${Modality}/${FolderUID}_${SeriesDescription}",
"study_columns": [
{"name": "Index"},
{"name": "PatientID"},
{"name": "StudyDate"},
{"name": "StudyDescription", "justify": "left"}
],
"series_columns": [
{"name": "Index"},
{"name": "SeriesInstanceUID", "justify": "left", "no_wrap": true},
{"name": "Modality"},
{"name": "SeriesNumber"},
{"name": "SeriesDescription", "justify": "left"}
]
}
- 'DICOM_QR_SETTINGS' environment value
- 'settings.json' in current directory
- '~/.config/dicom_qr/settings.json'
Template¶
Folder template can contain any of the following items:
- PatientName
- PatientID
- StudyDescription
- StudyDate
- StudyTime
- Modality
- SeriesDescription
- SeriesNumber
- SeriesInstanceUID
- FolderUID (Uses the uid_mapping provided to RetrievePacs class)
- StudyInstanceUID
- AccessionNumber
study columns:¶
names:¶
- StudyInstanceUID
- PatientID
- PatientName
- PatientSex
- PatientBirthDate
- StudyID
- StudyDate
- StudyDescription
- StudyTime
- AccessionNumber
justify¶
- default
- left
- center
- right
- full
no_wrap¶
- true
- false