Yes the value is consistently coming over as this kind of example: “<measurement> <unit>”
To my knowledge we are not going to be getting any embedded spaces in the measurement or unit, just the space between.
I also just noticed the first OBX will have all text in it “OB-GYN Ultrasound Report” which I don’t want to do anything with. I am also getting some OBX-5 for gestational age formatted as example: “14 weeks 3 days” … I would just intend to leave those as those have been filing okay because they are not Fetus measurements.
So currently I have this in one COPY command. When I add “set xlateOutVals $out_obx_6 it just puts the units in OBX-5 so I still have some work to do. Along with figuring out the gestational age examples.
=================================================================
Source: 0(0).OBX(%s1).#5(0).[0]
Pre Proc:
lassign $xlateInVals in_obx_5
set out_obx_5 [lindex $in_obx_5 0]
set out_obx_6 [lrange $in_obx_5 1 end]
set xlateOutVals $out_obx_5
Destination:
1(0).1(0).1(%s1).OBX(0).#5(0).[0]
1(0).1(0).1(%s1).OBX(0).#6(0).[0]