| DICOM PS3.18 2017d - Web Services |
|---|
DICOM RS Capabilities Service defines a single transaction type which shall be supported by all implementations
The Retrieve Server Options transaction can be requested for the following resources:
All responses are http single part messages. A successful response will return a Web Application Description Language (WADL) document encoded in a Media Type consistent with the Accept header of the request.
The WADL document shall contain one top-level "application" element.
The "application" element shall contain one "resources" element whose "base" attribute value is {SERVICE}, where {SERVICE} is the base URL for the service. This may be a combination of protocol (either http or https), host, port, and application.
Additionally, the WADL content shall include a "resource" element for the resource specified in the request (see 6.8.1.1) describing all methods (see 6.8.1.2.2.2 for description and examples) and child resources (see 6.8.1.2.2.1 for description and examples) for the specified resource and each of its children.
The full WADL resource tree follows directly and unambiguously from the RESTful resource endpoints defined in 6.5, 6.6, 6.7 and 6.9.
For informative purposes, the full resource tree and the methods defined for each resource are described in Table 6.8-1.
The Retrieve methods define the capabilities of a WADO-RS resource (see 6.5) or a RetrieveUPS resource (see 6.9.4).
The Retrieve methods shall contain the following attributes:
The Retrieve methods shall contain a "request" element with "param" elements documenting the following:
The Retrieve methods shall contain one or more "response" elements documenting the following:
<method name="GET" id="RetrieveStudies"> <request> <param name="Accept" style="header" default="multipart/related; type=application/dicom"> <option value="multipart/related; type=application/dicom" /> <option value="multipart/related; type=application/dicom"; transfer-syntax=1.2.840.10008.1.2 /> <option value="multipart/related; type=application/dicom"; transfer-syntax=1.2.840.10008.1.2.1 /> <option value="multipart/related; type=application/octet-stream" /> <option value="multipart/related; type=image/dicom+jpx" /> <option value="multipart/related; type=image/dicom+jpx; transfer-syntax=1.2.840.10008.1.2.4.92" /> <option value="multipart/related; type= video/mpeg; transfer-syntax=1.2.840.10008.1.2.4.100" /> </param> </request> <response status="200,206"> <representation mediaType="multipart/related; type=application/dicom"; transfer-syntax=1.2.840.10008.1.2 /> <representation mediaType="multipart/related; type=application/dicom"; transfer-syntax=1.2.840.10008.1.2.1 /> <representation mediaType="multipart/related; type=application/octet-stream" /> <representation mediaType="multipart/related; type= image/dicom+jpx" /> <representation mediaType="multipart/related; type= image/dicom+jpx; transfer-syntax=1.2.840.10008.1.2.4.92" /> <representation mediaType="multipart/related; type= video/mpeg; transfer-syntax=1.2.840.10008.1.2.4.100" /> </response> <response status="400 404 406 410 503" /> </method>
The Store methods define the capabilities of a STOW-RS resource (see 6.6) or a CreateUPS resource (see 6.9.1).
The Store methods shall contain the following attributes:
The Store methods shall contain a "request" element with "param" elements documenting the following:
The Store methods shall contain one or more "response" elements documenting the following:
<method name="GET" id="StoreInstances"> <request> <param name="Accept" style="header" default="application/dicom+xml"> <option value="application/dicom+xml" /> </param> <representation mediaType="multipart/related; type=application/dicom" /> <representation mediaType="multipart/related; type=application/dicom; transfer-syntax=1.2.840.10008.1.2" /> <representation mediaType="multipart/related; type=application/dicom; transfer-syntax=1.2.840.10008.1.2.1" /> <representation mediaType="multipart/related; type=application/dicom+xml" /> <representation mediaType="multipart/related; type=application/dicom+xml; transfer-syntax=1.2.840.10008.1.2" /> <representation mediaType="multipart/related; type=application/dicom+xml; transfer-syntax=1.2.840.10008.1.2.1" /> <representation mediaType="multipart/related; type=application/dicom+xml; transfer-syntax=1.2.840.10008.1.2.4.92" /> <representation mediaType="multipart/related; type=application/dicom+xml; transfer-syntax=1.2.840.10008.1.2.4.100" /> </request> <response status="200" /> <response status="202,409"> <representation mediaType="application/dicom+xml" /> </response> <response status="400,401,403,503" /> </method>
The Search methods define the capabilities of a QIDO-RS resource (see 6.7) or a SearchForUPS resource (see 6.9.3).
The Search methods shall contain the following attributes:
The Search methods shall contain a "request" element with "param" elements documenting the following:
The Search methods shall contain one or more "response" elements documenting the following:
<method name="GET" id="SearchForStudies"> <request> <param name="Accept" style="header" default="application/dicom+json"> <option value="multipart/related; type=application/dicom+xml" /> <option value="application/dicom+json" /> </param> <param name="Cache-control" style="header"> <option value="no-cache" /> </param> <param name="limit" style="query" /> <param name="offset" style="query" /> <param name="fuzzymatching" style="query" /> <param name="StudyDate" style="query" /> <param name="00080020" style="query" /> <param name="StudyTime" style="query" /> <param name="00080030" style="query" /> … <param name="includefield" style="query" repeating="true" /> <option value="all" /> <option value="00081049" /> <option value="PhysiciansOfRecordIdentificationSequence" /> <option value="00081060" /> <option value="NameOfPhysiciansReadingStudy" /> … </param> </request> <response status="200"> <representation mediaType="multipart/related; type=application/dicom+xml" /> <representation mediaType="application/dicom+json" /> </response> <response status="400 401 403 413 503" /> </method>
The Update methods define the capabilities of an UpdateUPS, a ChangeUPSState or a RequestUPSCancellation resource (see 6.9.2).
The Update methods shall contain the following attributes:
The Update methods shall contain a "request" element with "param" elements documenting the following:
The Update methods shall contain one or more "response" elements documenting the following:
<method name="POST" id="UpdateUPS">
<request>
<representation mediaType="application/dicom+xml" />
<representation mediaType="application/dicom+json" />
</request>
<response status="200">
<param name="Warning" style="header" fixed="299 {+SERVICE}: The UPS was created with modifications." />
<param name="Warning" style="header" fixed="299 {+SERVICE}: Requested optional Attributes are not supported." />
</response>
<response status="409">
<param name="Warning" style="header" fixed="299 {+SERVICE}: The Transaction UID is missing." />
<param name="Warning" style="header" fixed="299 {+SERVICE}: The Transaction UID is incorrect." />
<param name="Warning" style="header" fixed="299 {+SERVICE}: The submitted request is inconsistent
with the current state of the UPS Instance." />
</response>
<response status="400 401 403 404 503" />
</method>
The Subscribe methods define the capabilities of a CreateSubscription, a SuspendGlobalSubscription or a DeleteSubscription resource (see 6.9.7, 6.9.8 and 6.9.9).
The Subscribe methods shall contain the following attributes:
The Subscribe methods shall contain a "request" element with "param" elements documenting the following:
The Subscribe methods shall contain one or more "response" elements documenting the following:
<method name="POST" id="CreateSubscription">
<request>
<param name="deletionlock" style="query" default="false">
<option value="true" />
<option value="false" />
</param>
</request>
<response status="201">
<param name="Warning" style="header" fixed="299 {+SERVICE}: Deletion Lock not granted." />
</response>
<response status="403">
<param name="Warning" style="header" fixed="299 {+SERVICE}: The Origin-Server does not support
Global Subscription Filtering." />
</response>
<response status="400 401 404 409 503" />
</method>
Table 6.8-2 lists the HTTP status codes that shall be used to report any of the associated error and warning situations. Other error codes may be present for other error and warning situations.
Table 6.8-2. Server Options HTTP Status Codes
| DICOM PS3.18 2017d - Web Services |
|---|