Announcement

Collapse

NextGen Connect 3.10.1 Released!

NextGen (Mirth) Connect 3.10.1 is now available as an appliance update and on our GitHub page. This release contains bug fixes. See the release notes for the list of fixes.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Example Lab Report

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

  • #16
    That's the part I'm asking about. What html is Results supposed to contain after processing your sample hl7 message, including the OBR and NTE data? I'm not sure how I can help you if I can't figure out what you're trying to do, and you say the example I gave you doesn't help you.

    Comment


    • #17
      I have attached the channel i was working from, and the examples of the report before i tried the updated script you mentioned if it makes easier to replicate what i am seeing.

      I can get the NTE in a seperate script (shown below) but this doesnt flow with the results.

      var reportTxt = "";
      for each (seg in msg.children())
      {
      if (seg.name().toString() == "NTE")
      {
      reportTxt += "<tr>" + seg['NTE.3']['NTE.3.1'].toString().replace("<", "&lt;") + "</tr>";
      }
      }


      channelMap.put('text', reportTxt);
      Attached Files

      Comment

      Working...
      X