DICOM PS3.17 2024c - Explanatory Information

YYYY.7 Operational Considerations

This section describes topics relevant to implementation and use of Inventories.

YYYY.7.1 Transforming Repository Query Responses into Inventory SOP Instances

For implementation reasons, there will be situations where the repository implements the Repository Query SOP Class, but the using application wants to work asynchronously from an Inventory SOP Instance. Because the Repository Query SOP Class and the Inventory IOD arealigned technically, it is feasible for an intermediary application to transform Repository Query responses into Inventory SOP Instances.

The basic operation is for the using application to first inform the intermediary application about its desired Scope of Inventory, which can be done through the Inventory Creation SOP Class or some non-DICOM method (such as manual configuration). The intermediary application performs Repository Queries at the Study level using the desired Key Attributes, including universal matching for all Attributes that will be included in the Inventory (minimally, the Type 1 and Type 2 Attributes specified in the Inventory IOD). For each response, the application performs a query for the Series, and for each Series a query for instances, down to the level for which the Inventory is being produced. The responses from the three hierarchical levels are encoded in the Sequence Items of an Inventory SOP Instance. A separate Inventory SOP Instance might be created for each Study level Repository Query transaction, with the Instances chained as described in Section YYYY.

The intermediary application must account for Attributes not supported for matching by the SCP (see Section YYYY.7.11). Such Attributes need to be excluded from the Scope of Inventory in the produced Inventory SOP Instances as they were not used for selection of Studies.

The process for transforming a Relational query to an Inventory SOP Instance is more complex, and requires knowledge of the hierarchical level of each Attribute. The initial query is not at the Study level, but rather a relational query at the Series or Instance level. Depending on the Key Attributes requested to be returned for the level(s) higher than the Query level, the application may need to perform follow-on queries at those higher levels. In particular, the Attributes defined at multiple levels (such as Removed from Operation Use (0008,0405) and File Set Access Sequence (0008,0419) ) need to be requested at each specific level.

While such transforms are relatively straightforward, there are some differences between Repository Query and the Inventory IOD that need to be addressed. First, the specification of Key Attributes differs, as the Query uses constructs unavailable to SOP Instances, and the IOD uses Sequence Attributes for different types of matching. Second, the Query uses the Metadata Sequence (0008,041D) and the Updated Metadata Sequence (0008,041E) to be able to obtain metadata Attributes without needing to enumerate them, while in the Inventory IOD all Attributes are encoded in the top-level Data Set for the appropriate entity Sequence Item. Of course, the intermediary application needs to handle error conditions that may occur, which should be expected in a process that may extend over several days, with applications that may also be involved in other tasks that may interrupt the inventory production.

DICOM PS3.17 2024c - Explanatory Information