DICOM PS3.4 2020a - Service Class Specifications

H.4 Print Management SOP Class Definitions (Current)
Prev | H Print Management Service Class (Normative) | Next

## H.4 Print Management SOP Class Definitions

### H.4.1 Basic Film Session SOP Class

#### H.4.1.1 IOD Description

The Basic Film Session IOD describes the presentation parameters that are common for all the films of a film session (e.g., number of films, film destination)

The Basic Film Session SOP Instance refers to one or more Basic Film Box SOP Instances.

#### H.4.1.2 DIMSE Service Group

The DIMSE Services applicable to the IOD are shown in Table H.4-1.

Table H.4-1. DIMSE Service Group Applicable to Basic Film Session

DICOM Message Service Element | Usage SCU/SCP
--- | ---
N-CREATE | M/M
N-SET | U/M
N-DELETE | U/M
N-ACTION | U/U

The meaning of the Usage SCU/SCP is described in Section H.2.4.

This Section describes the behavior of the DIMSE Services that are specific for this IOD. The general behavior of the DIMSE Services is specified in PS3.7.

##### H.4.1.2.1 N-CREATE

The N-CREATE is used to create an instance of the Basic Film Session SOP Class.

###### H.4.1.2.1.1 Attributes

The Attribute list of the N-CREATE is defined as shown in Table H.4-2.

Table H.4-2. N-CREATE Attribute List

Attribute Name | Tag | Usage SCU/SCP
--- | --- | ---
Specific Character Set | (0008,0005) | U/U
Number of Copies | (2000,0010) | U/M
Print Priority | (2000,0020) | U/M
Medium Type | (2000,0030) | U/M
Film Destination | (2000,0040) | U/M
Film Session Label | (2000,0050) | U/U
Memory Allocation | (2000,0060) | U/U
Owner ID | (2100,0160) | U/U

### Note

1. The memory allocation Attribute allows the SCU to reserve sufficient memory to store the "working" film session hierarchy as well the "copied" film session hierarchy in the Print Job in order to prevent deadlock situations.

2. Owner ID (2100,0160) is a user option for the Basic Film Session.

The meaning of the Usage SCU/SCP is described in Section H.2.4.

Within the film session, the allocated memory is consumed as SOP Instances are created and is freed for reuse as SOP Instances are deleted. All the allocated memory shall be released following termination of the Association or deletion of the Film Session SOP Instance.

###### H.4.1.2.1.2 Status

Table H.4.1.2.1.2-1 defines the specific status code values that may be returned in a N-CREATE or N-SET response for this SOP Class. See PS3.7 for additional response status codes of N-CREATE and N-SET DIMSE Services.

Table H.4.1.2.1.2-1. Status Values for Basic Film Session SOP Class

Service Status | Further Meaning | Status Code
--- | --- | ---
Success | Film session successfully created | 0000
Warning | Memory allocation not supported | B600

### Note

The status code "0106H" (Invalid Attribute Value) indicates that the requested memory allocation can not be provided; the status code "0213H" (Resource limitation) indicates that the requested allocation can temporarily not be provided.

###### H.4.1.2.1.3 Behavior

The SCU uses the N-CREATE to request the SCP to create a Basic Film Session SOP Instance. The SCU shall initialize Attributes of the SOP Class as specified in Section H.2.4.

The SCP shall create the SOP Instance and shall initialize Attributes of the SOP Class as specified in Section H.2.4.

The SCP shall return the status code of the requested SOP Instance creation. The meaning of success, warning, and failure status codes is defined in Section H.2.5.

The Basic Film Session SOP Instances shall be created before the Film Box SOP Instances are created.

At any time the SCU/SCP shall only support one Basic Film Session SOP Instance on an Association.

### Note

Multiple film sessions may be handled by establishing multiple Associations.

Terminating the Association will effectively perform an N-DELETE on an opened film session. See Note in Section H.4.1.2.3.2.

##### H.4.1.2.2 N-SET

The N-SET may be used to update an instance of the Basic Film Session SOP Class.

###### H.4.1.2.2.1 Attributes

All Attributes and usage in Table H.4-2 apply to N-SET.

###### H.4.1.2.2.2 Status

The status values that are specific for this SOP Class are defined in Section H.4.1.2.1.2.

###### H.4.1.2.2.3 Behavior

The SCU uses the N-SET to request the SCP to update a Basic Film Session SOP Instance. The SCU shall specify the SOP Instance UID to be updated and shall specify the list of Attributes for which the Attribute Values are to be set.

The SCP shall set new values for the specified Attributes of the specified SOP Instance.

The SCP shall return the status code of the requested SOP Instance update. The meaning of success, warning, and failure status codes is defined in Section H.2.5

##### H.4.1.2.3 N-DELETE

The N-DELETE is used to delete the complete Basic Film Session SOP Instance hierarchy. As a result, all references to Image SOP Instances within the film session are deleted.

The Basic Film Session SOP Instance hierarchy consists of one Basic Film Session SOP Instance, one or more Basic Film Box SOP Instances, one or more Image Box SOP Instances, zero or more Basic Annotation Box SOP Instances, zero or more Presentation LUT SOP Instances, and zero or more Basic Print Image Overlay Box SOP instances.

### Note

The Basic Film Session SOP Instance hierarchy can be visualized as a reversed tree with the Basic Film Session SOP Instance as the root and the Image Box SOP Instances as the leaves.

###### H.4.1.2.3.1 Status

There are no specific status codes. See PS3.7 for response status codes.

###### H.4.1.2.3.2 Behavior

The SCU uses the N-DELETE to request the SCP to delete the Basic Film Session SOP Instance hierarchy. The SCU shall specify in the N-DELETE request primitive of the SOP Instance UID of the Basic Film Session (root).

The SCP shall delete the specified SOP Instance hierarchy.

The SCP shall not delete SOP Instances in the hierarchy as long as there are outstanding references to these SOP Instances

### Note

It is beyond the scope of the Standard to specify when the SCP actually deletes SOP Instances with outstanding references.

The SCP shall return the status code of the requested SOP Instance deletion. The meaning of success, warning, and failure status codes is defined in Section H.2.5.

##### H.4.1.2.4 N-ACTION

The N-ACTION is used to print the film session; i.e., to print all the films that belong to the film session.

If multiple copies of the film session have been requested, the SCP shall collate the copies. This means that if two copies of four films has been specified, the printed sequence is 12341234.

###### H.4.1.2.4.1 Attributes

The arguments of the N-ACTION are defined in Table H.4-3.

The Action Reply argument is encoded as a DICOM Data Set. The Data Set only contains the Attribute Referenced Print Job Sequence (2100,0500), which includes the Referenced SOP Class UID (0008,1150) and the Referenced SOP Instance UID (0008,1155).

If the SCP supports the Print Job SOP Class, the Action Reply argument is contained in the N-ACTION response. Otherwise, the Action Reply is not contained in the N-ACTION response.

Table H.4-3. N-ACTION Arguments

Action Type Name | Action Type ID | Attribute Name | Tag | Usage SCU/SCP
--- | --- | --- | --- | ---
Print | 1 | Referenced Print Job Sequence | (2100,0500) | -/MC Required if Print Job SOP is supported
|  | >Referenced SOP Class UID | (0008,1150) | -/MC Required if Referenced Print Job Sequence (2100,0500) is present
|  | >Referenced SOP Instance UID | (0008,1155) | -/MC Required if Referenced Print Job Sequence (2100,0500) is present

###### H.4.1.2.4.2 Status

Table H.4-4defines the specific status code values that may be returned in a N-ACTION response. See PS3.7 for additional response status codes.

Table H.4-4. SOP Class Status Values

Service Status | Further Meaning | Status Code
--- | --- | ---
Success | Film belonging to the film session are accepted for printing; if supported, the Print Job SOP Instance is created | 0000
Warning | Film session printing (collation) is not supported | B601
Film Session SOP Instance hierarchy does not contain Image Box SOP Instances (empty page) | B602
Image size is larger than image box size, the image has been demagnified. | B604
Image size is larger than the Image Box size. The Image has been cropped to fit. | B609
Image size or Combined Print Image size is larger than the Image Box size. Image or Combined Print Image has been decimated to fit. | B60A
Failure | Failed: Film Session SOP Instance hierarchy does not contain Film Box SOP Instances | C600
Failed: Unable to create Print Job SOP Instance; print queue is full | C601
Failed: Image size is larger than image box size | C603
Failed: Combined Print Image size is larger than the Image Box size | C613

### Note

Previous versions of the DICOM Standard defined the status code of C604. This code was specified for the case of an image position collision. Since image position collision is not a possible state, the code has been retired.

###### H.4.1.2.4.3 Behavior

The SCU uses the N-ACTION to request the SCP to print all the films belonging to the identified film session.

The SCP shall make a copy of the "working" Basic Film Session SOP Instance hierarchy, which contains all the information to control the Print Process. Hence the SCU may further update the "working" SOP Instance hierarchy without affecting the result of previous print requests. The execution of the Print Process is monitored by the Print Job SOP Instance (if supported by the SCP) and the Printer SOP Class.

If the SCP supports the Print Job SOP Class then the SCP shall create a Print Job SOP Instance, which contains the copy of the "working" Basic Film Session SOP Instance hierarchy and shall return the Print Job SOP Class/Instance UID pair in the Attribute Referenced Print Job Sequence of the Action Reply argument.

### Note

If the SCP supports the Print Job SOP Class, it creates a single Print Job for all the films of the film session.

The SCP shall return the status code of the requested operation. The meaning of success, warning, and failure status codes is defined in Section H.2.5.

The N-ACTION shall be issued only if the Basic Film Session SOP Instance hierarchy contains at least one Film Box SOP Instance.

#### H.4.1.3 SOP Class Definition and UID

The Basic Film Session SOP Class UID shall have the value "1.2.840.10008.5.1.1.1".

Prev | Up | Next
H.3.4 Conformance Statement | Home | H.4.2 Basic Film Box SOP Class

DICOM PS3.4 2020a - Service Class Specifications