hl7 ORU genration

Highlighted
Five Stars

hl7 ORU genration

Hi , 

I need to generate hl7 ORU message. Not sure where i am wrong. I am getting this exception. (Exception in component tHL7Output_1 ca.uhn.hl7v2.HL7Exception: Can't find PATIENT as a direct child)

This is my error:

 

Exception in component tHL7Output_1
ca.uhn.hl7v2.HL7Exception: Can't find PATIENT as a direct child
at ca.uhn.hl7v2.util.SegmentFinder.getStructure(SegmentFinder.java:137)
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 local_project.hltest3_0_1.hltest3.tFileInputDelimited_1Process(hltest3.java:12474)
at local_project.hltest3_0_1.hltest3.runJobInTOS(hltest3.java:12871)
at local_project.hltest3_0_1.hltest3.main(hltest3.java:12728)

Capture.PNGCapture2.PNG

 

I am trying to genrate an ORU msg as below:

 

MSH|^~\&|abbc|def|EpicApp|ghu|201707071236||ORU^R01|103392|P|2.3
PID|1||000081022493^^^MR^MR||ZZZTEST^ACL^^^^||19510107|M|
OBR|1|207250||184^aaaa|||||||||||||||||||||F
OBX|1|DT|PED1^aaaae^SFG||20170707
OBX|2|DT|DQD1^bbb^SFG||20170707
OBX|3|FT|PSS1^cccs^SFG||ddd

 

can anyone please helpo me how to fix this issue

Moderator

Re: hl7 ORU genration

Hello,

It seems that you have fixed this issue by yourself. Can we consider this topic as resolved?

We will check your another topic:https://community.talend.com/t5/Design-and-Development/HL7-ORU-generation-with-mutiple-OBX/m-p/38170... later.

Many thanks.

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.

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog