hl7 ORU genration

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

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

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.