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.
  • ops provides constructs for defining operations on DICOM attributes, to be applied on types resembling DICOM objects or data sets.
  • value holds 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§

dictionary
This module contains the concept of a DICOM data dictionary.
header
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.
ops
Module for the attribute operations API.
prelude
Prelude module.
value
This module includes a high level abstraction over a DICOM data element’s value.

Macros§

dicom_value
Helper macro for constructing a DICOM primitive value, of an arbitrary variant and multiplicity.