Channel builds EDI X12 formatted file from SQL Queries. Issue with output of sub-segments.
Builds a portion (correct): ABK</HI.01.1>M47812</HI.01.2></HI.01>
then outputs (incorrect):
HI*ABK::M47812~
Note diagnosis code should be in segment HI-01.2 but appears in HI-01.3.
When I channelMap the same XML put through the SerializerFactory.getSerializer('EDI/X12').fromXML(ABK</HI.01.1>M47812</HI.01.2></HI.01>) - I get the correctly formatted portion:
HI*ABK:M47812~
Channel builds EDI X12 formatted file from SQL Queries. Issue with output of sub-segments. Builds a portion (correct):
ABK</HI.01.1>M47812</HI.01.2></HI.01> then outputs (incorrect): HI*ABK::M47812~Note diagnosis code should be in segment HI-01.2 but appears in HI-01.3. When I channelMap the same XML put through the SerializerFactory.getSerializer('EDI/X12').fromXML(
ABK</HI.01.1>M47812</HI.01.2></HI.01> ) - I get the correctly formatted portion: HI*ABK:M47812~Imported Issue. Original Details: Jira Issue Key: MIRTH-4327 Reporter: rolliemors Created: 2018-09-13T14:00:50.000-0700