Announcement

Collapse

NextGen (Mirth) Connect 3.10.0 Released!

NextGen (Mirth) Connect 3.10.0 is now available as an appliance update and on our GitHub page. This release includes better SQL Server database support, security improvements through fixes and library updates, and improvements for the Advanced Clustering plugin with a focus on improving performance of many of the tasks that are carried out on a frequent interval. See the release notes for the list of fixes and updates.

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

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

how to add a tag in hl7?

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

  • how to add a tag in hl7?

    HI! HOw can I write the javascript code to add a <CR> tag before each segment ends?
    e.g.
    MSH|^~\\&|PAHHIS||PACSRIS||200511080818||ADT^A04|2 23544|P|2.3|223544|<CR>|||
    EVN|A04|200511080817|<CR>
    PID|1|0217788|590683||TERESA TAMBUNAN|200109020000|F|4Y 2M||||||||||||||||||||||<CR>
    PV1|1||CPAE^ROOM125||||YPKM^PONG KWAI MENG - YPKM||||||||||||V1626672|||||||||||||||||||||||||2 00511080817|||||||||<CR>
    

    Can somebody please give me a sample code to test with, Thanks guys!!!

    Post edited by: shifting_18, at: 05/21/2007 00:01
    Tonet

  • #2
    Re:how to add a tag in hl7?

    The <CR> is the '\\r' byte:

    var msj="MSH|^~&|PAHHIS||PACSRIS||200511080818||ADT^A0 4|223544|P|2.3|223544|\\r";
    msj+="EVN|A04|200511080817|\\r";
    ...

    Comment


    • #3
      Re:how to add a tag in hl7?

      HI!
      The Hl7 is on the outgoing message. How can I make use of the message builder if I'll declare them as string in javascript?

      I also need to add <OxOb> before MSH. I really can't figure out on how to do this.. Can you please explain further? Thank you very much! This will be a great help!
      Tonet

      Comment

      Working...
      X