XML to JSON conversion using inbuild converters #5862
Replies: 3 comments 4 replies
-
Can you post a sample of I am not a DICOM expert. I can not answer your question, but a file will help an expert answer you. |
Beta Was this translation helpful? Give feedback.
-
Sample XML message: i want to covert to DICOM in destination and send in DICOM node. I'm using transformer as well: // convert template to a dcm4che DicomObject channelMap.put("mess", DICOMMESSAGE); Error Message : WARNING: Failed to parse C:\Program Files\Mirth Connect\appdata\temp\temp7350631049288511612tmp - skipped. |
Beta Was this translation helpful? Give feedback.
-
I am no expert but just looking at the error details and then looking at lines 111 and 110 it looks like dicomeBytes is a string representation and not a byteArray. From looking here: http://javadocs.mirthcorp.com/connect/3.0.0/user-api/com/mirth/connect/server/userutil/DICOMUtil.html I am not seeing a byteArrayToDicomObject that takes just a java string and boolean value. Think you may need to convert dicomBytes to a byte array and then pass it into the function. |
Beta Was this translation helpful? Give feedback.
-
Hi All, im new to Mirth connect.
i am working on a requirement to convert HL7 data to DICOM.
directly i could not find any approach. I tried first creating Hl7 to XML, it is successful.
but XML to DICOM conversion im facing problems.
im using SerializerFactory.getSerializer('DICOM').fromXML(msg);
File is empty always
Beta Was this translation helpful? Give feedback.
All reactions