Question
Laura Cavanaugh · Mar 31, 2020

Table of segment types for the Interoperate/X12 Schema structures?

Hello; we are scanning 835 files, and need to validate segment types (such as ISA, ST, IEA, etc.)  before we give the file the "OK".  I see segment types in the management portal under Ensemble / Interoperate / ASC X12 / ASC X12 Schema Structures.  Are these segment types stored in an IS table anywhere?

 

Aside from EnsLib_EDI_X12.Document, are there any other tables that describe, or support, document segment types?

 

Thanks,

Laura

00
2 0 2 98
Log in or sign up to continue

Replies

Hi Laura,

There are some tables covering schemas that might be of use to you as documented here:

Exporting a Production

"Export the underlying Caché global that contains the schema and then import this on the target system. To export a global, select System Explorer > Globals, select the desired globals and then select Export. The X12 schemas are stored in the EnsEDI.Description, EnsEDI.Schema, EnsEDI.X12.Description, and EnsEDI.X12.Schema globals. The XML schemas are stored in the EnsEDI.XML.Schema global. See “Exporting Globals” in the Using Caché Globals guide for details on exporting globals."

Yes, very helpful, and easy to $order through.  Thanks.

In particular, I found ^EnsEDI.X12.Description("HIPAA_5010","SS",

Is this what is behind the class query EnsLib.EDI.X12.Document:EnumerateSegTypes (which I also just found with a little digging).

Thanks,

Laura