Expand description
This module includes a high level abstraction over a DICOM data element’s value.
Re-exports§
pub use self::deserialize::Error as DeserializeError;
pub use self::partial::DicomDate;
pub use self::partial::DicomDateTime;
pub use self::partial::DicomTime;
pub use self::partial::PreciseDateTime;
pub use self::person_name::PersonName;
pub use self::range::AsRange;
pub use self::range::DateRange;
pub use self::range::DateTimeRange;
pub use self::range::TimeRange;
Modules§
- deserialize
- Parsing of primitive values
- fragments
- Helper module for handling pixel encapsulation into fragments
- partial
- Handling of partial precision of Date, Time and DateTime values.
- person_
name - Handling of DICOM values with the PN (person name) value representation as per PS3.5 sect 6.2.
- range
- Handling of date, time, date-time ranges. Needed for range matching. Parsing into ranges happens via partial precision structures (DicomDate, DicomTime, DicomDatime) so ranges can handle null components in date, time, date-time values.
- serialize
- Encoding of primitive values.
Structs§
- Cast
Value Error - An error type for an attempt of accessing a value in one internal representation as another.
- Convert
Value Error - An error type for a failed attempt at converting a value into another representation.
- Data
SetSequence - A sequence of complex data set items of type
I
. - Pixel
Fragment Sequence - A sequence of pixel data fragments.
Enums§
- Invalid
Value Read Error - Triggered when a value reading attempt fails.
- Modify
Value Error - Error type for a failed attempt to modify an existing DICOM primitive value.
- Primitive
Value - An enum representing a primitive value from a DICOM element. The result of decoding an element’s data value may be one of the enumerated types depending on its content and value representation.
- Value
- Representation of a full DICOM value, which may be either primitive or another DICOM object.
- Value
Type - An enum representing an abstraction of a DICOM element’s data value type.
This should be the equivalent of
PrimitiveValue
without the content, plus theDataSetSequence
andPixelSequence
entries.
Traits§
- Dicom
Value Type - A trait for a value that maps to a DICOM element data value.
Type Aliases§
- C
- An aggregation of one or more elements in a value.
- InMem
Fragment - Type alias for the in-memory pixel data fragment data.