The Net-HL7 package is a simple Perl API for creating, parsing sending and receiving HL7 messages. To create an empty HL7 message object, do: use Net::HL7::Message; my $msg = new Net::HL7::Message(); and add segments like: my $msh = new Net::HL7::Seg...
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Daemon class provides a Daemon, roughly based on the well known HTTP::Daemon class. The daemon wraps IO::Socket::INET so that incoming connections are returned as Net::HL7::Daemon::Client objects. Other than that the Daemon class doesn'...
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Request simply extends the Net::HL7::Message class....
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCIn general one needn't create an instance of the Net::HL7::Message class directly, but use the Net::HL7::Request class. When adding segments, note that the segment index starts at 0, so to get the first segment, segment, do "$msg->getSegmentByIndex(0...
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Segment class represents segments of the HL7 message....
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Response class extends the Net::HL7::Message class. In general, it is not necessary to create instances of this class directly, since it will be created by the Connection or Daemon when necessary....
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Connection object represents the tcp connection to the HL7 message broker. The Connection has only two useful methods (apart from the constructor), send and close. The 'send' method takes a Net::HL7::Request as argument, and returns a N...
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCThe Net::HL7::Segments::MSH is an implementation of the Net::HL7::Segment class. The MSH segment is a bit different from other segments, in that the first field is the field separator after the segment name. Other fields thus start counting from 2! T...
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTCConvenience module implementing an acknowledgement (ACK) message. This can be used in HL7 servers to create an acknowledgement for an incoming message....
DDOKTER/Net-HL7-0.82 - 27 Jun 2017 11:59:22 UTC