Module dicom_core::value
source · 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::person_name::PersonName;pub use self::range::AsRange;pub use self::range::DateRange;pub use self::range::DateTimeRange;pub use self::range::TimeRange;
Modules
- Parsing of primitive values
- Helper module for handling pixel encapsulation into fragments
- Handling of partial precision of Date, Time and DateTime values.
- Handling of DICOM values with the PN (person name) value representation as per PS3.5 sect 6.2.
- 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.
- Encoding of primitive values.
Structs
- An error type for an attempt of accessing a value in one internal representation as another.
- An error type for a failed attempt at converting a value into another representation.
- A sequence of complex data set items of type
I. - A sequence of pixel data fragments.
Enums
- Triggered when a value reading attempt fails.
- Error type for a failed attempt to modify an existing DICOM 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.
- Representation of a full DICOM value, which may be either primitive or another DICOM object.
- An enum representing an abstraction of a DICOM element’s data value type. This should be the equivalent of
PrimitiveValuewithout the content, plus theDataSetSequenceandPixelSequenceentries.
Traits
- A trait for a value that maps to a DICOM element data value.
Type Definitions
- An aggregation of one or more elements in a value.
- Type alias for the in-memory pixel data fragment data.