Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. 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

escaping special characters

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

  • escaping special characters

    I have an hl7 message comming in with a & in one of the fields. The MSH control character do not specify the & as a subcomponent. When Mirth encodes the message, it puts a & back in the msh header, but does not escape any occurance of a & character (\T\ I beleive). Do I have to turn something on, or do I need to write code specially for this case?

    example:

    Raw source:
    MSH|^~\|SF|CC|RF||20080302122630||ADT^A08|ADT88374 3990|P|2.1|||EVN|A08|20080302122630|PID|||906||EDM ^KGH^ADMIT|||F|||22ND STREET & birtch^^CITY^BC^X1X 1X1||250-555-5555|||M||EM000094/08||||PV1||R|EM^^||^|^^|ID^Last,Dr First M J^00204|^|^^|||||HC|^||^|ER||HP||||||||||||||||||| .||REG ER||20080226|200802261400||PV2|||NK1||||^^^^||GT1| ||||^^^^||||||||||||^^^^|IN1||MSP||MEDICAL SERVICES PLAN|BOX 9999^^CITY^BC^X1X 1X1||250-555-5555|||||||||||||||1||||||||||||||ZSR||||||||||||| |||||||||||^^^^|||||||||

    Encoded source:
    MSH|^~\&|SF|CC|RF||20080302122630||ADT^A08|ADT8837 43990|P|2.1|||EVN|A08|20080302122630|PID|||906||ED M^KGH^ADMIT|||F|||22ND STREET & birtch^^CITY^BC^X1X 1X1||250-555-5555|||M||EM000094/08||||PV1||R|EM^^||^|^^|ID^Last,Dr FirstM J^00204|^|^^|||||HC|^||^|ER||HP||||||||||||||||||| .||REG ER||20080226|200802261400||PV2|||NK1||||^^^^||GT1| ||||^^^^||||||||||||^^^^|IN1||MSP||MEDICAL SERVICES PLAN|BOX 9999^^CITY^BC^X1X 1X1||250-555-5555|||||||||||||||1||||||||||||||ZSR||||||||||||| |||||||||||^^^^|||||||||

  • #2
    Re:escaping special characters

    What version of mirth are you using? If you aren't using 1.7, please try it with that.
    Jacob Brauer
    Director, Software Development
    NextGen Healthcare

    sigpic

    Comment

    Working...
    X