blib/lib/Net/HL7/Request.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ################################################################################
2 #
3 # File : Request.pm
4 # Author : Duco Dokter
5 # Created : Tue Mar 4 13:03:00 2003
6 # Version : $Id: Request.pm,v 1.3 2005/04/20 07:29:44 wyldebeast Exp $
7 # Copyright : Wyldebeast & Wunderliebe
8 #
9 ################################################################################
10  
11 package Net::HL7::Request;
12  
13 use 5.004;
14 use base qw(Net::HL7::Message);
15 use strict;
16 use warnings;
17  
18 1;
19  
20 =pod
21  
22 =head1 NAME
23  
24 Net::HL7::Request
25  
26 =head1 SYNOPSIS
27  
28 my $request = new Net::HL7::Request();
29 my $conn = new Net::HL7::Connection('localhost', 8089);
30  
31 my $msh = new Net::HL7::Segments::MSH();
32  
33 my $seg1 = new Net::HL7::Segment("PID");
34  
35 $seg1->setField(1, "foo");
36  
37 $request->addSegment($msh);
38 $request->addSegment($seg1);
39  
40 my $response = $conn->send($request);
41  
42  
43 =head1 DESCRIPTION
44  
45 The Net::HL7::Request simply extends the
46 L<Net::HL7::Message|Net::HL7::Message> class.
47  
48 =head1 METHODS
49  
50 See L<Net::HL7::Message>.
51  
52 =head1 AUTHOR
53  
54 D.A.Dokter <dokter@wyldebeast-wunderliebe.com>
55  
56 =head1 LICENSE
57  
58 Copyright (c) 2002 D.A.Dokter. All rights reserved. This program is
59 free software; you can redistribute it and/or modify it under the same
60 terms as Perl itself.
61  
62 =cut
63