LEADTOOLS Support
Medical
Medical SDK Questions
Question on How to generate a Unique Identifier and add it to your DICOM DataSet
#1
Posted
:
Wednesday, September 5, 2018 8:39:27 AM(UTC)
Groups: Registered
Posts: 8
Thanks: 1 times
The topic described here
https://www.leadtools.co...it-to-your-DICOM-DataSetby Nick Villalobos seems like it might have a bug.
The code sample seems to be calling an extra call to x on line 23 because we already have a value for orgnum from GenerateNewUid in that code.
ds.InsertElementAndSetValue(DicomTag.SOPInstanceUID, GenerateNewUid(orgnum));
Does it look like a bug to anyone?
#2
Posted
:
Wednesday, September 5, 2018 9:03:50 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello Dan,
Thanks for catching that. It was probably a line that was included for testing in an actual project, but was never removed when creating the post. I'll go ahead and update the code snippet.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
1 user thanked Anthony Northrup for this useful post.
#3
Posted
:
Wednesday, September 5, 2018 9:30:51 AM(UTC)
Groups: Registered
Posts: 8
Thanks: 1 times
LEADTOOLS Support
Medical
Medical SDK Questions
Question on How to generate a Unique Identifier and add it to your DICOM DataSet
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.