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:
- headercomprises various data types for DICOM element header, including common definitions for DICOM tags and value representations.
- dictionarydescribes common behavior of DICOM data dictionaries, which translate attribute names and/or tags to a dictionary entry containing relevant information about the attribute.
- opsprovides constructs for defining operations on DICOM attributes, to be applied on types resembling DICOM objects or data sets.
- valueholds definitions for values in standard DICOM elements, with the awareness of multiplicity, representation, and the possible presence of sequences.
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::PrimitiveValue;
- 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.
- Module for the attribute operations API.
- Prelude module.
- 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.