WADO-URI Web Service

URI Web Service retrieves representations of its resources (SOP Instances). Mainly for non-DICOM systems to access DICOM dataset or rendered image. URI Service does not define resources in the form of a Target Resource Path, such as {/resource}. Instead, Target Resource is identified using query parameter values.

There are two transactions defined, Retrieve DICOM Instance and Retrieve Rendered Instance, in different media types.

Retrieve DICOM Instance Transaction

Retrieves a single Instance in the application/dicom media type.

Request

The request shall have the following syntax:

GET SP / ?{requestType}&{study}&{series}&{instance}  
  {&accept} 
  {&charset} 
  {&anonymize} 
  {&annotate} 
  {&transferSyntax} 
  SP HTTP/1.1 CRLF 
Accept: uri-media-type CRLF 
*(header-field CRLF) 
CRLF 

Query Parameters

The origin server shall support Query Parameters as required in Table 9.4.1-1.

Key Values User Agent Origin Server
anonymize "yes" O O
annotation "patient"
"technique"
O O
transferSyntax uid O O

Header Fields

The user agent shall supply in the request header fields and the origin server shall support as required.

Name Values User Agent Origin Server Description
Accept media-type O M The Acceptable Media Types for the response payload.
Accept-Charset charset O M The Acceptable Character Sets of the response payload.

Payload

No payload.

Behavior

A success response shall contain the Target Resource in an Acceptable DICOM Media Type.

Response

The response shall have the following syntax:

version SP status-code SP reason-phrase CRLF 
[Content-Type: media-type CRLF] 
[(Content-Length: uint / Transfer-Encoding: encoding) CRLF] 
Content-Location: url CRLF 
*(header-field CRLF) 
CRLF 
[payload / status-report] 

Header Fields

The origin server shall support the following header fields:

Name Values Origin Server Description
Content-Type dicom-media-type M The media-type of the payload.
Content-Length uint M Shall be present if a transfer encoding has not been applied to the payload.
Transfer-Encoding encoding M Shall be present if a transfer encoding has been applied to the payload.

Payload

Status Codes

Refer to PS3.18 section 8.5 for full list. The followings are some common status codes corresponding to this transaction:

Retrieve Rendered Instance Transaction

Retrieves a single instance in a Rendered Media Type.

Request

The request shall have the following syntax:

GET SP /?{requestType}&{study}&{series}&{instance}{&frameNumber} 
  {&accept} 
  {&charset} 
  {&rows} 
  {&columns} 
  {&region} 
  {&windowCenter} 
  {&windowWidth} 
  {&imageQuality} 
  {&annotation} 
  {&presentationSeriesUID} 
  {&presentationUID} 
SP HTTP/1.1 CRLF 
Accept: 1#media-type CRLF 
*(header-field CRLF) 
CRLF 

Target Resource

An instance of a Composite SOP class.

Query Parameters

Included in a request only if the DICOM Category of the Target Resource is Single Frame, Multi-Frame, or Video.

Key Values User Agent Usage Origin Server usage
contentType rendered-media-type M M
Charset charset O M
frameNumber uint O O
imageAnnotation "patient"
"technique"
O O
imageQuality uint O O
Rows uint O O
Columns uint O O
Region 4decimal O O
windowCenter decimal O O
windowWidth decimal O O
presentationSeriesUID uid O O
presentationUID uid O O

Header Fields

The Acceptable Media Types shall contain only Rendered Media Types:

Name Values User Agent Origin Server Description
Accept media-type M M The Acceptable Media Types for the response payload.
Accept-Charset charset O M The Acceptable Character Sets of the response payload.

Payload

No payload.

Response

The response shall have the following syntax:

version SP status-code SP reason-phrase CRLF 
[Content-Type: rendered-media-type CRLF] 
[(Content-Length: uint / Transfer-Encoding: encoding) CRLF] 
[Content-Location: url CRLF] 
*(header-field CRLF) 
CRLF 
[payload / status-report] 

Header Fields

Origin server shall support header fields as required in following table:

Name Values Origin Server Description
Content-Type media-type C Present if the response contains a payload.
Content-Length uint C Present if the response payload does not have a transfer encoding.
Transfer-Encoding encoding C Present if the response payload has a transfer encoding.
Content-Location url C Shall be present if the response has a payload containing a resource.

Payload

Status Codes

Notes

Examples

Retrieving DICOM instance

Retrieving a DICOM image object using the baseline 8-bit lossy JPEG transfer syntax, and de-identified:

http://www.medical-webservice.st/RetrieveDocument?requestType=WADO 
&studyUID=1.2.250.1.59.40211.12345678.678910 
&seriesUID=1.2.250.1.59.40211.789001276.14556172.67789 
&objectUID=1.2.250.1.59.40211.2678810.87991027.899772.2 
&contentType=application%2Fdicom 
&anonymize=yes 
&transferSyntax=1.2.840.10008.1.2.4.50 

Retrieve Rendered Instance

Retrieving a Simple DICOM image in JPEG:

http://www.hospital-stmarco/radiology/wado.php?requestType=WADO 
&studyUID=1.2.250.1.59.40211.12345678.678910 
&seriesUID=1.2.250.1.59.40211.789001276.14556172.67789 
&objectUID=1.2.250.1.59.40211.2678810.87991027.899772.2 
Accept: image/jpeg 

Retrieving a DICOM SR in HTML

http://server234/script678.asp?requestType=WADO 
&studyUID=1.2.250.1.59.40211.12345678.678910 
&seriesUID=1.2.250.1.59.40211.789001276.14556172.67789 
&objectUID=1.2.250.1.59.40211.2678810.87991027.899772.2 
&charset=UTF-8 
Accept: text/html 

Retrieving a Region of A DICOM Image

Retrieving a region of a DICOM image, converted if possible in JPEG2000, with annotations burned into the image containing the patient name and technical information, and mapped into a defined image size:

https://aspradio/imageaccess.js?requestType=WADO 
&studyUID=1.2.250.1.59.40211.12345678.678910 
&seriesUID=1.2.250.1.59.40211.789001276.14556172.67789 
&objectUID=1.2.250.1.59.40211.2678810.87991027.899772.2 
&contentType=image%2Fjp2;level=1,image%2Fjpeg;q=0.5 
&annotation=patient,technique 
&columns=400 
&rows=300 
&region=0.3,0.4,0.5,0.5 
&windowCenter=-1000 
&windowWidth=2500 

See Also

RESTful Web Services

Help Version 23.0.2024.12.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.