title: How to generate unique DICOM UID?
body: <p>I am working on DICOM gated (PET) data.<br>
  I would like to artificially create a DICOM image series which includes gated data. I am inquiring on the increment values of SOPInstanceUID which labels each image slice in each phase or gate.</p>
  
  <p>These have different values for each slice in a gate and are incremented between gates but I can't find out the logic to how this value is chosen.</p>
  
  <p>Is there a reference to where and how these values are written?</p>