rbeckman-nextgen / test-mc3

0 stars 0 forks source link

Unexpected results using template ${DICOMMESSAGE} with non-pixel data DICOM #4256

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

When converting JSON to a 12 Lead ECG DICOM object using a destination transformer Mirth returns the base64 encoded JSON (raw Data) instead of the DICOM (encoded Data). The problem originates from line 72 in DICOMMessageUtil where - in the case of no attachments present - rawData is returned. It would be better to return encodedData - should it exist. Currently I use template message.encodedData to bypass the problem but I think DICOMMESSAGE should deliver correct results.

Imported Issue. Original Details: Jira Issue Key: MIRTH-4400 Reporter: schillert Created: 2019-03-29T04:14:13.000-0700

rbeckman-nextgen commented 4 years ago

Sorry - it should read "base64 decoded JSON"

Imported Comment. Original Details: Author: schillert Created: 2019-03-29T04:23:23.000-0700