DICOM PS3.18 2019a - Web Services

6.5.4.2 Response

The Server shall provide the document(s) indicated in the request. In order to parse the bulk data items it is necessary to also retrieve the corresponding metadata for the specified Study, Series, or Instance.

The Server shall return the document(s) or an error code when the document(s) cannot be returned. If the server cannot encode the pixel data using any of the requested media types, then an error status shall be returned.

All response formats has a media type of multipart/related with a message boundary separator.

6.5.4.2.1 Pixel Data Response
  • Content-Type:

    • multipart/related; type="application/octet-stream"; boundary={MessageBoundary} [dcm-parameters]

    • multipart/related; type="{media-type}"; boundary={MessageBoundary} [dcm-parameters]

  • The entire multipart response contains all requested Frames for the specified Instance.

  • Each item in the response is one of:

    • an uncompressed frame encoded in Little Endian binary format (as specified in Table 6.1.1.8-3a) with the following headers:

      • Content-Type: application/octet-stream

      • Content-Location: {BulkDataURI}[/frames/{FrameNumber}]

    • a compressed frame encoded in a single-frame media type (as specified in Table 6.1.1.8-3b) with the following headers:

      • Content-Type: {media-type} [dcm-parameters]

      • Content-Location: {BulkDataURI}/frames/{FrameNumber}

    • all of the compressed frames encoded in a video media type (as specified in Table 6.1.1.8-3b) with the following headers:

      • Content-Type: {media-type} [dcm-parameters]

      • Content-Location: {BulkDataURI}[/frames/{FrameList}]

        • {FrameList} is a list of frames separated by %2C (comma). It may be omitted if the message part includes all frames for the specified bulk pixel data object.

  • The frames will be returned in the order specified by the Frame List.

DICOM PS3.18 2019a - Web Services