Metadata-Version: 2.4
Name: dicom_qr
Version: 0.0.12
Summary: Tool for retrieving data from a PACS
Project-URL: homepage, https://lkeb.nl
Project-URL: repository, https://git.lumc.nl/lkeb/lkeb_it-infra/dicom_qr
Project-URL: documentation, https://lkeb.github.io/docs/dicom-qr/
Author-email: Patrick de Koning <pjhdekoning@lumc.nl>
License: MIT
Keywords: DICOM,PACS
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.11
Requires-Dist: deid
Requires-Dist: devtools
Requires-Dist: jsonpickle
Requires-Dist: lkeb-progress
Requires-Dist: loguru
Requires-Dist: pandas
Requires-Dist: pathvalidate
Requires-Dist: pydantic
Requires-Dist: pydantic-settings
Requires-Dist: pynetdicom>=3
Requires-Dist: python-dateutil
Requires-Dist: rich
Requires-Dist: simpleitk
Requires-Dist: textual
Requires-Dist: textual-file-viewer
Requires-Dist: textual-fspicker
Requires-Dist: textual-image
Requires-Dist: textual-sortable-datatable
Requires-Dist: typer
Requires-Dist: xmltodict
Description-Content-Type: text/markdown

# DICOM-QR
This program allows you to query and retrieve images from a DICOM node.


This needs a settings.json file with the following data:
```json
{
  "server_ae_title": "SOMETHING",
  "server_ae_ip": "SOMETHING",
  "server_ae_port": SOMETHING,
  "client_ae_title": "SOMETHING",
  "client_ae_port": SOMETHING,
  "base_folder": "dumpdir",
  "transfer_method": "move",  // or "get"
  "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"}
  ]
}
```
Search strategy for settings file:
1. 'DICOM_QR_SETTINGS' environment value
2. 'settings.json' in current directory
3. ~/.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
