|
DICOM PS3.5 2020a - Data Structures and Encoding |
Page 41 |
|
VR Name |
Definition |
Character Repertoire |
Length of Value |
|
A concatenated date-time character string in the format: |
|
|
YYYYMMDDHHMMSS.FFFFFF&ZZXX
The components of this string, from left to right, are YYYY = Year,
MM = Month, DD = Day, HH = Hour (range "00" - "23"), MM =
Minute (range "00" - "59"), SS = Second (range "00" - "60").
FFFFFF=FractionalSecondcontainsafractionalpartofasecond as small as 1 millionth of a second (range "000000" - "999999").
&ZZXX is an optional suffix for offset from Coordinated Universal Time (UTC), where & = "+" or "-", and ZZ = Hours and XX = Minutes of offset.
The year, month, and day shall be interpreted as a date of the
Gregorian calendar system.
A 24-hour clock is used. Midnight shall be represented by only "0000" since "2400" would violate the hour range.
The Fractional Second component, if present, shall contain 1 to 6 digits. If Fractional Second is unspecified the preceding "." shall not be included. The offset suffix, if present, shall contain 4 digits. ThestringmaybepaddedwithtrailingSPACEcharacters.Leading and embedded spaces are not allowed.
A component that is omitted from the string is termed a null component. Trailing null components of Date Time indicate that the value is not precise to the precision of those components. The YYYY component shall not be null. Non-trailing null components are prohibited. The optional suffix is not considered as a component.
A Date Time value without the optional suffix is interpreted to be inthelocaltimezoneoftheapplicationcreatingtheDataElement, unless explicitly specified by the Timezone Offset From UTC (0008,0201).
UTC offsets are calculated as "local time minus UTC". The offset for a Date Time value in UTC shall be +0000.
Note
1.The range of the offset is -1200 to +1400. The offset for United States Eastern Standard Time is -0500. The offset for Japan Standard Time is +0900.
2.The RFC 2822 use of -0000 as an offset to indicate local time is not allowed.
3.A Date Time value of 195308 means August 1953, not specific to particular day. A Date Time value of 19530827111300.0 means August 27, 1953, 11;13 a.m. accurate to 1/10th second.
4.TheSecondcomponentmayhaveavalueof60only for a leap second.
- Standard -
Page 42 |
DICOM PS3.5 2020a - Data Structures and Encoding |
|
|
VR Name |
Definition |
Character Repertoire |
Length of Value |
|
5.The offset may be included regardless of null |
|
|
|
components; e.g., 2007-0500 is a legal value. |
|
|
FL |
Single precision binary floating point number represented in IEEEnot applicable |
4 bytes fixed |
|
|
754:1985 32-bit Floating Point Number Format. |
|
|
Floating Point |
|
|
|
Single |
|
|
|
FD |
DoubleprecisionbinaryfloatingpointnumberrepresentedinIEEEnot applicable |
8 bytes fixed |
|
|
754:1985 64-bit Floating Point Number Format. |
|
|
Floating Point |
|
|
|
Double |
|
|
|
IS |
AstringofcharactersrepresentinganIntegerinbase-10(decimal),"0"-"9","+","-"andtheSPACE12bytesmaximum |
||
|
shall contain only the characters 0 - 9, with an optional leading "+"characterofDefaultCharacter |
||
Integer Stringor "-". It may be padded with leading and/or trailing spaces. |
Repertoire |
|
|
|
Embedded spaces are not allowed. |
|
|
LO
Long String
LT
Long Text
The integer, n, represented shall be in the range: -231<= n <= (231-1).
A character string that may be padded with leading and/or trailingDefault Character Repertoire64charsmaximum
spaces. The character code 5CH (the BACKSLASH "\" in ISO-IRand/or as defined by |
(see Note in |
|
6) shall not be present, as it is used as the delimiter between |
(0008,0005) excluding |
Section 6.2) |
values in multi-valued data elements. The string shall not have character code 5CH (the |
|
|
Control Characters except for ESC. |
BACKSLASH "\" in ISO-IR 6), |
|
|
and all Control Characters |
|
except ESC when used for ISO 2022 escape sequences.
A character string that may contain one or more paragraphs. It Default Character Repertoire10240 chars
maycontaintheGraphicCharactersetandtheControlCharacters,and/or as defined by |
maximum (see |
|
CR,LF,FF,andESC.Itmaybepaddedwithtrailingspaces,which(0008,0005)excludingControlNote in Section |
||
may be ignored, but leading spaces are considered to be |
Characters except TAB, LF,6.2) |
|
significant. Data Elements with this VR shall not be multi-valuedFF, CR (and ESC when used |
||
and therefore character code 5CH (the BACKSLASH "\" in ISO-IRfor ISO 2022 escape |
|
|
6) may be used. |
sequences). |
|
OB
Other Byte
An octet-stream where the encoding of the contents is specifiednot applicable |
see Transfer |
by the negotiated Transfer Syntax. OB is a VR that is insensitive |
Syntax definition |
to byte ordering (see Section 7.3). The octet-stream shall be |
|
padded with a single trailing NULL byte value (00H) when |
|
necessary to achieve even length. |
|
OD |
A stream of 64-bit IEEE 754:1985 floating point words. OD is a not applicable |
232-8 bytes |
|
VR that requires byte swapping within each 64-bit word when |
maximum |
Other Doublechanging byte ordering (see Section 7.3). |
|
|
OF |
Astreamof32-bitIEEE 754:1985floating pointwords.OFisa VRnot applicable |
232-4 bytes |
Other Float |
thatrequiresbyteswappingwithineach32-bitwordwhenchanging |
maximum |
byte ordering (see Section 7.3). |
|
|
OL
Other Long
A stream of 32-bit words where the encoding of the contents is not applicable |
see Transfer |
specified by the negotiated Transfer Syntax. OL is a VR that |
Syntax definition |
requires byte swapping within each word when changing byte |
|
ordering (see Section 7.3). |
|
OV
Other 64-bit
Very Long
A stream of 64-bit words where the encoding of the contents is not applicable |
see Transfer |
specified by the negotiated Transfer Syntax. OV is a VR that |
Syntax definition |
requires byte swapping within each word when changing byte |
|
ordering (see Section 7.3). |
|
- Standard -
DICOM PS3.5 2020a - Data Structures and Encoding |
Page 43 |
VR Name
OW
Other Word
Definition |
Character Repertoire |
Length of Value |
A stream of 16-bit words where the encoding of the contents is not applicable |
see Transfer |
|
specified by the negotiated Transfer Syntax. OW is a VR that |
|
Syntax definition |
requires byte swapping within each word when changing byte |
|
|
ordering (see Section 7.3). |
|
|
PN |
A character string encoded using a 5 component convention. TheDefault Character Repertoire64charsmaximum |
||
|
character code 5CH (the BACKSLASH "\" in ISO-IR 6) shall notand/or as defined by |
per component |
|
Person Namebe present, as it is used as the delimiter between values in |
(0008,0005) excluding |
group |
|
|
multi-valueddataelements.Thestringmaybepaddedwithtrailingcharacter code 5CH (the |
|
|
|
spaces. For human use, the five components in their order of |
BACKSLASH "\" in ISO-IR 6)(see Note in |
|
|
occurrenceare:familynamecomplex,givennamecomplex,middleand all Control Characters |
Section 6.2) |
|
|
name, name prefix, name suffix. |
except ESC when used for |
|
|
Note |
ISO 2022 escape sequences. |
|
|
|
|
|
HL7prohibitsleadingspaceswithinacomponent;DICOM allows leading and trailing spaces and considers them insignificant.
Any of the five components may be an empty string. The component delimiter shall be the caret "^" character (5EH). There shall be no more than four component delimiters, i.e., none after the last component if all components are present. Delimiters are requiredforinteriornullcomponents.Trailingnullcomponentsand their delimiters may be omitted. Multiple entries are permitted in each component and are encoded as natural text strings, in the format preferred by the named person.
For veterinary use, the first two of the five components in their order of occurrence are: responsible party family name or responsible organization name, patient name. The remaining components are not used and shall not be present.
This group of five components is referred to as a Person Name component group.
For the purpose of writing names in ideographic characters and in phonetic characters, up to 3 groups of components (see Annex H,AnnexIandAnnexJ)maybeused.Thedelimiterforcomponent groups shall be the equals character "=" (3DH). There shall be no more than two component group delimiters, i.e., none after the last component group if all component groups are present. The threecomponentgroupsofcomponentsintheirorderofoccurrence are: an alphabetic representation, an ideographic representation, and a phonetic representation.
Anycomponentgroupmaybeabsent,includingthefirstcomponent group. In this case, the person name may start with one or more "=" delimiters. Delimiters are required for interior null component groups. Trailing null component groups and their delimiters may be omitted.
Precise semantics are defined for each component group. See
Section 6.2.1.2.
For examples and notes, see Section 6.2.1.1.
- Standard -
Page 44 |
DICOM PS3.5 2020a - Data Structures and Encoding |
VR Name
SH
Short String
Definition
Character Repertoire
Length of Value
A character string that may be padded with leading and/or trailingDefault Character Repertoire16charsmaximum
spaces.Thecharactercode05CH(theBACKSLASH"\"inISO-IRand/or as defined by |
(see Note in |
|
6) shall not be present, as it is used as the delimiter between |
(0008,0005) excluding |
Section 6.2) |
valuesformultipledataelements.ThestringshallnothaveControlcharacter code 5CH (the |
|
|
Characters except ESC. |
BACKSLASH "\" in ISO-IR 6) |
|
|
and all Control Characters |
|
|
except ESC when used for |
|
|
ISO 2022 escape sequences. |
|
SL |
Signed binary integer 32 bits long in 2's complement form. |
not applicable |
4 bytes fixed |
Signed LongRepresents an integer, n, in the range: |
|
|
|
|
- 231<= n <= 231-1. |
|
|
SQ |
Value is a Sequence of zero or more Items, as defined in |
not applicable (see |
notapplicable(see |
Sequence of |
Section 7.5. |
Section 7.5) |
Section 7.5) |
|
|
|
|
Items |
|
|
|
SS |
Signed binary integer 16 bits long in 2's complement form. |
not applicable |
2 bytes fixed |
|
Represents an integer n in the range: |
|
|
Signed Short
-215<= n <= 215-1.
ST
Short Text
A character string that may contain one or more paragraphs. It Default Character Repertoire1024 chars
maycontaintheGraphicCharactersetandtheControlCharacters,and/or as defined by |
maximum (see |
|
CR,LF,FF,andESC.Itmaybepaddedwithtrailingspaces,which(0008,0005)excludingControlNote in Section |
||
may be ignored, but leading spaces are considered to be |
Characters except TAB, LF,6.2) |
|
significant. Data Elements with this VR shall not be multi-valuedFF, CR (and ESC when used |
||
and therefore character code 5CH (the BACKSLASH "\" in ISO-IRfor ISO 2022 escape |
|
|
6) may be used. |
sequences). |
|
SV |
Signed binary integer 64 bits long. Represents an integer n in thenot applicable |
8 bytes fixed |
|
range: |
|
Signed 64-bit |
|
|
Very Long |
- 263<= n <= 263-1. |
|
- Standard -
DICOM PS3.5 2020a - Data Structures and Encoding |
Page 45 |
VR Name
TM
Time
UC
Unlimited
Characters
Definition |
Character Repertoire |
Length of Value |
A string of characters of the format HHMMSS.FFFFFF; where HH"0"-"9", "." and the SPACE |
14bytesmaximum |
|
contains hours (range "00" - "23"), MM contains minutes (rangecharacterofDefaultCharacter |
||
"00"-"59"),SScontainsseconds(range"00"-"60"),andFFFFFFRepertoire |
In the context of a |
|
contains a fractional part of a second as small as 1 millionth of a |
|
Query with range |
second (range "000000" - "999999"). A 24-hour clock is used. In the context of a Query withmatching (see Midnight shall be represented by only "0000" since "2400" wouldrange matching (see PS3.4),PS3.4), the length
violate the hour range. The string may be padded with trailing |
the character "-" is allowed. is 28 bytes |
spaces. Leading and embedded spaces are not allowed. |
maximum. |
One or more of the components MM, SS, or FFFFFF may be unspecified as long as every component to the right of an unspecified component is also unspecified, which indicates that the value is not precise to the precision of those unspecified components.
The FFFFFF component, if present, shall contain 1 to 6 digits. If
FFFFFF is unspecified the preceding "." shall not be included.
Examples:
1."070907.0705 " represents a time of 7 hours, 9 minutes and 7.0705 seconds.
2."1010" represents a time of 10 hours, and 10 minutes. |
|
|
3."021 " is an invalid value. |
|
|
Note |
|
|
1.The ACR-NEMA Standard 300 (predecessor to |
|
|
DICOM) supported a string of characters of the |
|
|
formatHH:MM:SS.fracforthisVR.Useofthisformat |
|
|
is not compliant. |
|
|
2.See also DT VR in this table. |
|
|
3.The SS component may have a value of 60 only for |
|
|
a leap second. |
|
|
A character string that may be of unlimited length that may be |
Default Character Repertoire232-2 bytes |
|
padded with trailing spaces. The character code 5CH (the |
and/or as defined by |
maximum |
BACKSLASH "\" in ISO-IR 6) shall not be present, as it is used as(0008,0005) excluding |
See Note 2 |
|
the delimiter between values in multi-valued data elements. Thecharacter code 5CH (the |
||
string shall not have Control Characters except for ESC. |
BACKSLASH "\" in ISO-IR 6), |
|
|
and all Control Characters |
|
|
except ESC when used for |
|
|
ISO 2022 escape sequences. |
|
UI |
AcharacterstringcontainingaUIDthatisusedtouniquelyidentify"0"-"9","."ofDefaultCharacter64bytesmaximum |
|
Unique |
awidevarietyofitems.TheUIDisaseriesofnumericcomponentsRepertoire |
|
separated by the period "." character. If a Value Field containing |
|
|
Identifier(UID) |
|
|
|
one or more UIDs is an odd number of bytes in length, the Value |
|
|
Field shall be padded with a single trailing NULL (00H) character |
|
|
toensurethattheValueFieldisanevennumberofbytesinlength. |
|
|
See Section 9 and Annex B for a complete specification and |
|
|
examples. |
|
UL |
Unsigned binary integer 32 bits long. Represents an integer n innot applicable |
4 bytes fixed |
Unsigned |
the range: |
|
0 <= n < 232. |
|
|
Long |
|
|
- Standard -