Could you not use HAPI for processing? That way you will be get to the fields in various segments.

Raja

On 24/08/2010 12:42 PM, Carlos Oliva wrote:

I am talking about the HL7 2.x XML representation because I wanted to have way to know which XML tags to look when I wanted to process this data.

The application will have local clients which will deal only with XML and remote clients with which the application will exchange data in HL7 format.

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; 'Sharma, Niranjan K (GE Healthcare)'; [email protected]
*Subject:* RE: [HAPI-devel] HAPI in JBoss

Carlos,

Are you talking about the HL7 2.x XML representation of HAPI? Or are you talking about an xml standard like HL7 3.x,CDA, CCR, CCD?

If it's HL7 2.x XML representation, you just need to parse the HL7 message using PipeParser, and then encode it using XMLParser.

Look at the parse and encode methods of these classes.

R,

rahul

*From:* Carlos Oliva [mailto:[email protected]]
*Sent:* Tuesday, August 24, 2010 8:18 AM
*To:* Sharma, Niranjan K (GE Healthcare); [email protected]
*Subject:* Re: [HAPI-devel] HAPI in JBoss

Thank you again. Is there a document explaining how the HL7 is translated into XML? That is how the HL7 segments, components, and subcomponents are relkated to the tags of the XML.

*From:* Sharma, Niranjan K (GE Healthcare) [mailto:[email protected]]
*Sent:* Monday, August 23, 2010 11:56 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:* Sharma, Niranjan K (GE Healthcare)
*Subject:* RE: [HAPI-devel] HAPI in JBoss

Hi Niranjan,

I am using JBoss 5..1 as a J2EE app server. I want to create a service that will translate xml to hl7 and vice versa.

I am looking to build an application that can use HAPI to do these translations in the J2EE container.

*From:* Sharma, Niranjan K (GE Healthcare) [mailto:[email protected]]
*Sent:* Friday, August 20, 2010 6:24 PM
*To:* Carlos Oliva; [email protected]
*Subject:* RE: [HAPI-devel] HAPI in JBoss

It is a regular java lib if you are using it in J2EE deployment.

If you are using JBOSS micro kernel osgi runtime then HAPI has a OSGI bundlehapi-base-osgi.jar.

Its upto you.

Whats your usecase?

Thanks.

Regards

-Niranjan.

*From:* Carlos Oliva [mailto:[email protected]]
*Sent:* Friday, August 20, 2010 1:56 PM
*To:* [email protected]
*Subject:* [HAPI-devel] HAPI in JBoss

Is there a sar, war, ear to incorporate HAPI into JBoss?


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d


_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to