DICOM PS3.5 2023b - Data Structures and Encoding |
---|
The Value of certain Data Elements may be chosen among a set of explicit Values satisfying its VR. These explicit Values are either Enumerated Values or Defined Terms and are specified in PS3.3 and PS3.4.
Enumerated Values are used when the specified explicit Values are the only Values allowed for a Data Element. A Data Element with Enumerated Values that does not have a Value equivalent to one of the Values specified in this Standard has an invalid Value within the scope of a specific Information Object/SOP Class definition.
Patient Sex (0010, 0040) is an example of a Data Element having Enumerated Values. It is defined to have a Value that is either "M", "F", or "O" (see PS3.3). No other Value shall be given to this Data Element.
Future modifications of this Standard may add to the set of allowed Values for Data Elements with Enumerated Values. Such additions by themselves may or may not require a change in SOP Class UIDs, depending on the semantics of the Data Element.
Defined Terms are used when the specified explicit Values may be extended by implementers to include additional new Values. These new Values shall be specified in the Conformance Statement (see PS3.2) and shall not have the same meaning as currently defined Values in this Standard. A Data Element with Defined Terms that does not contain a Value equivalent to one of the Values currently specified in this Standard shall not be considered to have an invalid Value. An empty (zero length) Value is not a valid new Value for a Defined Term; empty Values shall be considered invalid unless the Standard specifically permits empty Values. New Values shall not have a meaning of unknown, since that concept, if permitted by the Standard, shall be conveyed explicitly either by allowing the Data Element to be zero length or by provision of a standard Defined Term with such a meaning.
Reporting Priority (0040,1009) is an example of a Data Element having Defined Terms. It is defined to have a Value that may be one of the set of standard Values; HIGH, ROUTINE, MEDIUM, or LOW (see PS3.3). Because this Data Element has Defined Terms other reporting priorities may be defined by the implementer.
The validity of empty Values is usually specified by the Attribute being defined as Type 2 (see Section 7.4.3). However, in the context of a required Type 1 Attribute with multiple Values, some (but not all) Values may be allowed to be empty (see Section 7.4.1); in this case the Standard explicitly specifies the validity of empty Values in the list of Defined Terms for each Value. Specific Character Set (0008,0005) is an example of a Data Element for which the Standard specifically permits the first Value to be empty when multiple Values are present. Image Type (0008,0008) is an example of a Data Element that in some IODs defined in PS3.3 is required to be present with multiple Values, but if an empty Value is not explicitly listed in the Defined Terms for Value 3 by an IOD an empty Value is invalid.
The Value Representation may affect the interpretation of Defined Terms and Enumerated Values for numeric Values. For binary Value Representations, the textual representation of the Value in the Standard does not affect the interpretation. For string Value Representations (IS and DS), the meaning of the Value in the Standard shall be used, not the literal string.
For example, an Enumerated Value of "1" expressed in the text of the Standard matches an IS or DS Value encoded as "001", or a DS Value encoded as "1.0" or "1." or "1.0000E+00" or any permitted encoding. Leading and trailing spaces are defined in Table 6.2-1 not to be significant and hence do not affect the interpretation.
DICOM PS3.5 2023b - Data Structures and Encoding |
---|