[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Will HTTPAPI send test HL7 stream file?



Mike,
 
for sockets API assistance, look no further than Scotts tutorial on http://www.scottklement.com/rpg/socktut/index.html
 

Regards

Ian Patterson

ian@xxxxxxxxxxxxxxxxx

Grange IT Limited
tel 01947 880458
www.grangesystems.com
 

-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]On Behalf Of M
Sent: 09 June 2004 14:34
To: ftpapi@xxxxxxxxxxxxx
Subject: Re: Will HTTPAPI send test HL7 stream file?


Thanks for the response. Sounds like HTTPAPI is kind of like internet explorer or mozilla for OS400. Interesting and maybe i have a use for this - but seems to not be for this purpose.

What i need is something that will listen on a port and send also using TCP sockets. Guess i will need to start looking at sockets APIs.

HL7 stands for Hospital Language version 7 - or something like that. It is basically just a stream of formatted data - sort of the the same purpose as XML but not as flexible or nice. Any programmer that works in a hospital will be all too familiar with HL7!

Thanks again- Mike


--- On Sun 06/06, Scott Klement < sk@xxxxxxxxxxxxxxxx > wrote:

From: Scott Klement [mailto: ! sk@xxxxxxxxxxxxxxxx]
To: ftpapi@xxxxxxxxxxxxx
Date: Sun, 6 Jun 2004 16:41:12 -0500 (CDT)
Subject: Re: Will HTTPAPI send test HL7 stream file?

Sender: Scott Klement


Hi Mike,

> Just hoping for someone to confirm one way or another before i start
> playing with this- What i want to do is to be able to to edit a file in
> EDTF/notepad/whatever to create a mock HL7 transaction that i could send
> to an IP/Port address. Also would like to be able to listen/recieve on a
> port as well. Need to be able to set up or specify a particular port for
> send and recieve. Is HTTPAPI suitable for this? Anyone done it? Thanks-
> Mike L.

I see that nobody has responded to this. Personally, I don't know what
HL7 is. A quick search with google turns up links to documentation for a
health care standard in Australia. Is that what you're talking about?

HTTPAPI is ! a set of APIs for implementing HTTP client behavior in your ILE
pro grams. It's able to send requests to HTTP servers, and receive back their
responses.

It's not able to listen for connections, as it is just a client, not a
server. But OS/400 does come with an HTTP server, so it would be silly to
write your own.

If HL7 data can be sent using the standard HTTP protocol, then a
combination of HTTPAPI and the HTTP server that comes with OS/400 should
be able to do the job, with a little programming on your part.

HTH

-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------


Join Excite! - http://www.excite.com
The most personalized portal on! the Web!