简体   繁体   English

后缀是否符合 UUID 派生的 DICOM UID 标准?

[英]Is suffixing a UUID derived DICOM UID standard conform?

Additional discussion on the comp.protocols.dicom google group . 关于 comp.protocols.dicom google group 的其他讨论


Specific example:具体例子:

Given that instance UIDs are derived from UUIDs as described in PS3.5 B.2 .鉴于实例 UID 是从 UUID 派生的,如PS3.5 B.2 中所述

For example given the following DICOM instance UID:例如,给定以下 DICOM 实例 UID:

2.25.329800735698586629295641978511506172918

Is it standard conform to suffix that UID by adding additional components?通过添加附加组件是否标准符合该 UID 的后缀?

2.25.329800735698586629295641978511506172918.1, 
2.25.329800735698586629295641978511506172918.2, 
...

Concern:忧虑:

From reading the standard, I somehow got the impression that the DICOM standard defines this form of UID only as valid if it only consists of the 2.25 prefix and the decimal representation of a valid UUID - and nothing more:通过阅读标准,我以某种方式得到的印象是,DICOM 标准仅将这种形式的 UID 定义为有效,前提是它仅包含2.25前缀和有效 UUID 的十进制表示——仅此而已:

ISO/IEC 9834-8 / ITU-T X.667 defines a method by which a UID may be constructed from the root "2.25." ISO/IEC 9834-8 / ITU-T X.667定义了一种方法,通过该方法可以从根“2.25”构建 UID。 followed by a decimal representation of a Universally Unique Identifier (UUID).后跟通用唯一标识符 (UUID) 的十进制表示。 That decimal representation treats the 128 bit UUID as an integer, and may thus be up to 39 digits long (leading zeros must be suppressed).该十进制表示将 128 位 UUID 视为整数,因此可能长达 39 位(必须抑制前导零)。

It does not explicitly say if there can be a suffix or not.它没有明确说明是否可以有后缀。

It has a max length of 5 + 39 characters and therefore has still some room until the 64 character limit of UIDs.它的最大长度为 5 + 39 个字符,因此在 UID 的 64 个字符限制之前仍有一些空间。

Do all rules from PS3.5 9.1 still apply to the UID definition of PS3.5 B.2 just with a fixed root? PS3.5 9.1 中的所有规则是否仍然适用于具有固定根的PS3.5 B.2的 UID 定义? Or is PS3.5 B.2 an independent definition?还是PS3.5 B.2是一个独立的定义?


Additional information on UUID derived UIDs:有关 UUID 派生 UID 的其他信息:

As far as I understand the DICOM standard, PS3.5 B.2 was added 2012 and is an exception to the normal UID definition defined by PS3.5 9.1 and PS3.5 B.1 .据我了解 DICOM 标准, PS3.5 B.2是在 2012 年添加的,是PS3.5 9.1PS3.5 B.1定义的正常 UID 定义的一个例外。 It does not require an organisation root prefix.它不需要组织根前缀。 Instead it uses the general prefix 2.25 for all instance UIDs which are derived from UUIDs.相反,它为所有从 UUID 派生的实例 UID 使用通用前缀2.25 Important to note here, that it should only be used for instance UIDs.重要的是要注意,它应该只用于实例 UID。 See:看:

A UUID derived UID may be appropriate for dynamically created UIDs, such as SOP Instance UIDs, but is usually not appropriate for UIDs determined during application software design, such as private SOP Class or Transfer Syntax UIDs, or Implementation Class UIDs. UUID 派生的 UID 可能适用于动态创建的 UID,例如 SOP 实例 UID,但通常不适用于应用软件设计期间确定的 UID,例如私有 SOP 类或传输语法 UID,或实现类 UID。

As an additional pointer to this exception ( source ):作为指向此异常的附加指针 ( source ):

Another approach to generating UIDs that does not require obtaining one's own root prefix can take advantage of a standard prefix established for using a Universally Unique Identifier (UUID) [...] in essence it involves converting the normal hyphenated hexadecimal string form of a UUID into a single large decimal number and appending it to the prefix "2.25."另一种不需要获取自己的根前缀的 UID 生成方法可以利用为使用通用唯一标识符 (UUID) [...] 建立的标准前缀,本质上它涉及转换 UUID 的正常连字符十六进制字符串形式成一个大十进制数并将其附加到前缀“2.25”。

Absolutely not.绝对不。

You cannot add anything as a suffix to 2.25 + UUID.您不能添加任何内容作为 2.25 + UUID 的后缀。

I don't think it's conformant to modify an existing UUID derived UID, and even if it were that it'd be a bad idea to do so.我不认为修改现有的 UUID 派生的 UID 是符合要求的,即使这样做也是一个坏主意。 The expectation is that an UID with the 2.25.期望是带有2.25.的 UID 2.25. prefix is followed by a component value that can be coverted to a UUID.前缀后跟可以转换为 UUID 的组件值。

The use of 2.25. 2.25.的使用2.25. + UUID is a registered OID . + UUID 是注册的 OID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM