MLLP_SEND(1) python-hl7 MLLP_SEND(1)NAME
mllp_send - MLLP network client
python-hl7 features a simple network client, mllp_send, which reads HL7 messages from a file or sys.stdin and posts them to an MLLP server.
mllp_send is a command-line wrapper around hl7.client.MLLPClient. mllp_send is a useful tool for testing HL7 interfaces or resending
logged messages:
$ mllp_send --file sample.hl7 --port 6661 mirth.example.com
MSH|^~&|LIS|Example|Hospital|Mirth|20111207105244||ACK^A01|A234244|P|2.3.1|
MSA|AA|234242|Message Received Successfully|
USAGE
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 (
instead of
). Can ONLY send 1 message. Requires --file option
(no stdin)
INPUT FORMAT
By default, mllp_send expects the FILE or stdin input to be a properly formatted HL7 message (carriage returns separating segments) wrapped
in a MLLP stream (<SB>message1<EB><CR><SB>message2<EB><CR>...).
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's default line endings. In this case, mllp_send provides the --loose
option, which attempts to take something that "looks like HL7" and convert it into a proper HL7 message. Currently the --loose option can
only handle 1 HL7 message per file (it causes mllp_send to assume the whole file is one HL7 message).
ADDITIONAL RESOURCES
o http://python-hl7.readthedocs.org
AUTHOR
John Paulett
COPYRIGHT
2011, John Paulett
0.2.2 December 17, 2011 MLLP_SEND(1)
Check Out this Related Man Page
qpid-python-test(1) User Commands qpid-python-test(1)NAME
qpid-python-test - run tests of the python QPID library for a broker
SYNOPSIS
qpid-python-test [options] PATTERN ...
DESCRIPTION
Run tests matching the specified PATTERNs.
OPTIONS -h, --help
show this help message and exit
-l, --list
list tests instead of executing them
-b BROKER, --broker=BROKER
run tests against BROKER (default localhost)
-f FILE, --log-file=FILE
log output to FILE
-v LEVEL, --log-level=LEVEL
only display log messages of LEVEL or higher severity: DEBUG, WARN, ERROR (default WARN)
-c CATEGORY, --log-category=CATEGORY
log only categories matching CATEGORY pattern
-m MODULES, --module=MODULES
add module to test search path
-i IGNORE, --ignore=IGNORE
ignore tests matching IGNORE pattern
-I IFILE, --ignore-file=IFILE
ignore tests matching patterns in IFILE
-H, --halt-on-error
halt if an error is encountered
-t, --time
report timing information on test run
-D DEFINE, --define=DEFINE
define test parameters
SEE ALSO
For more information on qpid-python-test please check the QPID wiki at http://qpid.apache.org.
Apache QPID October 2011 qpid-python-test(1)
I WANT DO A HP 0-A01 CERTIFICATION............I WANT SOME DUMPS FOR PRACTICE..please send to me.....IF U HAVE PLEASE SEND ASKAR GHORI SECOND EDITION CSA BOOK ...
MY MAIL ID IS
thanks and regards
Lingesh (5 Replies)
Hi Everyone,
This is a pretty big request, but I was wondering if anyone out there has a program written in C, Perl, Tcl or whatever that can be executed from the command line and will send HL7 messages from a NL delimited file and send them to the specifid host/port using the MLLP HL7 TCP... (1 Reply)
Hello,
I have thousand of messages (HL7), I want to use awk to extract only the ones that have a particular value in pv1.18
Each record in the file is the whole HL7 message, ie. when I print $0 I get the whole message MSH EVN PID etc. ,there is an x0d between the segments.
I would like to use a... (3 Replies)
Hi All,
I have a file which looks like this:
Name1;A01
Name2;A01.047
Name3;A01.047.025
Newname1;B01
NewName2;B01.056.32
NewName3;B04.09.43
NewNewName1;C01.03
NewNewName2;C01.034.44As you can see, in the file there is some name and followed by the name is some identifier. These... (5 Replies)