How to Parse HL7 Message Using thl7input

While Parsing the hl7 message using thl7input component gives an error

Exception in component tHL7Input_1
ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value "2014-02-03T11:03:31.07-06:00": Matches the regular expression (\d{4}(\d(\d{2}(\d(\d(\d(\.\d(\d(\d(\d)?)?)?)?)?)?)?)?)?)?(\d{4})?: Segment: OBR (rep 1) Field #22
at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:85)
at ca.uhn.hl7v2.model.primitive.TSComponentOne.setValue(TSComponentOne.java:70)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:420)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:363)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:943)
at ca.uhn.hl7v2.parser.PipeParser.doParse(PipeParser.java:243)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:167)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:819)
at powerwellness.hl7parsingepiccrm_0_1.Hl7ParsingEpicCrm.tHL7Input_1Process(Hl7ParsingEpicCrm.java:971)
at powerwellness.hl7parsingepiccrm_0_1.Hl7ParsingEpicCrm.runJobInTOS(Hl7ParsingEpicCrm.java:2189)
at powerwellness.hl7parsingepiccrm_0_1.Hl7ParsingEpicCrm.main(Hl7ParsingEpicCrm.java:2047)
1 REPLY
Moderator

Re: How to Parse HL7 Message Using thl7input

Hi,
How did you set tHL7Input component? Have you already checked component reference TalendHelpCenter:tHL7Input?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.