From: Eric P. <eri...@in...> - 2014-06-27 06:30:10
|
Dear Sara Fatima please click on the menu "HL7 Messages" in the top bar. You will then see all the messages received by the simulators. Yours is : http://gazelle.ihe.net/PatientManager/message.seam?id=9757 There please look at the errors in your message in order to fix it. Your message being incorrect it is rejected, then not processed and the patient not inserted into the database. The first error is that your message is using version 2.5.1, we are expecting 2.5 as specified by the TF (http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_TF_Vol2b.pdf) Hope this helps Best regards Eric On 27 juin 2014, at 08:07, Sara Fatima wrote: > 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 > PID||62|~62||kapoor^ram|^India||||^BV|&address^^city^state^34566^country|||||^DIVORCED|||||||Hyd|||^India > > On sending this message to the PAMSimulator, I am getting below response, > MSH|^~\&|PAMSimulator|IHE|TestSendingSystem|OpenMRS|20140627080226||ACK^A28^ACK|20140627080226|P|2.5 > MSA|AE|20140627113226 > ERR|||207|E||||Message structure is not the one expected, event A28 should use ADT_A05 > > If the message is sent successfully then it should be found here. But here I cannot see the patient which I created, is it because of the Error field which is received as response? > > > Thanks & Regards > Sara Fatima > > > > On Thu, Jun 26, 2014 at 4:23 PM, Eric Poiseau <eri...@in...> wrote: > 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 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian > > I have started to use the Gazelle HL7 validator to fix your message please find the outcome at the following URL ; > > http://gazelle.ihe.net/EVSClient/hl7v2Result.seam?&oid=1.3.6.1.4.1.12559.11.1.2.1.4.66000 > > Let us know if you have further questions > > Best regards > > > > Eric Poiseau > IHE Europe Technical Project Manager > Gazelle Project Leader > INRIA Rennes > Campus Universitaire de Beaulieu > F-35042 Rennes Cedex FRANCE > Tel: +33 2 99 84 74 58 > Cell: +33 6 85 97 01 26 > http://www.ihe-europe.net follow us on linkedIn > > > > On 26 juin 2014, at 11:48, Sara Fatima wrote: > >> 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 expression (\+|\-)?\d*\.?\d*: Segment: ERR Field #2 >> at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1119) >> >> I am using this sample as helper code. I have committed the code to Git hub, for you to have a look. >> Here is where I am creating the HL7 message, and this is the code which I am using to send message to the PAMSimulator. >> >> This is the message which I am sending, >> MSH|^~\&|TestSendingSystem||PAMSimulator||||^A05^ADT A05|20140626150246|P|2.5.1|123 >> PID||71|||Barber^Steve|||||^ABVGJ|&13 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian >> >> Thanks & Regards >> Sara Fatima >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft_______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |