Re: [HAPI-devel] Sending over MLLP

2014-06-09 Thread Jure Grom
Try http://hl7api.sourceforge.net/devbyexample.html , section "Sending and receiving". There you'll find http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html Regards, Jure Od: Sara Fatima [sara.mirz...@gmail.com] Poslano: ponedelje

Re: [HAPI-devel] TestPanel on mac won't open after last update of Java

2013-06-20 Thread Jure Grom
In latest java update (http://www.oracle.com/technetwork/java/javase/7u25-relnotes-1955741.html) are added new JAR Manifest attributes, i.e. permissions and some changes+recommendations regarding web start deployment. App that I'm working on stopped working with update 7_25, but works fine with

Re: [HAPI-devel] Retrieving Patient Name

2012-07-30 Thread Jure Grom
Your test message doesn't have segment separator (char \r at each line). Try with StringBuilder sb = new StringBuilder(); sb.append("MSH|^~\\&|IHE|EU-CAT2011|||20110307194153||RDE^O11|MSG3|P|2.6||UTF-8\r"); sb.append("PID|||A9283923889||Doe^John||196803

Re: [HAPI-devel] Re placing MLLP

2012-07-24 Thread Jure Grom
think REST POST should be fine. Maybe JSON with only primitives (String, List)? Regards, Jure Grom From: Jens Kristian Villadsen [mailto:j...@c3a.dk] Sent: Tuesday, July 24, 2012 10:39 AM To: christian ohr Cc: hl7api-devel@lists.sourceforge.net Subject: Re: [HAPI-devel] Re placing MLLP Interesting

[HAPI-devel] Parsing SIU^S13 v2.4 with defiend message structure

2012-06-27 Thread Jure Grom
nd appropriate message structure from MSH-9-3, should try parsing as MSH-9-3 is not valued. Then the result would be SIU_S12 instead of GenericMessage. Regards, Jure Grom -- Live Security Virtual Conference Exclusive l

Re: [HAPI-devel] This Parser and Library are Great! Quick (hopefully) Question Though!

2011-11-16 Thread Jure Grom
If you look at the MSH-8 (ADT^A08), there is no message structure component (3rd component of field). Therefore PipeParser looks up into ca.uhn.hl7v2.parser.eventmap.2.3.1.properties for appropriate message structure for ADT A08 event. There is mapping ADT_A08 => ADT_A01. That's why you get in

Re: [HAPI-devel] Support for multiple receiving multiple encodings

2011-10-05 Thread Jure Grom
I think running SimpleServer with system parameter '-Dca.uhn.hl7v2.llp.charset=UTF-8' will do the trick. Regards, Jure From: Jens Kristian Villadsen [mailto:j...@c3a.dk] Sent: Wednesday, October 05, 2011 1:48 PM To: hl7api-devel@lists.sourceforge.net Subject: [HAPI-devel] Support for multiple re

[HAPI-devel] ORL_O34 v2.5.1

2011-03-27 Thread Jure Grom
Hi! I have to parse ORL_O34 message in V2.5.1, but it seems like a bug in HAPI, because I get stack overflow exception. I've examined source code and found out that problem is at ca.uhn.hl7v2.parser.PipeParser.createStructureDefinition(PipeParser.java:279). I think the reason is cyclic definit