Hi Jake,

You'll find two techniques for dealing with multiple versions under
"handling multiple versions" here:
http://hl7api.sourceforge.net/devbyexample.html

I'm not sure I understand your second question though. What type of
"handling" do you need to do?

Cheers,
James

On Wed, Jul 27, 2011 at 8:46 PM, Jake C <buddhabu...@hotmail.com> wrote:

>  I see a few requests in the archive about how to convert messages between
> different versions of HL7, but so far, no replies to any of them.
>
> I have a similar need. I need to communicate with different applications,
> and I will not be able to dictate which version of HL7 they use. I also do
> not want to have to program to all the different versions of HL7. I would
> like to be able to accept a message in any version of HL7, but only have to
> manipulate a single version. For example, in my test application, I convert
> to a ca.uhn.hl7v2.model.v26.message.ORU_R01, and get my Provider information
> from ca.uhn.hl7v2.model.v26.datatype.XPN, and I don't want to have to write
> a conversion method for all other versions, just 2.6.
>
> Once I have THAT accomplished, I will also need to do some manipulation on
> a per-application basis, and I was wondering if there was a "typical" way
> that was accomplished.
>
> One method I have heard of is to convert the message to XML and create a
> XSLT for each application that does something "non-standard". Is that what
> people using HAPI typically do? If so, does anyone have any example XSLT
> files?
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to