Hi,everyone.I know how to do that now. I use HL7Server class instead of
SimpleServer and override the method: store() in Interface SafeStorage. So,I
can save the HL7 Message in store() method by overriding it.
Best regards.
-
Just Do It !
--
View this message in context:
http://www.nabble.
Here are more details. I have a web service that carries HL7 - XML
formatted messaged in payload, I need to extract that XML String
Palyload, parse it with XML parser, convert into ER7 format and set back
into payload of webservice response object.
I tried printing of original Payload and I can
Hi Cameron,
Thanks for your response, I tried changing code as follow but did not
help with PipeParser.encode, However MyValidation trick helped me with
PipeParser.parser but do not have any effect on PipeParser.encode. In
below code, I called a method getMyValidation() in
setValidationContext
In your NoValidation Validation Context there are the following lines..
ca.uhn.hl7v2.validation.Rule trim = new TrimLeadingWhitespace();
getPrimitiveRuleBindings().add(new RuleBinding("*", "FT", trim));
getPrimitiveRuleBindings().add(new RuleBinding("*", "ST", trim));
Hi There,
I am trying to convert HL7 - XML message to HL7 - ER7 format. However after
conversion all whitespace are getting trimed off, which is part of the
original XML message. In source code below, PipeParser.encode(ER7Msg) is the
one who is triming all whitespaces. Is there a way I can still
5 matches
Mail list logo