DICOMweb Protocol

Generate Python DICOMweb clients for QIDO-RS, WADO-RS, and STOW-RS operations.

6|2|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/aurabx/skills --skill dicomweb-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: DICOMweb Protocol
Source: https://github.com/aurabx/skills/tree/main/skills/dicomweb-protocol
Command: npx skills add https://github.com/aurabx/skills --skill dicomweb-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pydicom, numpy, pillow, pylibjpeg, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the development of integrations with DICOMweb-compliant systems by providing robust client code for querying, retrieving, and storing medical imaging data over HTTP.

Core Features & Use Cases

  • DICOMweb Client Implementation: Generates correct HTTP client code for QIDO-RS (query), WADO-RS (retrieve), and STOW-RS (store).
  • Protocol Handling: Manages complex aspects like multipart MIME encoding, DICOM-specific content types, query parameter syntax, and authentication.
  • Use Case: You need to build a web application that allows users to search for patient studies, download DICOM images, and upload new studies to a PACS server. This Skill provides the necessary Python code to interact with the DICOMweb API.

Quick Start

Use the DICOMweb Protocol skill to search for CT studies from your DICOMweb server.

Frequently Asked Questions about DICOMweb Protocol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Python client to search and retrieve DICOM images over REST API?

To build a DICOMweb client in Python, you implement HTTP requests for QIDO-RS to search studies and WADO-RS to retrieve instances. This handles multipart MIME encoding and DICOM content types for medical imaging integrations.

What is the best way to upload DICOM files to a PACS server using Python?

The best way to upload DICOM files to a PACS server is using the STOW-RS protocol over HTTP. This involves sending multipart MIME encoded requests containing the DICOM instances to a DICOMweb-compliant endpoint.

Can I use Python to query studies from Google Cloud Healthcare API or Orthanc?

Yes, you can query studies from Google Cloud Healthcare API, Orthanc, and dcm4chee using Python. DICOMweb standardizes QIDO-RS search queries across various compliant PACS and medical imaging servers.

How does DICOMweb handle multipart MIME encoding for medical imaging data?

DICOMweb handles multipart MIME encoding by structuring HTTP responses with specific DICOM content types. This mechanism allows WADO-RS to retrieve multiple instances or rendered images within a single HTTP transaction.

Do I need pydicom and numpy to retrieve rendered images from a DICOMweb server?

Yes, retrieving and processing rendered images from a DICOMweb server typically requires pydicom for file parsing and numpy for pixel data manipulation. Pillow and pylibjpeg are also used for image decoding.

Why does my DICOMweb QIDO-RS search return empty results for patient studies?

QIDO-RS searches may return empty due to incorrect query parameter syntax or authentication failures. Ensuring proper HTTP client configuration and DICOM-specific content types is essential for successful queries.