# `Dicom.SR.ContentItem`
[🔗](https://github.com/Balneario-de-Cofrentes/dicom/blob/v0.9.1/lib/dicom/sr/content_item.ex#L1)

A reusable SR content item with relationship and child content.

# `t`

```elixir
@type t() :: %Dicom.SR.ContentItem{
  children: [t()],
  concept_name: Dicom.SR.Code.t(),
  continuity_of_content: String.t() | nil,
  relationship_type: String.t() | nil,
  value: term(),
  value_type: value_type()
}
```

# `value_type`

```elixir
@type value_type() ::
  :container
  | :code
  | :text
  | :num
  | :uidref
  | :image
  | :composite
  | :scoord
  | :scoord3d
  | :tcoord
  | :date
  | :time
  | :datetime
  | :pname
```

# `code`

```elixir
@spec code(Dicom.SR.Code.t(), Dicom.SR.Code.t(), keyword()) :: t()
```

# `composite`

```elixir
@spec composite(Dicom.SR.Code.t(), Dicom.SR.Reference.t(), keyword()) :: t()
```

# `container`

```elixir
@spec container(
  Dicom.SR.Code.t(),
  keyword()
) :: t()
```

# `date`

```elixir
@spec date(Dicom.SR.Code.t(), Date.t() | String.t(), keyword()) :: t()
```

# `datetime`

```elixir
@spec datetime(
  Dicom.SR.Code.t(),
  DateTime.t() | NaiveDateTime.t() | String.t(),
  keyword()
) :: t()
```

# `image`

```elixir
@spec image(Dicom.SR.Code.t(), Dicom.SR.Reference.t(), keyword()) :: t()
```

# `num`

```elixir
@spec num(Dicom.SR.Code.t(), number() | String.t(), Dicom.SR.Code.t(), keyword()) ::
  t()
```

# `pname`

```elixir
@spec pname(Dicom.SR.Code.t(), String.t(), keyword()) :: t()
```

# `scoord3d`

```elixir
@spec scoord3d(Dicom.SR.Code.t(), Dicom.SR.Scoord3D.t(), keyword()) :: t()
```

# `scoord`

```elixir
@spec scoord(Dicom.SR.Code.t(), Dicom.SR.Scoord2D.t(), keyword()) :: t()
```

# `tcoord`

```elixir
@spec tcoord(Dicom.SR.Code.t(), Dicom.SR.Tcoord.t(), keyword()) :: t()
```

# `text`

```elixir
@spec text(Dicom.SR.Code.t(), String.t(), keyword()) :: t()
```

# `time`

```elixir
@spec time(Dicom.SR.Code.t(), Time.t() | String.t(), keyword()) :: t()
```

# `to_item`

```elixir
@spec to_item(t()) :: map()
```

# `to_root_elements`

```elixir
@spec to_root_elements(t()) :: map()
```

# `uidref`

```elixir
@spec uidref(Dicom.SR.Code.t(), String.t(), keyword()) :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
