I reckon we would all be in a lot of trouble if HAPI didn't parse out
repeating segments and groups.
So glad I took the time to learn about HAPI. By far the best adherence
to the HL7 standard I have encountered in my interfacing career.
Finding good how-to guides is sometimes challenging, particularly if
you are trying to learn about the standard AND HAPI at the same time.
I would also recommend having a go at parsing, as Rahul has, so that as
you start to learn what terrible things sending and receiving systems
that claim HL7 'compliance' can do. Then you will better understand the
fantastic effort the HAPI developers have put into this API. Obviously,
the first gotcha is people not escaping the delimiter characters, and
the other is (heaven forbid) they use the standard feature and change
the delimiters to something else.
Happy parsing! Or should I say HAPI parsing?
Ian
>>> Rahul Somasunderam <[email protected]> 04/09/13 7:14 >>>
Senthil, your solution is very similar to Nule.org's LightHl7Lib.
https://www.thot.us/svn/nule.org_LightHl7Lib/trunk/
This approach has some benefits, but HAPI tries to solve an entirely
different problem.
R,
rahul
On Aug 28, 2013, at 12:05 PM, Senthil Muthiah
<[email protected]> wrote:
Hi
Please read this
http://emrpms.blogspot.in/2013/08/hl7-parsingmy-own-parser.html
On Tue, Aug 27, 2013 at 6:15 PM, Jens Villadsen
<[email protected]> wrote:
HAPI forum is indeed active -
It just seems like you did not have the time to understand the API.
On 27 August 2013 14:31, Senthil Muthiah <[email protected]>
wrote:
Completed my own parsing. It is simple, later today, i will write
article on my blog
On Tue, Aug 27, 2013 at 5:51 PM, Bart*omiej Buczek
<[email protected]> wrote:
And you switched to what? Is there any good alternative?
Bart*omiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wroc*aw, Poland
NIP: 899 258 73 ( tel:899%20258%2073 ) 59
Tel. +48 71 338 65 64 ( tel:%2B48%2071%20338%2065%2064 ); Kom. +48 668
891 540 ( tel:%2B48%20668%20891%20540 )Fax +48 71 338 65 55 (
tel:%2B48%2071%20338%2065%2055 )[email protected]
On 08/27/2013 02:20 PM, Senthil Muthiah wrote:
Forum is not active, so i dropped using this HAPI
On Tue, Aug 27, 2013 at 4:07 PM, Bart*omiej Buczek
<[email protected]> wrote:
Really no one can help me with this? I'm waiting so long and simple no
response...
Bart*omiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wroc*aw, Poland
NIP: 899 258 73 ( tel:899%20258%2073 ) 59
Tel. +48 71 338 65 64 ( tel:%2B48%2071%20338%2065%2064 ); Kom. +48 668
891 540 ( tel:%2B48%20668%20891%20540 )Fax +48 71 338 65 55 (
tel:%2B48%2071%20338%2065%2055 )[email protected] On
07/12/2013 12:06 PM, Bart*omiej Buczek wrote:
Hi,
I was following example send multiple messages out (
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html
) and found out something like this:
// Setup server to listen for incoming message
int port = 8813;
boolean useTls = false;
HapiContext context = new DefaultHapiContext();
HL7Service server = context.newServer(port, useTls);
// We want to listen ADT^A01 messages
ReceivingApplication handler = (ReceivingApplication) new
ExampleReceiverApplication();
server.registerApplication("ADT", "A01", handler);
So I run the application and as far as I understand I have setup server
and a client application which will listen for ADT^A01 messages. Now I
want to create another application (let's say another client) which will
connect with that already created server and listen for ADT^A02
messages.
I found on documentation something like that:
"If you are wondering how to integrate HAPI into an existing server
application, this is probably the place. Create a class that implements
ReceivingApplication, then look at HL7Server and ApplicationRouter to
see how to get HAPI to listen for messages on a socket and pass them to
your ReceivingApplication."
But how should I use HL7Server and ApplicationRouter to connect with
previously created server? Maybe I'm missing something in the logic but
let's consider that one software already has running server and I want
to integrate with them to listen for messages special for my application
(like ADT^A02) - how to do this?
--
Bart*omiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wroc*aw, Poland
NIP: 899 258 73 ( tel:899%20258%2073 ) 59
Tel. +48 71 338 65 64 ( tel:%2B48%2071%20338%2065%2064 ); Kom. +48 668
891 540 ( tel:%2B48%20668%20891%20540 )Fax +48 71 338 65 55 (
tel:%2B48%2071%20338%2065%2055 )[email protected]
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance
Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance
Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
--
Med venlig hilsen / Kind regards
Jens Kristian Villadsen
cand.polyt
Stålhøjen 24
8240 Risskov
Denmark
Mobile +4523373806
[email protected]
jkiddo.dyndns.org
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft
technologies
and advance your career. Get an incredible 1,500+ hours of
step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
********************************************************************************
This email, including any attachments sent with it, is confidential and for the
sole use of the intended recipient(s). This confidentiality is not waived or
lost, if you receive it and you are not the intended recipient(s), or if it is
transmitted/received in error.
Any unauthorised use, alteration, disclosure, distribution or review of this
email is strictly prohibited. The information contained in this email,
including any attachment sent with it, may be subject to a statutory duty of
confidentiality if it relates to health service matters.
If you are not the intended recipient(s), or if you have received this email in
error, you are asked to immediately notify the sender by telephone collect on
Australia +61 1800 198 175 or by return email. You should also delete this
email, and any copies, from your computer system network and destroy any hard
copies produced.
If not an intended recipient of this email, you must not copy, distribute or
take any action(s) that relies on it; any form of disclosure, modification,
distribution and/or publication of this email is also prohibited.
Although Queensland Health takes all reasonable steps to ensure this email does
not contain malicious software, Queensland Health does not accept
responsibility for the consequences if any person's computer inadvertently
suffers any disruption to services, loss of information, harm or is infected
with a virus, other malicious computer programme or code that may occur as a
consequence of receiving this email.
Unless stated otherwise, this email represents only the views of the sender and
not the views of the Queensland Government.
**********************************************************************************
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel