[HAPI-devel] Multiple OBR and OBX

2013-08-02 Thread Senthil Muthiah
Hi I am parsing ORU^R01 using Terser HapiContext context = new DefaultHapiContext(); context.setValidationContext(new NoValidation()); PipeParser pipeParser = context.getPipeParser(); /* pipeParser.setValidationContext(new NoValidation()); */ Message message = pip

Re: [HAPI-devel] No Validation

2013-08-02 Thread Senthil Muthiah
Thank you very much. It is working perfectly as you suggested. On Fri, Aug 2, 2013 at 9:19 PM, Christian Ohr wrote: > In HAPI 2.1, it is preferred to set the ValidationContext over the > HapiContext (context.setValidationContext(...)) and obtain the Parser from > there (context.getPipeParser())

Re: [HAPI-devel] No Validation

2013-08-02 Thread Christian Ohr
In HAPI 2.1, it is preferred to set the ValidationContext over the HapiContext (context.setValidationContext(...)) and obtain the Parser from there (context.getPipeParser()) If you need a proper Validation elsewhere from the same HapiContext , you can disable validation during parsing with context

[HAPI-devel] No Validation

2013-08-02 Thread Senthil Muthiah
Hi I am parsion ORU Message. I do not want to do the validation while parsing. So i use the following PipeParser pipeParser = new PipeParser(); pipeParser.setValidationContext(new NoValidation()); Message message = pipeParser.parse(HL7Message); Terser terser = new Ters