[HL7ServerService] Processing HL7 failed:
HL7Exception: Missing required PID-5: Patient Name
I am trying to build an HL7 message from mysql database using outbound channel. I am sucessfull in creating an HL7 message, but I get the above error and while analysing the HL7 message last name is not created in the HL7 message along with the first name.
MSH|^~\&|Mirth|1|||2006044535||ADT^A04|b88d3e9a-ac2d-480e-af7e-921f2020e6f6|D|2.3.1
EVN|A04|20060404090742
PID|1|2000^^^Mirth^PN|999945682^^^AccMgr^MR^1||^Sa thish||1978-06-07|M||W|Chennai^^EAST SYRACUSE^NY^130570000^^M|31|25594003|9444244300|E| ||6635130^^^Mirth^VN^1|29203029329|||2|||||NOT A VETERAN|||N
PD1||||1335^ALCOTT^KAREN^^^^^^AccMgr^^^^CI|||I
NK1|1|TEST^MARGARET|W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||Y
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
PV2||^NO||||||20060404090500|||||||||||||||||||||| ||||||||S
DG1|1||^HEADACHE|HEADACHE||A|||||||||0
GT1|1|382582|TEST^PATIENT MF||21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||19570414|M|||000987655|||| ||||11
IN1|1|SELF PAY NYS|734|SELF PAY NYS|||||||||||5|TEST^PATIENT MF|1|19570414|21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||||||||||||||||||||||11|M|| ||||382582
IN1|2|SELF PAY|705|SELFPAY|||||||||||5||1
IN2|1||000987655
From
Ganesh Kumar.K
HL7Exception: Missing required PID-5: Patient Name
I am trying to build an HL7 message from mysql database using outbound channel. I am sucessfull in creating an HL7 message, but I get the above error and while analysing the HL7 message last name is not created in the HL7 message along with the first name.
MSH|^~\&|Mirth|1|||2006044535||ADT^A04|b88d3e9a-ac2d-480e-af7e-921f2020e6f6|D|2.3.1
EVN|A04|20060404090742
PID|1|2000^^^Mirth^PN|999945682^^^AccMgr^MR^1||^Sa thish||1978-06-07|M||W|Chennai^^EAST SYRACUSE^NY^130570000^^M|31|25594003|9444244300|E| ||6635130^^^Mirth^VN^1|29203029329|||2|||||NOT A VETERAN|||N
PD1||||1335^ALCOTT^KAREN^^^^^^AccMgr^^^^CI|||I
NK1|1|TEST^MARGARET|W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||Y
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
PV2||^NO||||||20060404090500|||||||||||||||||||||| ||||||||S
DG1|1||^HEADACHE|HEADACHE||A|||||||||0
GT1|1|382582|TEST^PATIENT MF||21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||19570414|M|||000987655|||| ||||11
IN1|1|SELF PAY NYS|734|SELF PAY NYS|||||||||||5|TEST^PATIENT MF|1|19570414|21 PALM MANOR^^EAST SYRACUSE^NY^130570000|||||||||||||||||||||||11|M|| ||||382582
IN1|2|SELF PAY|705|SELFPAY|||||||||||5||1
IN2|1||000987655
From
Ganesh Kumar.K
Comment