[med-svn] r18411 - in trunk/packages: . python-hl7 python-hl7/trunk python-hl7/trunk/debian python-hl7/trunk/debian/source

Andreas Tille tille at moszumanska.debian.org
Sat Oct 25 17:00:57 UTC 2014


Author: tille
Date: 2014-10-25 17:00:56 +0000 (Sat, 25 Oct 2014)
New Revision: 18411

Added:
   trunk/packages/python-hl7/
   trunk/packages/python-hl7/trunk/
   trunk/packages/python-hl7/trunk/debian/
   trunk/packages/python-hl7/trunk/debian/changelog
   trunk/packages/python-hl7/trunk/debian/compat
   trunk/packages/python-hl7/trunk/debian/control
   trunk/packages/python-hl7/trunk/debian/copyright
   trunk/packages/python-hl7/trunk/debian/mllp_send.1
   trunk/packages/python-hl7/trunk/debian/python-hl7.manpages
   trunk/packages/python-hl7/trunk/debian/rules
   trunk/packages/python-hl7/trunk/debian/source/
   trunk/packages/python-hl7/trunk/debian/source/format
   trunk/packages/python-hl7/trunk/debian/watch
Log:
Inject python-hl7 as provided by python-modules team


Added: trunk/packages/python-hl7/trunk/debian/changelog
===================================================================
--- trunk/packages/python-hl7/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/changelog	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,22 @@
+python-hl7 (0.2.2-1) unstable; urgency=low
+
+  * New upstream release (0.2.2)
+  * Add dependency on python-pkg-resources (Closes: #645262)
+  * Add man page for mllp_send (built from docs/mllp_send.rst)
+
+ -- John Paulett <john at paulett.org>  Sat, 17 Dec 2011 11:22:24 -0600
+
+python-hl7 (0.2.1-1) unstable; urgency=low
+
+  * New upstream release (0.2.1)
+  * Correct empty lines in debian/copyright and use correct License short
+    name (BSD-3-clause)
+  * 0.2.2
+
+ -- John Paulett <john at paulett.org>  Wed, 14 Dec 2011 15:53:13 -0600
+
+python-hl7 (0.2.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #633749)
+
+ -- John Paulett <john at paulett.org>  Wed, 13 Jul 2011 07:32:39 -0500

Added: trunk/packages/python-hl7/trunk/debian/compat
===================================================================
--- trunk/packages/python-hl7/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/compat	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1 @@
+7

Added: trunk/packages/python-hl7/trunk/debian/control
===================================================================
--- trunk/packages/python-hl7/trunk/debian/control	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/control	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,23 @@
+Source: python-hl7
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: John Paulett <john at paulett.org>
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python-setuptools (>= 0.6b3-1~)
+Standards-Version: 3.9.2
+Homepage: https://github.com/johnpaulett/python-hl7/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-hl7/trunk
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-hl7/trunk/
+
+Package: python-hl7
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-pkg-resources
+Provides: ${python:Provides}
+Description: Python library for parsing HL7 messages
+ HL7 is a communication protocol and message format for health care data. 
+ It is the de-facto standard for transmitting data between clinical 
+ information systems and between clinical devices. The version 2.x series, 
+ which is often is a pipe delimited format is currently the most widely 
+ accepted version of HL7 (version 3.0 is an XML-based format).
+ python-hl7 currently only parses HL7 version 2.x messages into an easy 
+ to access, list-based, data structure. 

Added: trunk/packages/python-hl7/trunk/debian/copyright
===================================================================
--- trunk/packages/python-hl7/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/copyright	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,37 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: python-hl7
+Source: http://github.com/johnpaulett/python-hl7
+
+Files: *
+Copyright: 2009-2011 John Paulett <john at paulett.org>
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+  3. The name of the author may not be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2011 John Paulett <john at paulett.org>
+License: BSD-3-clause
+ Licensed under the same terms as python-hl7

Added: trunk/packages/python-hl7/trunk/debian/mllp_send.1
===================================================================
--- trunk/packages/python-hl7/trunk/debian/mllp_send.1	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/mllp_send.1	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,91 @@
+.TH "MLLP_SEND" "1" "December 17, 2011" "0.2.2" "python-hl7"
+.SH NAME
+mllp_send \- MLLP network client
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" Man page generated from reStructeredText.
+.
+.sp
+python\-hl7 features a simple network client, \fBmllp_send\fP, which reads HL7
+messages from a file or \fBsys.stdin\fP and posts them to an MLLP server.
+\fBmllp_send\fP is a command\-line wrapper around
+\fBhl7.client.MLLPClient\fP.  \fBmllp_send\fP is a useful tool for
+testing HL7 interfaces or resending logged messages:
+.sp
+.nf
+.ft C
+$ mllp_send \-\-file sample.hl7 \-\-port 6661 mirth.example.com
+MSH|^~\e&|LIS|Example|Hospital|Mirth|20111207105244||ACK^A01|A234244|P|2.3.1|
+MSA|AA|234242|Message Received Successfully|
+.ft P
+.fi
+.SH USAGE
+.sp
+.nf
+.ft C
+Usage: mllp_send [options] <server>
+
+Options:
+  \-h, \-\-help            show this help message and exit
+  \-p PORT, \-\-port=PORT  port to connect to
+  \-f FILE, \-\-file=FILE  read from FILE instead of stdin
+  \-q, \-\-quiet           do not print status messages to stdout
+  \-\-loose               allow file to be a HL7\-like object (\er\en instead of
+                        \er). Can ONLY send 1 message. Requires \-\-file option
+                        (no stdin)
+.ft P
+.fi
+.SH INPUT FORMAT
+.sp
+By default, \fBmllp_send\fP expects the \fBFILE\fP or stdin input to be a properly
+formatted HL7 message (carriage returns separating segments) wrapped in a MLLP
+stream (\fB<SB>message1<EB><CR><SB>message2<EB><CR>...\fP).
+.sp
+However, it is common, especially if the file has been manually edited in
+certain text editors, that the ASCII control characters will be lost and the
+carriage returns will be replaced with the platform\(aqs default line endings.
+In this case, \fBmllp_send\fP provides the \fB\-\-loose\fP option, which attempts
+to take something that "looks like HL7" and convert it into a proper HL7
+message. Currently the \fB\-\-loose\fP option can only handle 1 HL7 message per
+file (it causes \fBmllp_send\fP to assume the whole file is one HL7 message).
+.SH ADDITIONAL RESOURCES
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+\fI\%http://python-hl7.readthedocs.org\fP
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.SH AUTHOR
+John Paulett
+.SH COPYRIGHT
+2011, John Paulett
+.\" Generated by docutils manpage writer.
+.\" 
+.

Added: trunk/packages/python-hl7/trunk/debian/python-hl7.manpages
===================================================================
--- trunk/packages/python-hl7/trunk/debian/python-hl7.manpages	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/python-hl7.manpages	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1 @@
+debian/mllp_send.1
\ No newline at end of file

Added: trunk/packages/python-hl7/trunk/debian/rules
===================================================================
--- trunk/packages/python-hl7/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/rules	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+	dh --with python2 $@


Property changes on: trunk/packages/python-hl7/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/python-hl7/trunk/debian/source/format
===================================================================
--- trunk/packages/python-hl7/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/source/format	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/python-hl7/trunk/debian/watch
===================================================================
--- trunk/packages/python-hl7/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/python-hl7/trunk/debian/watch	2014-10-25 17:00:56 UTC (rev 18411)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/h/hl7/ hl7-(.*)\.tar\.gz




More information about the debian-med-commit mailing list