How to generate unique DICOM UID?

Multiple algorithms to generate DICOM UID are explained in this answer with their drawbacks. As per DICOM specifications, all UIDs including SOPInstanceUID in question should be unique. This is irrelevant to what data (gated PET data or other) you are working on. Following is from specifications: 2017a Part 5 – Data Structures and Encoding (9 … Read more