How to create a unique DICOM UID?

I am working on DICOM gated (PET) data.
I would like to artificially create a series of DICOM images that includes gated data. I am requesting SOPInstanceUID increment values ​​that put each image slice in each phase or shutters.

They have different values ​​for each slice in the gate and increase between the gates, but I can not determine the logic for choosing this value.

Is there a link to where and how these values ​​are written?

+2
source share
1 answer

Several algorithms for generating a DICOM UID are explained in this answer with their drawbacks.

DICOM, UID, SOPInstanceUID, . , ( PET ).

:

2017a 5 - (9 (UID))

(UID) . , , . , DICOM .

UID :

  1. :
    UID . , . - , . , .

  2. :
    , , .

UID DICOM:

  1. <= 64 ,
  2. 0-9
  3. "" ( ) ( )
  4. - :
    • .
    • ( !) UID.
    • , UID , KIN .. UID ( !)
  5. , , UID , UID UID ( UID UID , , )
  6. UID, :
    • ( UID + ,
    • , UID > 1 ,
    • , UID .
    • - - , 20060724.093017 20060724093017

.


DICOM UID. , .

2017a 5 - (B ( ))

B.1 UID, :

, UID SOP.

"1.2.840.xxxxx.3.152.235.2.12.187636473"

:

  • 1 ISO
  • 2 - ANSI
  • 840 - ( ANSI)
  • xxxxx . ( ANSI)

:

  • 3
  • 152 ,

:

  • 235
  • 2
  • 12
  • 187636473

, . . , , , , timestamp , , . - , DICOM UID, - UID UID .

2017a 5 - (B ( ))

B.2 UUID UID:

UID "2.25". (UUID). 128- UUID , , 39 ( ).
UUID UID UID, UID SOP, UID, , UID SOP UID .

+10

All Articles