Class ValueType

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, CodeStringWrapper, StringDataElementWrapper

public class ValueType extends AbstractDataElementWrapper implements CodeStringWrapper
Name: Value Type
Keyword: ValueType
Tag: (0040,A040)
Value Representation: CS
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Value Type
    Type: 1C
    Attribute Description:

    The type of the value encoded in this Content Item.

    Enumerated Values:

    CONTAINER

    Required if Content Sequence (0040,A730) is present


  • Described in the contexts: as follows:
    Attribute Name: Value Type
    Type: 1
    Attribute Description:

    The type of the value encoded in this Content Item.

    Enumerated Values:

    TEXT
    NUM
    CODE
    DATE
    TIME
    DATETIME
    UIDREF
    PNAME
    COMPOSITE
    IMAGE
    WAVEFORM
    SCOORD
    SCOORD3D
    TCOORD
    CONTAINER
    TABLE

    See DICOM Standard Part 3 - Section C.17.3.2.1 for further explanation.


  • Described in the contexts: as follows:
    Attribute Name: Value Type
    Type: 1
    Attribute Description:

    The type of the value encoded in this name-value Item.

    Enumerated Values:

    DATE
    TIME
    DATETIME
    PNAME
    UIDREF
    TEXT
    CODE
    NUMERIC
    COMPOSITE
    IMAGE
    WAVEFORM

  • Field Details

  • Constructor Details

    • ValueType

      public ValueType(org.dcm4che3.data.Attributes attributes)
      Creates a new Value Type object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • ValueType

      public ValueType()
      Creates a new Value Type object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public ValueType copy()
      Returns a new Value Type which wraps a copy of the Attributes wrapped in this Value Type. (see Attributes(Attributes)
      Returns:
      a new Value Type which wraps a copy of the Attributes wrapped in this Value Type.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM attributes.