Re: [HAPI-devel] Hl7 over HTTP

2014-07-16 Thread James Agnew
This should be fairly simple, it just means that you have a version of slf4j-api that is too new (probably because HAPI is pulling it in). If you explicitly add a dependency in your pom.xml for slf4j-api the specifies a 1.5.x version (you should be able to find one in your OpenHIE pom) it'll use th

[HAPI-devel] Hl7 over HTTP

2014-07-16 Thread Sara Fatima
Hi all, I am working on sending hl7 message to OpenHIE over HTTP, I am using this example of HAPI. Since I am working with hapi v2.0 I have changed the below line of code > Parser parser = PipeParser.getInstanc

Re: [HAPI-devel] Is the following HL7 message correct?

2014-07-16 Thread James Agnew
Hi Rishi, This is really more of a question for OpenMRS. HL7 v2 is unfortunately not really a 100% "plug and play" standard, so just having technically valid HL7 content rarely means that you can be sure you have met the needs of any given application. In other worse, there are many fields in your

Re: [HAPI-devel] Implementing Zxx segments on A05

2014-07-16 Thread James Agnew
Ah, if you're dealing with the .NET library (NHapi) this is actually not the right list. Despite our similar names, the two projects are fairly unrelated these days. I believe NHapi has a web forum somewhere (at least they did at one point), it might be worth asking this question there. Cheers, Ja

Re: [HAPI-devel] Implementing Zxx segments on A05

2014-07-16 Thread Sheridan Paul (RBV) NHS Christie Tr
Thanks for this, seems that this aspect of hapi didn’t make it into the .net port – I’ll keep digging, thanks. P. From: James Agnew [mailto:[email protected]] Sent: 15 July 2014 17:07 To: Sheridan Paul (RBV) NHS Christie Tr Cc: [email protected] Subject: Re: [HAPI-devel] Imple

[HAPI-devel] Is the following HL7 message correct?

2014-07-16 Thread Rishi Baijal
I have an application that posts HL7 messages to OpenMRS. The message built is as follows: MSH|^~\&|MedAssist|OpenMRS|AUSDVA|OpenMRS|20140716150602||ORU^R01|20140716150602|P|2.5|1 PID|||2||Patient^John OBR|1||1234^SensorReading|88304 OBX||NM|1||45||C OBX||NM|2||34||C OBX||NM|3||23||C