rbeckman-nextgen / test-mc2

0 stars 0 forks source link

DICOM vocabulary no longer available in Inbound/Outbound Message Template Trees #3733

Open rbeckman-nextgen opened 5 years ago

rbeckman-nextgen commented 5 years ago

In previous versions, when setting either an inbound or outbound message template for the DICOM data type, the tree on the Inbound/Outbound Message Template tab would show the vocabulary (i.e., field/tag names) for the various header elements of the DICOM message. This no longer appears to be happening in 3.3.1.

Steps to reproduce: 1) Create a new channel with DICOM as inbound data type. 2) Edit source transformer 3) On Message Templates tab, open a DICOM message as the template 4) Go to the Message Trees tab. Tags are displayed for the tree structure, but no names for the tags are provided.

Imported Issue. Original Details: Jira Issue Key: MIRTH-3873 Reporter: ericb Created: 2016-01-19T16:06:49.000-0800

rbeckman-nextgen commented 5 years ago

I think the culprit is this line in TreePanel, method processXmlElement: MirthTreeNode currentNode = new MirthTreeNode(((DataTypeClientPlugin)LoadedExtensions.getInstance().getDataTypePlugins().get(dataType)).getNodeText(this.vocabulary, element.getNodeName()));

getNodeText should be called with "element" instead of "element.getNodeName()" because that would call the overrriden method in DICOM datatype.

Imported Comment. Original Details: Author: schillert Created: 2019-04-01T06:48:49.000-0700