Re: [HAPI-devel] Error sending message

2014-06-26 Thread Sara Fatima
Hi Eric, Thank you for the guidelines. I followed your suggestions and added the missing fields in the HL7 message, this is the new message which is now created. MSH|^~\&|TestSendingSystem|OpenMRS|PAMSimulator|IHE|||ADT^A28^ADT_A05|20140627113226|P|2.5.1|123 > EVN||20140627113226|OpenMRS > >

Re: [HAPI-devel] Error sending message

2014-06-26 Thread Eric Poiseau
Sara Fatima You MSH is invalid. Please correct it as follow : MSH.9.1 is missing MSH4 is missing EVN segment is missing MSH|^~\&|TestSendingSystem|Put something here|PAMSimulator|here also|201406261200||ADT^A05^ADT_A05|20140626150246|P|2.5|123 PID||71|||Barber^Steve|^ABVGJ|&13 Par

[HAPI-devel] Error sending message

2014-06-26 Thread Sara Fatima
Hi, I am working on sending the HL7 message to PAM simulator , but I am facing the below error. I am unable to resolve this. > ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value > "MSH": Matches the regular expressi