DICOM PS3.17 2022d - Explanatory Information

YYYY.7.3 Using Referenced Inventories

Section YYYY.3.3 describes the tree of Inventory SOP Instances whose contents are included by reference in the complete Inventory described by the root SOP Instance. A user of the Inventory may retrieve referenced Inventories in the tree through the Inventory Query/Retrieve Service (see Section YYYY.3.3), or the DICOM web-based Non-Patient Instance Service, if either of those is implemented in the system. The Inventory IOD may also include alternative access information for a non-DICOM file access protocol with each link to a referenced Inventory SOP Instance.

The specification of the Incorporated Inventory Instance Sequence (0008,0422), which provides the links to subsidiary SOP Instances, recursively includes itself (see Section C.38.2.3 “Inventory Reference Macro” in PS3.3). This is used to encode a tree structure containing the entire set of links for the tree of which it is the root.

Therefore, when an application creates an Inventory and includes another Inventory by reference, it adds the access information to the referenced SOP Instance into the Incorporated Inventory Instance Sequence (0008,0422) together with a copy of the referenced object's Incorporated Inventory Instance Sequence (0008,0422) (see Figure YYYY.7-2). Note that including the entire tree of object references ensures that the tree is acyclic.

Inclusion of Inventory References

Figure YYYY.7-2. Inclusion of Inventory References

As described in Section C. “Inventory Reference Macro Attribute Descriptions” in PS3.3, each node in the tree may set the default network access protocol end point(s) for its sub-tree. Thus when including another Inventory by reference, an application needs to provide values for the access end points for the objects it references, and may rely on the included subtrees to provide their own access end point information. However, if the access end points are the same the application could consolidate them into the root node it creates

The Inventory IOD also requires the SOP Instance to provide a count of the Total Number of Study Records (0008,0428), which includes Inventories included by reference. Since each Inventory SOP Instance computes the value for its tree in Total Number of Study Records (0008,0428), this simply means that when an instance includes others by reference the value is the sum of the Total Number of Study Records (0008,0428) for each of its immediately referenced instances plus its own value for the Number of Study Records in Instance (0008,0427).

DICOM PS3.17 2022d - Explanatory Information