Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OID equivalents of UUID() and STRUUID() #204

Open
ebremer opened this issue Oct 9, 2024 · 0 comments
Open

OID equivalents of UUID() and STRUUID() #204

ebremer opened this issue Oct 9, 2024 · 0 comments

Comments

@ebremer
Copy link

ebremer commented Oct 9, 2024

Why?

Some standards and systems like to use OIDs such as DICOM

The OID form of a UUID is shown here
Where the hexidecimal UUID is appended to "2.25." in decimal (base 10) form with nothing but numbers (no dashes).

Previous work

Similar to UUID() and STRUUID()

Proposed solution

Take UUID "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"

In OID world would be:

OIDUUID() -> "urn:oid:2.25.329800735698586629295641978511506172918"

STROIDUUID() -> "2.25.329800735698586629295641978511506172918"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant