Question Oleksandr Kyrylov · Apr 5, 2022

Create new Data Transformation

Hello communty.

I searched a way to transform a HL7 Message to Persistent. I found a way how to create Data Transformation from Mangment Portal -> Data Transformation Interface. But my task is to create somthing similar to that tool in my web site interface. And the question is: Is There way to create something like new instance of Data Transformation class " Ens.DataTransformDTL" using object script?

Thank you!

Product version: IRIS 2020.1

Comments

David Hockenbroch · Apr 5, 2022

I'm not sure your question is clear, but creating a new instance of that class in ObjectScript should be as simple as:

set myDTL = ##class(Ens.DataTransformDTL).%New()
0
Oleksandr Kyrylov  Apr 5, 2022 to David Hockenbroch

%New() does not work with Ens.DataTransformDTL but I found another approach. 

In my case %Dictionary.ClassDefinition class helped me.

0