Project

General

Profile

Actions

Feature #796

open

Copy element value to another element (with a different tag)

Added by Jörg Riesmeier almost 8 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Category:
Library
Target version:
-
Start date:
2017-10-09
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

It would be nice if one could copy the value of one DICOM element to another element (with a different tag), e.g. RequestedProcedureID from the worklist to StudyID in the image. Currently, only a 1:1 copy of the entire DICOM data element is possible.

See this forum posting: http://forum.dcmtk.org/viewtopic.php?f=1&t=4638

One possible approach would be to introduce a new DcmElement::copyValueFrom() method. Another one would be to have something like DcmItem::insertElementWithTag(), which inserts a given data element into the item/dataset with a given attribute tag.

Actions

Also available in: Atom PDF