# `Dicom.UID`
[🔗](https://github.com/Balneario-de-Cofrentes/dicom/blob/v0.5.1/lib/dicom/uid.ex#L1)

DICOM UID constants for SOP Classes and Transfer Syntaxes.

Reference: DICOM PS3.4 (SOP Classes) and PS3.5 (Transfer Syntaxes).

# `basic_text_sr_storage`

# `comprehensive_sr_storage`

# `cr_image_storage`

# `ct_image_storage`

# `deflated_explicit_vr_little_endian`

# `dx_image_storage`

# `encapsulated_pdf_storage`

# `enhanced_ct_image_storage`

# `enhanced_mr_image_storage`

# `enhanced_sr_storage`

# `explicit_vr_big_endian`

# `explicit_vr_little_endian`

# `generate`

```elixir
@spec generate() :: String.t()
```

Generates a unique DICOM UID.

Uses the library's org root followed by a timestamp and random component.
The result is guaranteed to be <= 64 characters.

# `implicit_vr_little_endian`

# `jpeg_2000`

# `jpeg_2000_lossless`

# `jpeg_baseline`

# `jpeg_extended`

# `jpeg_lossless`

# `jpeg_lossless_first_order`

# `jpeg_ls_lossless`

# `jpeg_ls_lossy`

# `modality_worklist_find`

# `mr_image_storage`

# `nm_image_storage`

# `patient_root_qr_find`

# `patient_root_qr_get`

# `patient_root_qr_move`

# `rle_lossless`

# `rt_dose_storage`

# `rt_plan_storage`

# `rt_structure_set_storage`

# `sc_image_storage`

# `segmentation_storage`

# `storage_sop_class?`

```elixir
@spec storage_sop_class?(String.t()) :: boolean()
```

Returns true if the UID represents a storage SOP class.

Delegates to `Dicom.SOPClass.storage?/1` for accurate O(1) lookup
against the full registry of storage SOP classes.

# `study_root_qr_find`

# `study_root_qr_get`

# `study_root_qr_move`

# `transfer_syntax?`

```elixir
@spec transfer_syntax?(String.t()) :: boolean()
```

Returns true if the UID represents a known transfer syntax.

Uses the `Dicom.TransferSyntax` registry for authoritative O(1) lookup.

# `us_image_storage`

# `valid?`

```elixir
@spec valid?(String.t()) :: boolean()
```

Validates a DICOM UID format.

Per PS3.5 Section 9: UIDs are max 64 characters, contain only digits and dots,
no leading zeros in components (except "0" itself), and must have at least
two components.

# `verification_sop_class`

---

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