DTL with ComplexRecordmap as source

49 views
Skip to first unread message

r.be...@solilog.fr

unread,
Jan 31, 2014, 5:42:23 AM1/31/14
to Ensemble-in...@googlegroups.com

Joshua Goldman

unread,
Jan 31, 2014, 7:34:56 AM1/31/14
to Ensemble-in...@googlegroups.com
We have just encountered this restriction and are documenting the current behavior and evaluating possible solutions.  If the target and source in a DTL transformation are different types you can only use leaf assignments. You cannot assign a structured type to another even if the structures appear to be parallel. I believe that you cannot also use the empty parentheses to iterate through a repeating structure but need to use explicit for each actions.

We just ran into this two days ago so we are still investigating the scope of the problem.

Sent from my Windows Phone

From: r.be...@solilog.fr
Sent: ‎1/‎31/‎2014 5:42 AM
To: Ensemble-in...@googlegroups.com
Subject: [InterSystems-EnsHlth] DTL with ComplexRecordmap as source

--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

r.be...@solilog.fr

unread,
Feb 4, 2014, 4:15:40 AM2/4/14
to Ensemble-in...@googlegroups.com
Thank you Joshua .
hope we find a solution


Le vendredi 31 janvier 2014 13:34:56 UTC+1, Josh Goldman a écrit :
We have just encountered this restriction and are documenting the current behavior and evaluating possible solutions.  If the target and source in a DTL transformation are different types you can only use leaf assignments. You cannot assign a structured type to another even if the structures appear to be parallel. I believe that you cannot also use the empty parentheses to iterate through a repeating structure but need to use explicit for each actions.

We just ran into this two days ago so we are still investigating the scope of the problem.

Sent from my Windows Phone

From: r.be...@solilog.fr
Sent: ‎1/‎31/‎2014 5:42 AM
To: Ensemble-in...@googlegroups.com
Subject: [InterSystems-EnsHlth] DTL with ComplexRecordmap as source

To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.

r.be...@solilog.fr

unread,
Jan 15, 2015, 12:34:10 PM1/15/15
to Ensemble-in...@googlegroups.com

Hello Everyone. I managed to create a DTL which transforms HPRIM and DOC message in input (business service HL7.Prescription.GetHPRIM ) into a HL7 ORU message in output (Business Operation HL7.Test.ToHPRIM )

When I test the transformation with the DTL test editor , it  works correctly ( data from both input files HPRIM and DOC  are found in the ORU message)

However when i start the production , and check the output message , all the fields incoming from the DOC file are written in "nul" character , and consequently impossible to use.( all OBX fields)

Any idea about this issue ? Thank you

Raouf

Bear, Alex

unread,
Jan 15, 2015, 1:06:16 PM1/15/15
to Ensemble-in...@googlegroups.com

Just taking a guess. When you run the test with Studio, you specify the input allowing information from both files. When running the production, only one input file is being processed at a time.

 

Thanks,

Alex Bear

IT Programmer/Analyst

5 East

3200 Burnet Ave

Cincinnati, OH 45229

513-585-7345

--

You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in...@googlegroups.com

To unsubscribe from this group, send email to Ensemble-in-Healt...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.

To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Raouf BESBES

unread,
Jan 15, 2015, 6:07:15 PM1/15/15
to Ensemble-in...@googlegroups.com
Thank you Alex for the answer.
But in this case ,have you an idea how can i get the two file processed before getting the output ORU file ?

Thanks
Raouf

You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/6r-VMzBQgb8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healt...@googlegroups.com.

Bear, Alex

unread,
Jan 16, 2015, 8:57:00 AM1/16/15
to Ensemble-in...@googlegroups.com

There may be several ways to do this. One could be to develop a custom service that can load both files and pass them to a business process for example. You may also be able to design a BPL that would accept the first file and hold it until the second file is processed. These are just some thoughts as I have not attempted either before.

 

Thanks,

Alex

Reply all
Reply to author
Forward
0 new messages