I have a question regarding the format used in composing messages with multple segments with the same name such as ADT-A17 and ADT-A37. I thought that the labels were the same, but when sent to mirth, i get this:
ERROR-301: Transformer conversion error
ERROR MESSAGE: Error adapting message
what i sent (simply as a test) was:
MSH|^~\\&|Mirth|1|||2006044535||ADT^A37|603340|D|2 .3.1
EVN|A04|20060404090742
PID|1|800888^^^Mirth^PN|999945682^^^AccMgr^MR^1||T EST^PATIENT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M|||6635130^^^Mirt h^VN^1|000987655|||2|||||NOT A VETERAN
PV1|1|E|ED^^^1|1|||1281^MARKHAM^JOSEPH^^^^^^AccMgr ^^^^CI|1281^LANG^JOE^^^^^^Mirth^^^^CI||ED||||7|S|| |62|6635130^^^AccMgr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
PID|2|11111^^^Mirth^PN|999945682^^^AccMgr^MR^1||TE ST^PATIENT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M|||6635130^^^Mirt h^VN^1|000987655|||2|||||NOT A VETERAN
PV1|2|E|ED^^^1|1|||1281^MARKHAM^JOSEPH^^^^^^AccMgr ^^^^CI|1281^LANG^JOE^^^^^^Mirth^^^^CI||ED||||7|S|| |62|6635130^^^AccMgr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
However, when i checked the raw message tab in mirth, it had the abouve message plus an added three lines attached to the bottom that were not in the message i sent:
PID22|2|11111^Mirth^PN|999945682^AccMgr^MR^1||TEST ^PATIENT MF||19570414|M||W|21 PALM MANOR^EAST SYRACUSE^NY^130570000^M|31|||E|M|||6635130|0009876 55|||2|||||NOT A VETERAN
PD122
PV122|2|E|ED^1|1|||1281^MARKHAM^JOSEPH^AccMgr^CI|1 281^LANG^JOE^Mirth^CI||ED||||7|S|||62|6635130^AccM gr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
I'm pretty sure this is a simple message formatting problem, but i'm new to HL7 and mirth so any help would be greatly appreciated. A sample of a correct ADT-A37 or A17 would help alot as well.
~Patrick
ERROR-301: Transformer conversion error
ERROR MESSAGE: Error adapting message
what i sent (simply as a test) was:
MSH|^~\\&|Mirth|1|||2006044535||ADT^A37|603340|D|2 .3.1
EVN|A04|20060404090742
PID|1|800888^^^Mirth^PN|999945682^^^AccMgr^MR^1||T EST^PATIENT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M|||6635130^^^Mirt h^VN^1|000987655|||2|||||NOT A VETERAN
PV1|1|E|ED^^^1|1|||1281^MARKHAM^JOSEPH^^^^^^AccMgr ^^^^CI|1281^LANG^JOE^^^^^^Mirth^^^^CI||ED||||7|S|| |62|6635130^^^AccMgr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
PID|2|11111^^^Mirth^PN|999945682^^^AccMgr^MR^1||TE ST^PATIENT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M|||6635130^^^Mirt h^VN^1|000987655|||2|||||NOT A VETERAN
PV1|2|E|ED^^^1|1|||1281^MARKHAM^JOSEPH^^^^^^AccMgr ^^^^CI|1281^LANG^JOE^^^^^^Mirth^^^^CI||ED||||7|S|| |62|6635130^^^AccMgr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
However, when i checked the raw message tab in mirth, it had the abouve message plus an added three lines attached to the bottom that were not in the message i sent:
PID22|2|11111^Mirth^PN|999945682^AccMgr^MR^1||TEST ^PATIENT MF||19570414|M||W|21 PALM MANOR^EAST SYRACUSE^NY^130570000^M|31|||E|M|||6635130|0009876 55|||2|||||NOT A VETERAN
PD122
PV122|2|E|ED^1|1|||1281^MARKHAM^JOSEPH^AccMgr^CI|1 281^LANG^JOE^Mirth^CI||ED||||7|S|||62|6635130^AccM gr^VN^1|865^SP KOPP|||||||||||||||||||1||A||||20060404090500
I'm pretty sure this is a simple message formatting problem, but i'm new to HL7 and mirth so any help would be greatly appreciated. A sample of a correct ADT-A37 or A17 would help alot as well.
~Patrick
Comment