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.
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