Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyDICOMwebClient

TinyDICOMwebClient is a lightweight command-line client for uploading DICOM files with STOW-RS and downloading DICOM studies or series with WADO-RS. It uses curl and PowerShell, and organizes downloaded files by Study Instance UID and Series Instance UID.

Preparation

StowRS by curl

  1. Install curl if don't have.
  2. Edit config.txt and set the URLs and client credentials for your environment.
  3. Put DICOM files, upload to image archive, in ./files
  4. Run stowrs.bat
  5. token will be in token_response.json if you needed later on.

DownloadRS

  1. Install curl if don't have.
  2. Run wadors-download.bat "https://example.org/dicom-web/studies/<StudyInstanceUID>" to retrieve an entire study, or wadors-download.bat "https://example.org/dicom-web/studies/<StudyInstanceUID>/series/<SeriesInstanceUID>" to retrieve an entire series. Do not use .../studies/<StudyInstanceUID>/series/ without a Series Instance UID; that URL lists series metadata instead of downloading DICOM files.
  3. Downloaded DICOM files are saved to ./download/<StudyInstanceUID>/<SeriesInstanceUID>/. Required directories are created automatically.

License

This project is licensed under the MIT License.

About

a lightweight command-line client for DICOMweb

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages