go to post Robert Barbiaux · Jan 21 For a simple message transformation flow example, I would go for record map : you get readymade service (EnsLib.RecordMap.Service.FileService) and operation (EnsLib.RecordMap.Operation.FileOperation) in the library to read and write CSV files and a mecanism that generates an appropriate message class based on a declarative definition (see Using the Record Mapper | Developing Productions | InterSystems IRIS Data Platform 2022) So you can focus on DTL and the whole flow can be done from the administration portal, look ma, no code ;-)
go to post Robert Barbiaux · Feb 26, 2022 Hi, Assuming your question is about HL7 (or EDI) message serialization. The DTL is meant for parsing and transforming the message into another one. Serialization occurs when you output the message using the corresponding instance methods. For an instance of the EnsLib.HL7.Message class, methods that output the message such as OutputToFile() are using instance properties to determine what separators to use : .Separators, .SegmentTerminator. Also, business operations (extending EnsLib.HL7.Operation.Standard) expose a setting (Separators) that let you configure what separators to use.