Too long SeriesInstanceUID

49 views
Skip to first unread message

nico.m...@gmail.com

unread,
Dec 29, 2023, 10:55:06 AM12/29/23
to RSNA MIRC CTP/TFS User Group
Hi,

I am building a pipeline to correct ultrasound images with burned in patient information.
I create copies of the series. In the  CTP pipeline I mask the patient information in the pixeldata. The copied series should end in the same study in PACS so I keep the Study UID and assign new series UID (0020,000E) and SOP Instance UIDs (0008,0018)
The first part of these UIDs is the InstanceCreatorUID.
I use the following script in 0008,0018:
@contents(InstanceCreatorUID)@hashuid(,this)

This works and creates a new UID.
The problem is that the InstanceCreatorUID is around 35 characters long and the hash creates a string of around 40 characters.
In total the string exceeds the maximum lengts of 64 caracters. This causes the PACS to reject the object.

Is there a wa to limit the string so it doesn't violate DICOM?

Kind regards
-N
Reply all
Reply to author
Forward
0 new messages