Announcement

Collapse
No announcement yet.

Problem changing namespace

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

  • Problem changing namespace

    Hi, we have a channel set up that receives a HL7 messages and outputs it in XML, but we are having problems with the namespace, the namespace we need to appear is the following

    <ORU_R01 xmlns="urn:hl7-org:v2xml">

    But when we try and set the namespace using the following code

    var ns = new Namespace('urn:hl7-org:v2xml');
    tmp.setNamespace(ns);

    The following appears

    <e4x_0:ORU_R01 xmlns:e4x_0="urn:hl7-org:v2xml">

    We have strip namespaces ticked because we are using an outbound template.

    We are using Mirth Connect Server 2.2.1.5861

    If anyone could point us in the right direction that would be great

    Thanks

  • #2
    Hi, I'm just wondering can anyone help me please

    Comment


    • #3
      Hi Hse123,

      what config got your outbound template, HL7 or XML?. If HL7 change it to XML. Never saw that results before! :S

      HTH,

      Ricard Bernat

      Comment


      • #4
        Hi my outbound template is XML, here is a copy of the channel and a test message, and help would be greatly appricated.

        Regards
        [ATTACH]test_message.txt[/ATTACH]
        Attached Files

        Comment

        Working...
        X