Re: [HAPI-devel] OBX data value problems

2014-11-24 Thread Juan Carlos Rodríguez
I have found the problem. The problem was mine not the API. Sorry De: Juan Carlos Rodríguez [mailto:[email protected]] Enviado el: lunes, 24 de noviembre de 2014 17:23 Para: [email protected] Asunto: [HAPI-devel] OBX data value problems Hi, I have a

[HAPI-devel] OBX data value problems

2014-11-24 Thread Juan Carlos Rodríguez
!! Juan Carlos Rodríguez <mailto:[email protected]> j.rodriguez <mailto:[email protected]> @necsia.es <http://www.necsia.es/> Almogàvers 119-123. 3ª planta 08018 Barcelona T +34 932 521 285 <http://www.necsia.es/> www.necsia.es <http://www.linkedin

[HAPI-devel] HAPI - Parse error

2013-03-21 Thread Juan Carlos Rodríguez
g = (ORU_R01) parser.parse(msg); ... Where is the error? Thanks a lot, Juan Carlos -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for f

Re: [HAPI-devel] HL7 > Charset problems

2013-02-13 Thread Juan Carlos Rodríguez
. Thanks, Juan Carlos El mar, 12-02-2013 a las 19:51 +0100, Jens Villadsen escribió: > Please provide a stacktrace and version of HAPI > > > > On 12 February 2013 17:17, Juan Carlos Rodríguez > wrote: > > Hi, > > when I send a HL7 m

Re: [HAPI-devel] HL7 > Charset problems

2013-02-12 Thread Juan Carlos Rodríguez
2.0 ca.uhn.hapi hapi-hl7overhttp 2.1-alpha1 Thanks, Juan Carlos El mar, 12-02-2013 a las 19:51 +0100, Jens Villadsen escribió: > Please provide a stacktrace and version of HAPI > > > > On 12 February 2013 17:

[HAPI-devel] HL7 > Charset problems

2013-02-12 Thread Juan Carlos Rodríguez
Hi, when I send a HL7 message with the HL7simulator I have the following error: java.nio.charset.IllegalCharsetNameException: "iso-8859-1" How I put the correct charset (iso-8859-1) ?? Thanks Juan Carlos --

Re: [HAPI-devel] Question about HL7 over HTTP

2013-02-05 Thread Juan Carlos Rodríguez
Hi guys, I managed to solve the problem! Thank you very much for your help! Juan Carlos El lun, 04-02-2013 a las 12:32 -0500, James Agnew escribió: > Hi Juan, > > > > Ok, one more option if you wanted to do a bit of testing. I've added a > bunch more TRACE level log

[HAPI-devel] Error sending a HL7 message

2013-02-04 Thread Juan Carlos Rodríguez
! -- Un saludo, JUAN CARLOS RODRÍGUEZ RAYO [email protected] Almogàvers 119-123. 3ª planta 08018 Barcelona T +34 932 521 285 www.necsia.es AVISO DE CONFIDENCIALIDAD: Tanto este mensaje como todos los posibles documentos adjuntos al mismo son confidenciales y están dirigidos

Re: [HAPI-devel] Question about HL7 over HTTP

2013-02-01 Thread Juan Carlos Rodríguez
; produces the follow error: 17965 [main] INFO ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder - Read -1 from input stream, closing it ca.uhn.hl7v2.hoh.api.DecodeException: Failed to decode CHUNKED encoding What's the problem? The ADT message is incorrec

Re: [HAPI-devel] Question about HL7 over HTTP

2013-02-01 Thread Juan Carlos Rodríguez
.html#Receiving_Messages. I deploy my application and when in the URL set http://localhost://hl7list generates the error (GET method is not supported). With this is sufficient? Or I need implement a socket to wait messages? Thanks for all and sorry for my English. Juan Carlos El jue, 31-01-2013 a l

[HAPI-devel] Question about HL7 over HTTP

2013-01-31 Thread Juan Carlos Rodríguez
for all and regards! -- Un saludo, JUAN CARLOS RODRÍGUEZ RAYO [email protected] Almogàvers 119-123. 3ª planta 08018 Barcelona T +34 932 521 285 www.necsia.es AVISO DE CONFIDENCIALIDAD: Tanto este mensaje como todos los posibles documentos adjuntos al mismo son confidenciales y están

Re: [HAPI-devel] reading HL7 generically

2013-01-10 Thread Carlos Oliva
How would you examine repetitive segments with the Preparser? To carry out a completely generic parsing, one could retrieve data with the preparser like Christian mentioned. One problem might be with several instances of the same segment in one message. How would you retrieve the fields from

Re: [HAPI-devel] Datatpe RP in OBX spews an error

2012-12-03 Thread Carlos Oliva
are using? Can you provide the complete message? Is there a more detailed stacktrace? RP did not exist until HL7 v2.3, but with later versions I had no problems when I pasted the segment into a ORU msg. cheers Christian Carlos Oliva-3 wrote: > > Is there a way in which I can exclude some dat

Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-28 Thread Carlos Oliva
in the ORU message? Maybe you can then use something like int count = oruMsg.getPATIENT_RESULT(0).getORDER_OBSERVATIONReps() This should also be stable across hl7 versions. cheers Christian Carlos Oliva-3 wrote: > > How can the Terser obtain the total number of ORC and OBR segments in

[HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-26 Thread Carlos Oliva
How can the Terser obtain the total number of ORC and OBR segments in an ORU message? I know how to use the Terser to get values from elements, components, and subcomponents of individual ORC and OBR segments by appending the number of the segment to the name of the segment. Nevertheless, before l

[HAPI-devel] Datatpe RP in OBX spews an error

2012-11-19 Thread Carlos Oliva
Is there a way in which I can exclude some data types or segments from the validation? I am getting some ORU messages with a data type RP in one of the OBX segments. The parser spews an error when it tries to parse the segment. I have found very little information about the data type RP. This i

[HAPI-devel] Validation of messages with "custom" components

2012-08-09 Thread Carlos Oliva
How can I validate a message containing custom components? One of our partners sends HL7 messages with custom components that depart from the HL7 standard. The default validator catches this violation of the standard and spewes out the exception. Could I configure the validator so it skips the f

Re: [HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
I think that I got it. I forgot to press HL7 after creating the report. From: Jens Kristian Villadsen [mailto:[email protected]] Sent: Monday, July 30, 2012 11:49 AM To: Carlos Oliva Cc: HAPI Devel List Subject: Re: [HAPI-devel] Retrieving Validation Errors Using Message Workbench is the

Re: [HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
Workbench created. From: Jens Kristian Villadsen [mailto:[email protected]] Sent: Monday, July 30, 2012 11:07 AM To: Carlos Oliva Cc: HAPI Devel List Subject: Re: [HAPI-devel] Retrieving Validation Errors Nope - it's not entirely valid. I've attached a valid example profile you could h

Re: [HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
the classpath From: Jens Kristian Villadsen [mailto:[email protected]] Sent: Monday, July 30, 2012 9:24 AM To: Carlos Oliva Cc: HAPI Devel List Subject: Re: [HAPI-devel] Retrieving Validation Errors Either way, I chose to extend the ca.uhn.hl7v2.conf.check.DefaultValidator from where you can

Re: [HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
I would like to use the StaticDef that the parser encode method uses rather than importing one from somewhere else. How can I use the default StaticDef of the parser encode method? From: Jens Kristian Villadsen [mailto:[email protected]] Sent: Monday, July 30, 2012 7:54 AM To: Carlos Oliva Cc: HAPI

Re: [HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
, 2012 7:28 AM To: Carlos Oliva Cc: HAPI Devel List Subject: Re: [HAPI-devel] Retrieving Validation Errors You can match a message against a RuntimeProfile (containing a StaticDef) by comparing the message type, the event type and the version (and also the structure id if you like). 2012/7/30

[HAPI-devel] Retrieving Validation Errors

2012-07-30 Thread Carlos Oliva
How can I retrieve all the validation errors of an ORU message? The parser retrieves only the first validation error in a HL7Exception. The DefaulValidator requires a StaticDef profile. Is there a way to get the profile of the ORU message? I looked at the TestPanel program but it is difficult t

Re: [HAPI-devel] Replacing MLLP

2012-07-23 Thread Carlos Oliva
Completely agree with you Rahul. From: Rahul Somasunderam [mailto:[email protected]] Sent: Monday, July 23, 2012 12:52 PM To: James Agnew Cc: HAPI Devel List Subject: Re: [HAPI-devel] Replacing MLLP I would love that (HTTP/RESTish). That makes a lot of things easier. Add to the l

Re: [HAPI-devel] Message encoding

2012-04-25 Thread Carlos
Hi, Which version of HAPI has this fix? How is it used? Thanks >James Agnew writes: > > > > Hi Fernando,I've made a fix to the next version of HAPI which will allow you to set text encoding on XML messages. This should be available within the next 2 weeks.James > > > On Fri, Jan 30, 2009 a

[HAPI-devel] XML encofing

2012-04-23 Thread Carlos Oliva
How do I add the encoding="UTF-8" to the header of the xml string that XMLParser creates from an HL7 message? From an hl7 message, I can create an xml string with the following code: ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator hismi = new ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator(new Fil

[HAPI-devel] About how to send Ñ character

2011-09-02 Thread Carlos Villanueva y Simón
Hi. My name is Carlos. I have problems trying send the "Ñ" character in HL7. Anyone knows something about that, or had the same problem? Thanks. -- Special Offer -- Download ArcSight Logger for FREE!

Re: [HAPI-devel] HAPI in JBoss

2010-08-24 Thread Carlos Oliva
. I was planning to convert the HL7 to XML before sending the data to local clients for further processing so that within the application the data handling is done on xml only. From: rahul somasunderam [mailto:[email protected]] Sent: Tuesday, August 24, 2010 1:35 PM To: Carlos Oliva

Re: [HAPI-devel] HAPI in JBoss

2010-08-24 Thread Carlos Oliva
AM To: Carlos Oliva; [email protected] Subject: RE: [HAPI-devel] HAPI in JBoss Then just use it as a regular Java Library. See examples in HAPI code base for how to use Hapi for XML-HL7. From: Carlos Oliva [mailto:[email protected]] Sent: Monday, August 23, 2010 5:11 AM To

[HAPI-devel] HAPI in JBoss

2010-08-20 Thread Carlos Oliva
Is there a sar, war, ear to incorporate HAPI into JBoss? -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev __