Four Stars

Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

I need to generate HL7 message with 5 insurances. How can I achieve this? In Talend I'm able to generate only IN1, IN2, and IN3.

Message type: DFT^P03

Version: 2.6

  • Data Integration
2 REPLIES
Four Stars

Re: Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

If I set IN1 as repeatable element, getting following error:

Exception in component tHL7Output_1
ca.uhn.hl7v2.HL7Exception: Can't create repetition #1 of Structure IN1 - this Structure is non-repeating
at ca.uhn.hl7v2.model.AbstractGroup.get(AbstractGroup.java:119)
at ca.uhn.hl7v2.util.MessageNavigator.getCurrentStructure(MessageNavigator.java:174)
at ca.uhn.hl7v2.util.SegmentFinder.getStructure(SegmentFinder.java:132)
at ca.uhn.hl7v2.util.SegmentFinder.getSegment(SegmentFinder.java:104)
at ca.uhn.hl7v2.util.Terser.getSegment(Terser.java:233)
at ca.uhn.hl7v2.util.Terser.set(Terser.java:312)
at jobs.test_0_1.Test.tFixedFlowInput_1Process(Test.java:10703)
at jobs.test_0_1.Test.runJobInTOS(Test.java:16248)
at jobs.test_0_1.Test.main(Test.java:16105)

Four Stars

Re: Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

No one is facing this issue?