Ensemble 2017.2.
I am writing a DTL code action based on the solution described in the posting "How to avoid truncation in HL7 messages with very large fields (32K+)". Because the source value is in a repeating segment, and the specific repetition in which the value is located can vary, I would like to use a variable (specifically the k1 key) to specify the repetition to get. I have been unable to get it to work.
OBXgrp is the location in the path at which the repetition occurs. Hard-coding an index, as in the example below, works.