Announcement

Collapse
No announcement yet.

DICOM XML to JSON

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DICOM XML to JSON

    Hi
    I'd like to transform a DICOM transformed XML , by mirth itself, to a JSON object
    I try to use:

    var xmlObject=connectorMessage.getTransformedData();

    logger.info("json data:" + JSON.stringify(xmlObject));

    But I obtain the same xml object .
    Is that possible or I need some other Xml to Json transformer ?
    Using 3.4.1.8057 version of mirthconnect
    Thank you
    Paolo
    Last edited by marcheschi; 07-15-2016, 09:11 AM. Reason: Using 3.4.1.8057 version of mirthconnect

  • #2
    short answer - Yes!

    It's a 2 step process. First, extract from XML, and then construct your JSON.
    HL7v2.7 Certified Control Specialist!

    Comment

    Working...
    X