Re: [HAPI-devel] Custom XML output

2014-10-30 Thread Christian Ohr
The XML that HAPI parses or renders is not our own invention but specified over HL7 as well as the pipe-encoded form. So I fear that if you want some custom XML representation of an HL7 message you need to do this yourself... best regards Christian 2014-10-30 1:14 GMT+01:00 Chandan Datta : > Hi

[HAPI-devel] Polymorphic MSH

2014-10-30 Thread Mike Mills
Have you ever thought about a baseclass for MSH that is independent of structure? This would make creating AppRoutingData much easier. So in ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl#findApplication where a terser is used to extract msh fields, you could replace this with a get("MSH") whe