Skip to main content

Tool for retrieving data from a PACS

Project description

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:

{
  "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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicom_qr-0.0.13-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file dicom_qr-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: dicom_qr-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for dicom_qr-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c5528c5888dfa1a2141c4bad83750a576d6ee056b95f73fb98395a9a6d1f00
MD5 4d3e99efb6939d912a250963f31dcac2
BLAKE2b-256 62edb1153025f62cd3c8658d3361fc0fa64824ab88298ec67efb2c1dd7b0fea7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page