A Template for SR Documents defines a set of constraints on the relationships and content (Value Types, Codes, etc.) of Content Items. Specific Templates for SR Documents are defined either by the DICOM Standard (see PS3.16) or by users of the Standard for particular purposes. Usage of Templates for SR Documents may improve comparability of essential data, facilitate data-entry and revisions, enable automatic processing and simplify presentation of information to the user.
An SR Document consists of a Root CONTAINER Content Item with nested content, and as such may be defined by a Template specifying a single CONTAINER with nested content. Sub-trees of an SR Document may similarly be defined by a Template specifying a single CONTAINER with nested content. If created using such a Template, the Root and/or sub-tree shall identify the Template in the CONTAINER Content Item. When a Template invokes (includes) another Template, the outermost invoking Template is the one identified as the defining Template for the CONTAINER in the Content Template Sequence (0040,A504).
The Content Template Sequence (0040,A504) identifies the Template that was used in the creation of the associated Content Item and its subsidiary Content Items. A Template is identified by a Mapping Resource (0008,0105) (the entity that manages or registers the Template), and an identifier of the Template. DICOM Standard Templates are identified in Template Identifier (0040,DB00) using the CS value representation.
The DICOM Template identifier (0040,DB00) is a string of digits, without leading zeroes, and does not include the string “TID”.