DICOM PS3.3 2024d - Information Object Definitions |
---|
Table C.18.10-1 specifies the Attributes of the Table Content Item Macro, which convey a TABLE (two-dimensional tabulated data) Content Item value.
A TABLE consists of a rectangular array of row and column values, which may be of the same or different Value Representation, and be associated with coded row and column descriptions, and units for numeric values when required. Cell values may be specified individually or as complete row or column lists of values in single Attributes. The values may be described completely or sparsely (i.e., empty cells are permitted)
Table C.18.10-1. Table Content Item Macro Attributes
This is the table that represents the value of the Content Item. Shall consist of a single Item whose Attributes convey the cell value(s), which represent rows and columns consisting of text, codes, integers, real numbers or DateTimes. |
|||
The concepts that define the meaning of the rows of the table. One or more Items are permitted in this Sequence. If a single Item is present, then the concept applies to all the rows. Not all rows need to be described. Items of this Sequence shall be sorted by Table Row Number. See Section C.18.10.1.1. |
|||
The row, numbered from 1, of the table that this concept describes. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
Units of measurement that apply to all the numeric values in this row. Only a single Item shall be included in this Sequence. Required if all the columns in this row are numeric values (Selector Attribute VR is DS, FD, FL, IS, SL, SS, UL, or US), have units (are not dimensionless), and have the same units. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
The concepts that define the meaning of the columns of the table. One or more Items are permitted in this Sequence. Not all columns need to be described. If a single Item is present, then the concept applies to all the columns. Items of this Sequence shall be sorted by Table Column Number. See Section C.18.10.1.1. |
|||
The column, numbered from 1, of the table that this concept describes. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
Units of measurement that apply to all the numeric values in this column. Only a single Item shall be included in this Sequence. Required if all the rows in this column are numeric values (Selector Attribute VR is DS, FD, FL, IS, SL, SS, UL, or US), have units (are not dimensionless), and have the same units. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
The values of each populated cell in the table, identified by row and column. One or more Items shall be included in this Sequence. The table may be sparse (i.e., not every cell is required to be populated). Entire rows may be specified in a single Item if all the columns have the same VR. Entire columns may be specified in a single Item if all the rows have the same VR. Items of this Sequence shall be in row-major order, then sorted by column. See Section C.18.10.1.2. |
|||
The row, numbered from 1, of the table. Required if Table Column Number is absent, or all the rows for the column specified in Table Column Number are not encoded in a single Attribute (containing multiple values) in this Item (i.e., with a single VR). |
|||
The column, numbered from 1, of the table. Required if Table Row Number is absent, or all the columns for the row specified in Table Row Number are not encoded in a single Attribute (containing multiple values) in this Item (i.e., with a single VR). |
|||
An ordered set of one or more integers that uniquely identifies the Content Item that is the value for this cell. See Section C.18.10.1.3. Required if Selector Attribute VR (0072,0050) is not present. |
|||
Value Representation of the value(s) of the cell(s) in this Item. Required if Referenced Content Item Identifier (0040,DB73) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is DS, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The DateTime value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is DT. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is FD, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is FL, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is IS, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is SL, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is SS, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is SV, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The text value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is UC. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is UL, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is US, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The numeric value(s) of the cell(s) in this Item. Required if Selector Attribute VR (0072,0050) is present and the value is UV, and Numeric Value Qualifier Code Sequence (0040,A301) is not present. |
|||
The coded value(s) of the cell(s) in this Item. One or more Items shall be included in this Sequence. Required if Selector Attribute VR (0072,0050) is present and the value is SQ. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
Units of measurement that apply to all the numeric value in this cell. Only a single Item shall be included in this Sequence. Required if this cell is a numeric value (Selector Attribute VR is DS, FD, FL, IS, SL, SS, SV, UL, US or UV) has a unit (is not dimensionless), and the unit is not specified within the Table Row Definition Sequence for this row or Table Column Definition Sequence for this column. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
|||
The reason for the absence of the numeric value. Only a single Item is permitted in this Sequence. Required if this cell is a numeric value (Selector Attribute VR is DS, FD, FL, IS, SL, SS, SV, UL, US or UV), and the numeric value cannot be provided. |
|||
>>>Include Table 8.8-1 “Code Sequence Macro Attributes” |
The meaning of the table rows and columns are described in Items of Table Row Definition Sequence (0040,A806) and Table Column Definition Sequence (0040,A807). A coded concept name is provided in Concept Code Sequence (0040,A168) and units, if applicable, in Measurement Units Code Sequence (0040,08EA).
Example 1. A two-column table, consisting of multiple rows describing forty values of datetime and X-Ray tube current, could be described as follows:
Concept Name Code Sequence (0040,A043) = (113734, DCM, "X-Ray Tube Current")
Tabulated Values Sequence (0040,A801)
>Number of Table Rows (0040,A802) = 40
>Number of Table Columns (0040,A803) = 2
>Table Column Definition Sequence (0040,A807)
>>Table Column Number (0040,A805) = 1
>>Concept Name Code Sequence (0040,A043) = (111526, DCM, "DateTime Started")
>>Table Column Number (0040,A805) = 2
>>Concept Name Code Sequence (0040,A043) = (113734, DCM, "X-Ray Tube Current")
>>Measurement Units Code Sequence (0040,08EA) = (mA, UCUM, "mA")
The same concept (113734, DCM, "X-Ray Tube Current") can be used to describe the entire table as the column of values that represent the actual values.
No Table Row Definition Sequence (0040,A806) is needed, since rows consist of unnamed observations.
No Measurement Units Code Sequence (0040,08EA) is needed for the first column, since it contains DateTimes, not numeric values.
Example 2. A four by four matrix representing an affine transformation between two frames of reference could be described as:
Concept Name Code Sequence (0040,A043) = (eRDSRX16, DCM, "X-Ray Source Transformation Matrix")
Tabulated Values Sequence (0040,A801)
>Number of Table Rows (0040,A802) = 4
>Number of Table Columns (0040,A803) = 4
No Table Row Definition Sequence (0040,A806) or Table Column Definition Sequence (0040,A807) is needed, since the meaning of the rows and columns in a transformation matrix is implicit in the definition of the matrix (for example, the template using this Content Item might reference the behavior defined in Section C.20.2.1.1 Frame of Reference Transformation Matrix).
No Measurement Units Code Sequence (0040,08EA) is needed since the numeric values are dimensionless (have no units).
Example 3. A four-column table, consisting of multiple (ten) measurements along an artery, could be described as follows:
Concept Name Code Sequence (0040,A043) = (, , "Arterial Measurements")
Tabulated Values Sequence (0040,A801)
>Number of Table Rows (0040,A802) = 10
>Number of Table Columns (0040,A803) = 4
>Table Column Definition Sequence (0040,A807)
>>Table Column Number (0040,A805) = 1
>>Concept Name Code Sequence (0040,A043) = (, , " Distance from landmark ")
>>Measurement Units Code Sequence (0040,08EA) = (mm, UCUM, "mm")
>>Table Column Number (0040,A805) = 2
>>Concept Name Code Sequence (0040,A043) = (, , "X- Measured lumen diameter")
>>Measurement Units Code Sequence (0040,08EA) = (mm, UCUM, "mm")
>>Table Column Number (0040,A805) = 3
>>Concept Name Code Sequence (0040,A043) = (, , "Calculated lumen cross-section area")
>>Measurement Units Code Sequence (0040,08EA) = (mm2, UCUM, " mm2")
>>Table Column Number (0040,A805) = 4
>>Concept Name Code Sequence (0040,A043) = (, , "Stenosis")
>>Measurement Units Code Sequence (0040,08EA) = ([%], UCUM, " [%]")
The table cell values are encoded in Items of Cell Values Sequence (0040,A808) either:
in individual Items, one for each cell, as a single valued Attribute (and may be sparse and of different VR per cell)
in a single Item for entire columns, one for each column, as a multi-valued Attribute (and hence be of the same VR for all the cells in a particular column)
in a single Item for entire rows, one for each row, as a multi-valued Attribute (and hence be of the same VR for all the cells in a particular row)
Example 1. A two-column table, consisting of multiple rows describing forty values of datetime and X-Ray tube current, as described in Section C.18.10.1.1 Example 1, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = DT
>>Selector DT Value (0072,0063) = 20200401163901.01\20200401163901.02\...\20200401163901.40 (forty values)
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = FL
>>Selector FL Value (0072,0076) = 100.1, 90.2, ..., 60.5 (forty 32-bit binary floating-point values)
Example 2. A four by four matrix representing an identity affine transformation between two frames of reference, as described in Section C.18.10.1.1 Example 2, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 1, 0, 0, 0 (four 64-bit binary floating-point values)
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 1, 0, 0 (four 64-bit binary floating-point values)
>>Table Column Number (0040,A805) = 3
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 0, 1, 0 (four 64-bit binary floating-point values)
>>Table Column Number (0040,A805) = 4
>>Selector Attribute VR (0072,0050) = FD
>>Selector FD Value (0072,0074) = 0, 0, 0, 1 (four 64-bit binary floating-point values)
Example 3. A four-column table, consisting of multiple (ten) measurements along an artery, as described in Section C.18.10.1.1 Example 3, could encode its values as follows:
>Cell Values Sequence (0040,A808)
>>Table Column Number (0040,A805) = 1
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 0\1\2\3 ...\9 (ten decimal string values)
>>Table Column Number (0040,A805) = 2
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 1.4\1.5\1.5\1.4 ...\1.2 (ten decimal string values)
>>Table Column Number (0040,A805) = 3
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 1.54\1.77\1.77\1.54 ...\1.13 (ten decimal string values)
>>Table Column Number (0040,A805) = 4
>>Selector Attribute VR (0072,0050) = DS
>>Selector DS Value (0072,0072) = 10\0\0\10 ...\20 (ten decimal string values)
Instead of encoding a value for a cell or list of values for a row or column, a reference can be made to another Content Item.
For the structure and encoding of the Referenced Content Item Identifier (0040,DB73) Attribute, see Section C.17.3.2.5 and the definition of Referenced Content Item Identifier in Table C.17-6.
The reference mechanism allows the context of a cell value to be preserved. For example, if it is necessary to tabulate a list of measurements on regions of interest (ROIs), then each ROI and its associated measurements, descriptive codes, segmentation references, coordinates and image references can be encoded in the Content Tree in the normal manner, and references to the NUM Content Items that encode the measurements can be tabulated in a TABLE Content Item by using the Referenced Content Item Identifier (0040,DB73). Other cells in the table might reference other Content Items associated with the measurements, such as a tracking identifier or target anatomy or time point identifier.
Frequently, the description of the row or column (as described in Section C.18.10.1.1), will match the pre-coordinated concept name and units that describes a referenced Content Item. E.g., the same code can be used for the Concept Name Code Sequence (0040,A043) and Measurement Units Code Sequence (0040,08EA) of the referenced NUM Content Item as for the corresponding Table Row Definition Sequence (0040,A806) or Table Column Definition Sequence (0040,A807). However, it may be that a referenced Content Item has a relatively complex post-coordinated description defined by related parent, sibling or child Content Items, in which case a more specific code may need to be used for the Concept Name Code Sequence (0040,A043) in Table Row Definition Sequence (0040,A806) or Table Column Definition Sequence (0040,A807).
DICOM PS3.3 2024d - Information Object Definitions |
---|