Where may I find input file "message_file.txt" in example
SendLotsOfMessages (
https://hl7api.svn.sourceforge.net/svnroot/hl7api/releases/2.0/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendLotsOfMessages.java
)?
Thank you,
Derek
--
Derek Mahar
Senior Software Developer
Inteler
Does HAPI have some facility to set default field values for required
fields within message segments? For example, does it provide a way to set
MSH-1 to "|" and MSH-2 to "^~\\&" by default?
Thank you,
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Sys
states that configuration could set
this value. Must our application provide a custom SocketFactory that sets
the default timeout according to some configured value in the application?
Thank you,
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la
e" );
obr.getTranscriptionist( 0 )
.getOPName()
.getGivenName()
.setValue( "Transcriptionist0GivenName" );
obr.getTranscriptionist( 0 )
.getOPName()
.getFamilyName()
.setValue( "Transcriptionist0LastName" );
o
I should add that this test code uses the PipeParser:
Parser parser = new PipeParser();
String encodedMessage = parser.encode( orm );
Derek
On Thu, Jul 26, 2012 at 12:57 PM, Derek Mahar wrote:
> Why does HAPI embed ampersands ("&") instead of carets ("^&
uses the Initiator to send HL7 messages to a server. See
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html
for
an example that uses Initiator.
Derek
On Thu, Jul 26, 2012 at 12:16 PM, Derek Mahar wrote:
> What is approach do you recommend to set
Given Name and Family Name. They are separated by
> AMPERSAND.
>
> On Jul 26, 2012, at 10:01 AM, Derek Mahar wrote:
>
> I should add that this test code uses the PipeParser:
>
> Parser parser = new PipeParser();
> String encodedMessage = parser.encode( o
Thank you,
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la Gauchetiere W. Suite 400
Montreal, QC, Canada, H3B 4G1
Tel: 514.931.6222 x7754
Fax: 514.931.4653
derek.ma...@intelerad.com
www.intelerad.com
--
This email or any attachments may contain confi
cture.
How may I extract these segments using the more abstract Group or
Structure interfaces?
Derek
On Tue, Jul 31, 2012 at 5:33 PM, Derek Mahar wrote:
> Given a QRY_A19 query message, what approach do you recommend to decompose
> the contents of the response Message from
> "Initi
ess your required segments
>
> 2012/8/1 Derek Mahar
>
>> I've just learned that the message that the remote system sends in
>> response to QRY_A19 does not conform to the HL7 standard and includes
>> invalid segments QRD, PID, PV1, ORC, OBR, ORC2, and OBR2. Fortunately,
gs have ended up:
> System.out.println(ack.printStructure());
>
"Message.printStructure()" is very helpful because it explicitly identifies
those segments that HAPI considers non-standard.
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la Gauchetie
// The initiator is used to transmit unsolicited messages to a
server.
Initiator initiator = connection.getInitiator();
...
Any ideas?
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la Gauchetiere W. Suite 400
Montreal, QC, Canada, H3B 4
Does HAPI require commons-cli? The HAPI binary distribution includes
commons-cli-1.2, but I see no reason why HAPI would need it except to parse
arguments in a main method in some HAPI utility class. For what purpose
does HAPI require commons-cli?
Thank you,
Derek
--
Derek Mahar
Senior
nectionHub CONNECTION_HUB = mock(
ConnectionHub.class, withSettings().verboseLogging() );
@Override
public ConnectionHub newConnectionHub()
{
return CONNECTION_HUB;
}
}
Derek
On Fri, Aug 3, 2012 at 12:56 PM, Derek Mahar wrote:
> How does one mock ConnectionHub.attach() using Mock
Are
there any plans to implement methods equals() and hashCode() in messages
and segments?
Derek
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la Gauchetiere W. Suite 400
Montreal, QC, Canada, H3B 4G1
Tel: 514.931.6222 x7754
Fax: 514.931.4653
der
t; > actualSeg.field(j).getComp(k + 1).getSubcomp(l +
> > 1).toString());
> >
> > }
> > } else {
> > assertEquals("Comparing " + segmentName + "[" + i + "]."
> +
>
ing the processing of these messages. Nevertheless, we would like to
> have a means to overcome this issue.
>
--
Derek Mahar
Senior Software Developer
Intelerad Medical Systems Incorporated
895 de la Gauchetiere W. Suite 400
Montreal, QC, Canada, H3B 4G1
Tel: 514.931.6222 x7754
F
a PipeParser
method apply the encoding?
I'm trying to pin-point in a HAPI client application which HAPI method call
is translating UTF-8 character "0xc3 0xa9" ('é') to "0xe9 0x5c" on output.
Thank you,
Derek
--
Derek Mahar | Research and Development - Intelera
By the way, to select character encoding "UTF-8", do I set system
property "ca.uhn.hl7v2.llp.charset"
to "UTF-8", "UTF_8", "UTF8", or other string?
Derek
--
This email or any attachments may contain confidential or legally
privileged information intended for the sole use of the addressees. Any
er 0xE9 (my previous
message mistakenly stated 0xE9 and 0x5C) in place of "0xc3 0xa9", I can't
confirm whether HAPI method "Message.printStructure()" applies the encoding
or SLF4J and Logback are using an encoding different from UTF-8.
Derek
On Tue, Apr 30, 2013 at 1:26 PM
some
> alternate ways of specifying the charset. Personally I hate using system
> properties..
>
>
> http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/HandlingCharacterEncodings.html
>
Thank you for the reference. I was hoping there was another option
available to set the
21 matches
Mail list logo