How can I edit value of a tag?
iamatsundere opened this issue · comments
simisimi commented
As the question, how can I edit the data in the tag value?
Benjamin Chenebault commented
I am also interested by this answer 😊
EDIT:
Actually you can perform that with the following snippet (no errecheck here)
tag, _ := dataset.FindElementByTag(tag.Tag{Group: 0x8, Element: 0x70})
tag.Value, _ = dicom.NewValue([]string{"MY NEW VALUE"})