DICOM PS3.4 2024d - Service Class Specifications

S.3.2 Operations

The DICOM AEs that claim conformance to this SOP Class as an SCU shall invoke the N-CREATE and the N-ACTION operations. The DICOM AEs that claim conformance to this SOP Class as an SCP shall support the N-CREATE, the N-ACTION and the N-GET operations.

S.3.2.1 Create a Media Creation Request

The Create a Media Creation Request operation allows an SCU to create an instance of the Media Creation Management SOP Class and initialize Attributes of the SOP Class. The SCP uses this operation to create a new media creation request containing the set of SOP Instances that shall be included in the Interchange Media. This operation shall be invoked through the N-CREATE primitive

S.3.2.1.1 Attributes

The DICOM AEs that claim conformance to this SOP Class as an SCU may choose to provide a subset of the Attributes maintained by the SCP. The DICOM AEs that claim conformance to this SOP Class as an SCP shall support a subset of the Media Creation Management specified in Table S.3.2.1.1-1.

Table S.3.2.1.1-1. Media Creation Management - N-CREATE Attributes

Attribute Name

Tag

Requirement Type SCU/SCP

Specific Character Set

(0008,0005)

1C/1C (Required if expanded or replacement character set is used)

Storage Media File-Set ID

(0088,0130)

3/3

See Section S.3.2.1.1.1.

Storage Media File-Set UID

(0088,0140)

3/3

See Section S.3.2.1.1.1.

Label Using Information Extracted From Instances

(2200,0001)

3/1C

See Section S.3.2.1.1.4.

Label Text

(2200,0002)

3/1C

See Section S.3.2.1.1.4.

Label Style Selection

(2200,0003)

3/1C

See Section S.3.2.1.1.4.

Barcode Value

(2200,0005)

3/3

See Section S.3.2.1.1.4

Barcode Symbology

(2200,0006)

3/3

See Section S.3.2.1.1.4

Media Disposition

(2200,0004)

3/3

See Section S.3.2.1.1.5.

Allow Media Splitting

(2200,0007)

3/1C

See Section S.3.2.1.1.6

Allow Lossy Compression

(2200,000F)

3/1C

See Section S.3.2.1.1.9

Include Non-DICOM Objects

(2200,0008)

3/1C

See Section S.3.2.1.1.7

Include Display Application

(2200,0009)

3/1C

See Section S.3.2.1.1.8

Preserve Composite Instances After Media Creation

(2200,000A)

3/3

Referenced SOP Sequence

(0008,1199)

1/1

>Referenced SOP Class UID

(0008,1150)

1/1

>Referenced SOP Instance UID

(0008,1155)

1/1

>Requested Media Application Profile

(2200,000C)

3/1

See Section S.3.2.1.1.2.

>Icon Image Sequence

(0088,0200)

3/1C

See Section S.3.2.1.1.3.


S.3.2.1.1.1 Storage Media File-Set Attributes

If present, the Storage Media File-Set ID (0088,0130) and Storage Media File-Set UID (0088,0140) shall be used on the media created. If absent, the media shall contain values generated by the SCP.

If the media request will not fit on a single volume (single piece or side of media), then whether or not the SCP ignores Storage Media File-Set ID (0088,0130), or uses it as a prefix and appends information to distinguish volumes, is implementation dependent. Different values of Storage Media File-Set UID (0088,0140) shall be used for different volumes.

If multiple copies are requested, the same Storage Media File-Set ID (0088,0130) and Storage Media File-Set UID (0088,0140) shall be used on all copies.

Note

Care should be taken with multiple copies written to rewritable media that their contents do not diverge even though their identifiers are identical.

S.3.2.1.1.2 Requested Media Application Profile

The Requested Media Application Profile (2200,000C), if present, shall be used by the SCP for the specified SOP Instance. If absent for a particular instance, the choice of Media Application Profile for that instance shall be at the discretion of the SCP.

Note

  1. Different Media Application Profiles may be used for different instances on the same piece of media.

  2. The form of the DICOMDIR directory records that the SCP must create may be significantly influenced by the media application profiles used.

S.3.2.1.1.3 Icon Image Sequence

The Icon Image Sequence (0088,0200), if present:

  • shall be used by the SCP for inclusion in the instance-level DICOM Directory Record for the specified SOP Instance, if the Media Application Profile requires its inclusion, and the icon supplied by the SCU meets the requirements of the profile

  • may be used by the SCP for inclusion in the instance-level DICOM Directory Record for the specified SOP Instance, if the Media Application Profile does not require its inclusion

If absent for a particular instance, the choice of Media Application Profile for that instance dictates whether or not the SCP is required to create its own Icon Image Sequence (0088,0200) from the contents of the SOP Instance.

Note

  1. Some Media Application Profiles require the inclusion of an Icon Image Sequence (0088,0200) in the directory records.

  2. Some Media Application Profiles specify constraints on the form of the Icon Image Sequence (0088,0200).

  3. The SCP may choose to extend the Media Application Profile by generating and including icons anyway.

S.3.2.1.1.4 Labeling

The SCP may or may not have the capability to print a label on (or for) the media. If it does, then the following SCP behavior shall apply and the specified Attributes are required to be supported by the SCP.

The Label Using Information Extracted From Instances (2200,0001) Attribute is a flag that instructs the SCP whether or not to create any label using the Patient and Study information contained within the instances themselves.

Note

The SCP may implement whatever it considers to be an appropriate subset of any Attributes of any Modules at the Patient, Specimen and Study entities in the DICOM Information Model specified in PS3.3. Typically included are such Attributes as Patient Name (0010,0010), Patient ID (0010,0020), Study ID (0020,0010), and Study Date (0008,0020).

The Label Text (2200,0002) Attribute is additional text that the SCP shall include on any label, either in addition to or instead of any extracted demographics, depending on the value of Label Using Information Extracted From Instances (2200,0001).

The Label Style Selection (2200,0003) Attribute is a code string, which if present, may be used by the SCP to choose one or more implementation-dependent styles of labeling.

The Barcode Value (2200,0005) and the Barcode Symbology (2200,0006), if present, may be used by the SCP to print a barcode on the label.

Note It is SCU responsibility to convey a value for the Barcode Value (2200,0005) Attribute consistent in length and content with the requested Barcode Symbology (2200,0006).

S.3.2.1.1.5 Media Disposition

The Media Disposition (2200,0004), if present, may be used by the SCP to determine where and to whom to send the media when completed.

Note

For example, it may contain the name and address of a referring doctor, and be used to print a label for an envelope or mailer, or as additional material to be printed on the media label.

S.3.2.1.1.6 Allow Media Splitting

The SCP may or may not have the capability to split a request over more than one piece of media (e.g., if it doesn't fit on one). If it does, then the following SCP behavior shall apply and the specified Attributes are required to be supported by the SCP.

The Allow Media Splitting (2200,0007) Attribute shall be used by the SCP to determine if it is permitted to split this request over more than one piece of media.

Note

  1. If the file-set size exceeds the media storage capacity, and this flag has been set to NO, the SCP shall refuse to process the request.

  2. If the requested Media Application Profile allows for lossless compression, and images are not already compressed, such compression may be applied by the SCP in order to fit all instances on a single piece of media. This also applies to lossy compression if it has not been allowed by the value of Allow Lossy Compression (2200,000F).

S.3.2.1.1.7 Include Non-DICOM Objects

The SCP may or may not have the capability to include on the created media additional Non-DICOM objects (e.g., HTML files, JPEG images) that are a rendering of the DICOM instances. If it does, then the following SCP behavior shall apply and the specified Attributes are required to be supported by the SCP.

The Include Non-DICOM Objects (2200,0008) shall be used to request the SCP to add additional Non-DICOM objects onto the created media.

An SCP is not required to be able to add such files. Inability to add Non-DICOM objects is not an error.

If Include Non-DICOM Objects (2200,0008) is set to NO, the SCP shall not include additional non-DICOM objects on the media.

S.3.2.1.1.8 Include Display Application

The SCP may or may not have the capability to include on the created media an application for displaying DICOM instances. If it does, then the following SCP behavior shall apply and the specified Attributes are required to be supported by the SCP.

The Include Display Application (2200,0009) shall be used to request the SCP to add an application for displaying DICOM instances onto the created media.

An SCP is not required to be able to add such an application. Inability to add a display application is not an error.

Whether the display application is capable of displaying all stored instances is beyond the scope of the Standard.

Whether the display application automatically executes when media is inserted for reading is beyond the scope of the Standard.

Which platforms are supported by the display application(s) is beyond the scope of the Standard.

Note

Multiple files may need to be included in the media to support the display application, rather than a single executable file, and these may be present, even if the Include Non-DICOM Objects (2200,0008) Attribute has a value of NO.

If Include Display Application (2200,0009) is set to NO, the SCP shall not include a display application on the media.

S.3.2.1.1.9 Allow Lossy Compression

If Allow Lossy Compression (2200,000F) has a value of YES, the SCP is allowed to perform lossy compression under the following circumstances:

  • if it receives uncompressed or lossless compressed images yet is requested to use a profile that requires lossy compression, or

  • if Allow Media Splitting (2200,0007) is NO, and the request would otherwise need to be split across media.

If Allow Lossy Compression (2200,000F) has a value of YES but the requested profile does not permit lossy compression, lossy compression shall not be performed.

The level of compression is at the SCP's discretion.

The SCP shall not decompress and recompress already lossy compressed images, but may use images that have already been lossy compressed.

The SCP is never required to perform lossy compression.

If Allow Lossy Compression (2200,000F) has a value of NO, the SCP is not allowed to perform lossy compression. If Allow Lossy Compression (2200,000F) has a value of NO and the requested profile requires lossy compression, an error shall be returned.

S.3.2.1.2 Service Class User Behavior

The SCU shall use the N-CREATE primitive to inform the SCP that a new media creation request has been placed and to convey the proprieties of this request. The request proprieties (e.g., the set of SOP Instances that the creating interchange media shall contain) are referenced in the IOD Attributes as specified in Table S.3.2.1.1-1.

Upon receipt of a successful N-CREATE Response Status Code from the SCP, the SCU now knows that the SCP has received the N-CREATE request and a new media creation request has been created.

Upon receipt of a failure N-CREATE Response Status Code from the SCP, the SCU now knows that the SCP will not process the request. The actions taken by the SCU upon receiving the status is beyond the scope of this Standard.

At any time after receipt of the N-CREATE response, the SCU may release the association on which it sent the N-CREATE request.

Note

An N-GET of the corresponding of the Media Creation Management SOP Class may be performed on the same or subsequent associations.

S.3.2.1.3 Service Class Provider Behavior

Upon receipt of the N-CREATE request, the SCP shall return, via the N-CREATE response primitive, the N-CREATE Response Status Code applicable to the associated request. A success status conveys that the SCP has successfully received the N-CREATE request.

Warning statuses shall not be returned.

Any other status (i.e., a failure status) conveys that the SCP is not processing the media creation request.

Note

  1. It is not specified by the Standard what checks the SCP shall accomplish after the N-CREATE request primitive reception and before returning the N-CREATE response. Implementations are discouraged from performing extended validation of the contents of the N-CREATE request, such as availability of the referenced Composite SOP Instances, support for the requested profiles, etc. In case of N-CREATE failure, the SCU would not be able to perform an N-GET to determine the detailed reasons for failure, and allow operators to apply suitable correction actions to make the request processable (e.g., resending any missing Composite SOP Instances). Such checks are better deferred until after receipt of the N-ACTION request, after which an N-GET may be performed.

  2. The Standard does not require the SCP to queue multiple requests, though implementations are encouraged to do so. As a consequence, a new request before a previous request has been completed may fail immediately, or may return a successful response and be queued. The size of any such queue is beyond the scope of the Standard.

  3. How long the instance of the Media Creation Management SOP Class persists once the Execution Status (2100,0020) has been set to IDLE is beyond the scope of the Standard.

The N-CREATE implicitly creates the Execution Status (2100,0020) and Execution Status Info (2100,0030) Attributes, which may subsequently be retrieved by an N-GET.

S.3.2.1.4 Status Codes

Table S.3.2.2.4-1 defines the specific Status Code values that might be returned in a N-CREATE response. See PS3.7 for general response Status Codes.

Table S.3.2.2.4-1. SOP Class Status Values

Service Status

Further Meaning

Status Code

Failure

Failed: An Initiate Media Creation action has already been received for this SOP Instance.

A510


DICOM PS3.4 2024d - Service Class Specifications