From: Mike M. <mi...@th...> - 2014-10-30 23:59:51
|
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") where it would be safe to cast the returned Structure to the baseclass MSH and get the fields directly. -Mike |