I am working on creating a DTL that can replace OBX segment with a string formatted NTE segment . There is a class ImportFromString but it looks like that is not replacing the target message with the new formatted NTE. I do see target.setvalueat class but I wanted the transformer to not be scheme base.
ClassMethod Transform(source As EnsLib.HL7.Message, target As EnsLib.HL7.Message) As %Status
{
set target = source.%ConstructClone(1)
s idx=1
s pSegCount=target.SegCount
s pObservationValue=""
s pObservationIdentifier=""
s pOBXSegment=""
FOR idx = pSegCount {
s seg=target.GetSe




