SPE.encode() translates a document and wraps the X12 output in ST/SE, GS/GE, and ISA segments.
This means that to be compliant the translated output must fit within a single transaction set and a single functional group,
which does not follow the HIPAA standard. Our clients require multiple transaction sets within the X12 document. Current API does not support wrapping X12 at the transaction set (ST) level and generates ISA/ISE GS/GE ST/SE for non-burstable files.