line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
################################################################################ |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# File : Response.pm |
4
|
|
|
|
|
|
|
# Author : Duco Dokter |
5
|
|
|
|
|
|
|
# Created : Tue Mar 4 13:03:00 2003 |
6
|
|
|
|
|
|
|
# Version : $Id: Response.pm,v 1.2 2004/02/10 14:31:54 wyldebeast Exp $ |
7
|
|
|
|
|
|
|
# Copyright : Wyldebeast & Wunderliebe |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
################################################################################ |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
package Net::HL7::Response; |
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
3
|
|
36
|
use 5.004; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
99
|
|
14
|
3
|
|
|
3
|
|
11
|
use base qw(Net::HL7::Message); |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
215
|
|
15
|
3
|
|
|
3
|
|
11
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
66
|
|
16
|
3
|
|
|
3
|
|
41
|
use warnings; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
88
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Net::HL7::Response |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
In general, this object is created by the |
29
|
|
|
|
|
|
|
L, like: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
my $conn = new Net::HL7::Connection('localhost', 8089); |
32
|
|
|
|
|
|
|
my $request = new Net::HL7::Request(); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# ... set the HL7 message for the request |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
my $response = $conn->send($request); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 DESCRIPTION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
The Net::HL7::Response class extends the |
42
|
|
|
|
|
|
|
L class. In general, it is not |
43
|
|
|
|
|
|
|
necessary to create instances of this class directly, since it will be |
44
|
|
|
|
|
|
|
created by the Connection or Daemon when necessary. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 METHODS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
See L. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
D.A.Dokter |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Copyright (c) 2002 D.A.Dokter. All rights reserved. This program is |
57
|
|
|
|
|
|
|
free software; you can redistribute it and/or modify it under the same |
58
|
|
|
|
|
|
|
terms as Perl itself. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |