F.11.2.2.2 Service Class User

The SCU shall specify in the N-SET request primitive the UID of the General Purpose Performed Procedure Step SOP Instance for which it wants to set Attribute Values.

The SCU shall be permitted to set Attribute values for any General Purpose Performed Procedure Step SOP Class Attribute specified in Table F.11.2-1. The SCU shall specify the list of General Purpose Performed Procedure Step SOP Class Attributes for which it wants to set the Attribute Values. The SCU shall provide, with one or more N-SET request primitives, the attribute values specified in Table F.11.2-1. The encoding rules for General Purpose Performed Procedure Step Attributes are specified in the N-SET request primitive specification in PS 3.7. The SCU shall only set Attribute Values which are already created with an N-CREATE request.

The SCU shall not send N-SET request primitives for a General Purpose Performed Procedure Step SOP Instance after a N-SET request primitive with a value for the attribute “General Purpose Performed Procedure Step Status” (0040,4002) is “COMPLETED” or “DISCONTINUED” has been sent.

Once the General Purpose Performed Procedure Step Status (0040,4002) has been set to “COMPLETED” or “DISCONTINUED” the SCU shall no longer modify the General Purpose Performed Procedure Step SOP Instance, and shall not create new Composite SOP Instances as part of the same General Purpose Performed Procedure Step SOP Instance.

If Sequences are included in a N-SET command, all Items of a Sequence are to be included in the command and not only the Items to be updated.

Before or when General Purpose Performed Procedure Step Status (0040,4002) is set to “COMPLETED” or “DISCONTINUED” the SCU shall have created or set all the Attributes according to the requirements in the Final State column of Table F.11.2-1.

Before or when General Purpose Performed Procedure Step Status (0040,4002) is set to “COMPLETED” or “DISCONTINUED” the SCU shall have sent to the SCP a list of all Composite SOP Instances created during the Procedure Step in Output Information Sequence (0040,4033).

Note: The intent is that a completed or discontinued General Purpose Performed Procedure Step entity will contain a complete list of all the Composite Instances that were created.

The General Purpose Performed Procedure Step Status (0040,4002) shall not be set to “COMPLETED” or “DISCONTINUED” if the list contains no Composite Instance references, unless no such Instances were created.