Creating a UID Hierarchy

Developers often ask for advice on how to create their own UIDs and manage roots, so here is a suggested simple scheme.

UIDs

UIDs are fundamental to DICOM and have many uses, including there being a unique one for each SOP Class and for each Composite Instance and each Normalised Instance.