DICOM PS3.4 2024d - Service Class Specifications |
---|
One DIMSE-C Service is used in the construction of SOP Classes of the Basic Worklist Management Service Class. The following DIMSE-C operation is used.
SCPs of some SOP Classes of the Basic Worklist Management Service Class are capable of processing queries using the C-FIND operation as described in PS3.7. The C-FIND operation is the mechanism by which queries are performed. Matches against the keys present in the Identifier are returned in C-FIND responses.
The SOP Class UID identifies the Worklist Information Model against which the C-FIND is to be performed. Support for the SOP Class UID is implied by the Abstract Syntax UID of the Presentation Context used by this C-FIND operation.
The Priority Attribute defines the requested priority of the C-FIND operation with respect to other DIMSE operations being performed by the same SCP.
Processing of priority requests is not required of SCPs. Whether or not an SCP supports priority processing and the meaning of the different priority levels shall be stated in the Conformance Statement of the SCP.
Both the C-FIND request and response contain an Identifier encoded as a Data Set (see PS3.5).
An Identifier in a C-FIND request shall contain
Key Attributes values to be matched against the values of Attributes specified in that SOP Class.
Conditionally, the Attribute Specific Character Set (0008,0005). This Attribute shall be included if expanded or replacement character sets may be used in any of the Attributes in the Request Identifier. It shall not be included otherwise.
Conditionally, the Attribute Timezone Offset From UTC (0008,0201). This Attribute shall be included if Key Attributes of time are to be interpreted explicitly in the designated local time zone. It shall not be present otherwise, i.e., it shall not be sent with a zero-length value.
The Key Attributes and values allowable for the query shall be defined in the SOP Class definition for the corresponding Worklist Information Model.
The C-FIND response shall not contain Attributes that were not in the request or specified in this section.
An Identifier in a C-FIND response shall contain:
Key Attributes with values corresponding to Key Attributes contained in the Identifier of the request (Key Attributes as defined in Section K.2.2.1.)
Conditionally, the Attribute Specific Character Set (0008,0005). This Attribute shall be included if expanded or replacement character sets may be used in any of the Attributes in the Response Identifier. It shall not be included otherwise. The C-FIND SCP is not required to return responses in the Specific Character Set requested by the SCU if that character set is not supported by the SCP. The SCP may return responses with a different Specific Character Set.
Conditionally, the Attribute Timezone Offset From UTC (0008,0201). This Attribute shall be included if any Attributes of time in the Response Identifier are to be interpreted explicitly in the designated local time zone. It shall not be present otherwise, i.e., it shall not be sent with a zero-length value.
Conditionally, the Attribute HL7 Structured Document Reference Sequence (0040,A390) and its subsidiary Sequence Items. This Attribute shall be included if HL7 Structured Documents are referenced within the Identifier, e.g., in the Pertinent Documents Sequence (0038,0100).
Table K.4-1 defines the Status Code values that might be returned in a C-FIND response. General Status Code values and fields related to Status Code values are defined for C-FIND DIMSE Service in PS3.7.
Table K.4-1. C-FIND Response Status Values
Status Codes are returned in DIMSE response messages (see PS3.7). The code values stated in column "Status Codes" are returned in Status Command Element (0000,0900).
Some Failure Status Codes are implementation specific.
An SCP implementation shall assign specific Failure Status Codes by replacing each 'x' symbol with a hexadecimal digit in the range from 0 to F. An SCP implementation wishing to differentiate between causes of “Failed: Unable to process” Failure Meaning shall assign those causes specific Status Code Values within valid range specified in Table K.4-1.
An SCU implementation shall recognize any Failure Status Code within the value range specified in Table K.4-1 as an indicator of the Failure Meaning stated in the table. There is no requirement for an SCU implementation to differentiate between specific Status Codes within the valid range.
All C-FIND SCUs shall be capable of generating query requests that meet the requirements of the "Worklist" Search Method (see Section K.4.1.3.1).
Required Keys, and Optional Keys associated with the Worklist may be contained in the Identifier.
An SCU conveys the following semantics using the C-FIND requests and responses:
The SCU requests that the SCP perform a match of all keys specified in the Identifier of the request against the information it possesses of the Worklist specified in the request.
The SCU shall interpret Pending responses to convey the Attributes of a match of an Entity.
The SCU shall interpret a response with a status equal to Success, Failed, Refused or Cancel to convey the end of Pending responses.
The SCU shall interpret a Refused or Failed response to a C-FIND request as an indication that the SCP is unable to process the request.
The SCU may cancel the C-FIND service by issuing a C-CANCEL-FIND request at any time during the processing of the C-FIND. The SCU shall recognize a status of Cancel to indicate that the C-CANCEL-FIND was successful.
All C-FIND SCPs shall be capable of processing queries that meet the requirements of the "Worklist" Search (see Section K.4.1.3.1).
An SCP conveys the following semantics using the C-FIND requests and responses:
The SCP is requested to perform a match of all the keys specified in the Identifier of the request, against the information it possesses. Attribute matching is performed using the key values specified in the Identifier of the C-FIND request as defined in Section K.2.
The SCP generates a C-FIND response for each match using the "Worklist" Search method. All such responses shall contain an Identifier whose Attributes contain values from a single match. All such responses shall contain a status of Pending.
When all matches have been sent, the SCP generates a C-FIND response that contains a status of Success. A status of Success shall indicate that a response has been sent for each match known to the SCP.
No ID is contained in a response with a status of Success. For a complete definition, see PS3.7.
When there are no matches, then no responses with a status of Pending are sent, only a single response with a status of Success.
The SCP shall generate a response with a status of Refused or Failed if it is unable to process the request. A Refused or Failed response shall contain no Identifier.
If the SCP receives C-CANCEL-FIND indication before it has completed the processing of the matches it shall interrupt the matching process and return a status of Cancel.
The following procedure is used to generate matches.
The key match strings contained in the Identifier of the C-FIND request are matched against the values of the Key Attributes for each worklist entity. For each entity for which the Attributes match all of the specified match strings, construct an Identifier. This Identifier shall contain all of the values of the Attributes for this entity that match those in the C-FIND request. Return a response for each such Identifier. If there are no matching keys, then there are no matches, return a response with a status equal to Success and with no Identifier.
DICOM PS3.4 2024d - Service Class Specifications |
---|