Crate dicom_core
source ·Expand description
This is the core library of DICOM-rs containing various concepts, data structures and traits specific to DICOM content.
The current structure of this crate is as follows:
header
comprises various data types for DICOM element header, including common definitions for DICOM tags and value representations.dictionary
describes common behavior of DICOM data dictionaries, which translate attribute names and/or tags to a dictionary entry containing relevant information about the attribute.value
holds definitions for values in standard DICOM elements, with the awareness of multiplicity, representation, and the possible presence of sequences.error
contains crate-level error and result types.
Re-exports
pub use dictionary::DataDictionary;
pub use header::DataElement;
pub use header::DataElementHeader;
pub use header::Length;
pub use header::Tag;
pub use header::VR;
pub use value::Value as DicomValue;
pub use chrono;
pub use smallvec;
Modules
This module contains the concept of a DICOM data dictionary.
This modules contains an assortment of types required for interpreting DICOM data elements.
It comprises a variety of basic data types, such as the DICOM attribute tag, the
element header, and element composite types.
This module includes a high level abstraction over a DICOM data element’s value.
Macros
Helper macro for constructing a DICOM primitive value,
of an arbitrary variant and multiplicity.
Enums
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.