How to Parse HL7 Message Using thl7input

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)
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.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads