Project

General

Profile

Actions

Feature #656

open

Add further UID prefixes?

Added by Jörg Riesmeier about 10 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
-
Start date:
2015-09-02
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata and others
Operating System:
Compiler:

Description

Currently, there are the following defines for UID sub-prefixes (in "dcuid.h"):

/// UID root for study instance UIDs
#define SITE_STUDY_UID_ROOT                     SITE_UID_ROOT ".1.2" 

/// UID root for series instance UIDs
#define SITE_SERIES_UID_ROOT                    SITE_UID_ROOT ".1.3" 

/// UID root for SOP instance UIDs
#define SITE_INSTANCE_UID_ROOT                  SITE_UID_ROOT ".1.4" 

However, there are many other use cases for generated UIDs like Frame of References, Dimensions, Dimension Organizations or Transactions. Wouldn't it, therefore, make sense to introduce further UID prefixes for these cases? At the moment, some developers use SITE_INSTANCE_UID_ROOT for this purpose, which is also the default value for dcmGenerateUniqueIdentifier(), and some use SITE_STUDY_UID_ROOT.

One could e.g. use <SITE_UID_ROOT ".2.1">, <SITE_UID_ROOT ".2.2">, etc. for this purpose. The deviating prefixes would also make sure that the "new" UIDs do not belong to the conventional Study-Series-Instance hierarchy.

Actions

Also available in: Atom PDF