Re: [HAPI-devel] Unit Tests for TS DataType

2016-01-27 Thread Ian Vowles
Here is an example I put together hoping it would cover your question: A method that takes a TS input: package hapiexamples; import ca.uhn.hl7v2.model.DataTypeException; import ca.uhn.hl7v2.model.v24.datatype.TS; import ca.uhn.hl7v2.util.DeepCopy; /** * * @author vowlesi */ public class TSMetho

[HAPI-devel] Unit Tests for TS DataType

2016-01-27 Thread John Giotta
How can write a unit test for a TS datatype? My method expects a TS object as a parameter. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $3

Re: [HAPI-devel] Guidance Needed When Dealing with Non-Spec HL7

2016-01-27 Thread John Giotta
Sorry for the very late response. I did finally figure out what the problem was. Mostly CN and TN formatting. For example: ORC|RE||31971|||1^Clark^Mark||71^Abrams^Richard|^^^Colorado Preventive Medicine&169|(303) 320-2400^303^3202400|20160105180250| I created a custom parser to fix som