Dicom.UID (Dicom v0.9.1)

Copy Markdown View Source

DICOM UID constants for SOP Classes and Transfer Syntaxes.

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

Summary

Functions

basic_text_sr_storage()

chest_cad_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()

@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()

key_object_selection_document_storage()

mammography_cad_sr_storage()

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?(uid)

@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?(uid)

@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?(uid)

@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()

xray_radiation_dose_sr_storage()