DICOM PS3.18 2020c - Web Services

8.7.3.5 DICOM Media Type Syntax (Current)
Prev | 8.7.3 DICOM Media Types and Media Types For Bulkdata | Next

#### 8.7.3.5 DICOM Media Type Syntax

The syntax of DICOM Media Types is:

    dicom-media-type = (dcm-singlepart / dcm-multipart) [dcm-parameters]

Where

    dcm-singlepart = dcm-mt-name

    dcm-multipart  ;see Section 8.7.3.5.1

    dcm-parameters = transfer-syntax-mtp ;see Section 8.7.3.5.2

                   / charset-mtp;see Section 8.7.3.5.3

    dcm-mt-name    = dicom / dicom-xml / dicom-json ;DICOM Media Type name

    dicom          = "application/dicom"

    dicom-xml      = "application/dicom+xml"

    dicom-json     = "application/dicom+json"

    octet-stream   = "application/octet-stream"

All DICOM Media Types may have a Transfer Syntax parameter, but its usage may be constrained by the service for which they are used.

### Note

The application/dicom+xml and application/dicom+json Media Types may have a Transfer Syntax parameter in order to specify the encoding of base64 data.

All DICOM Media Types may have a character set parameter, but its usage may be constrained by the service for which they are used.

##### 8.7.3.5.1 DICOM Multipart Media Types

The syntax of multipart media types is:

    dcm-multipart = "multipart/related"

                    OWS ";" OWS "type" "=" dcm-mp-mt-name

                    OWS ";" OWS "boundary=" boundary

                    [dcm-parameters]

                    [related-parameters]

Where

    dcm-mp-mt-name = dicom / dicom-xml / dicom-json / octet-stream

See Section 8.6.1.2.1 for the definition of boundary and related-parameters.

Each multipart media type shall include a "type" parameter that defines the media type of the parts and shall also include a "boundary" parameter that specifies the boundary string that is used to separate the parts.

Prev | Up | Next
8.7.3.4 Transfer Syntax | Home | 8.7.3.5.2 Transfer Syntax Parameter

DICOM PS3.18 2020c - Web Services