dcmjs icon indicating copy to clipboard operation
dcmjs copied to clipboard

Does dcmjs support the modification of DICOM file tags? And ,Is there any more detailed documentation about dcmjs?

Open Yuj1010 opened this issue 5 years ago • 1 comments
trafficstars

Yuj1010 avatar Jul 27 '20 01:07 Yuj1010

I'm afraid there's not much documentation beyond the examples. Contributions welcome of course 😉

Changing the tags is simply a matter of assigning values in the dataset object. They must be valid names and types from the data dictionary for a valid conversion back to part10 form.

Here's an example:

https://github.com/dcmjs-org/dcmjs/commit/c93d9589868fbbe48db37309c29b5f77fe4e76da#diff-7fa86cdeaa3213d2562386c2d3940a7a

pieper avatar Jul 27 '20 14:07 pieper