View Source Dicom.DataSet (Dicom.ex v0.1.5)

Summary

Types

t()

@type t() :: %{required(integer()) => Dicom.DataElement.t()}

Functions

fetch(ds, keyword)

@spec fetch(t(), atom()) :: {:ok, Dicom.DataElement.t()} | {:error, atom()}

fetch!(ds, keyword)

@spec fetch!(t(), atom()) :: Dicom.DataElement.t()

from_elements(elements)

@spec from_elements(Enumerable.t({atom(), any()})) :: t()

from_keyword_list(value_list)

@spec from_keyword_list([{atom(), any()}]) :: t()

to_string(ds)

value_for!(ds, keyword, index \\ 0)

@spec value_for!(t(), atom(), integer()) :: any()