admin

Creating EDI data with TypedDocuments and .Net

In this tutorial we’ll discuss how to create EDI data using  TypedDocuments and C#.Net.  TypedDocuments enable developers to use typed EDI objects to create data.  Instead of having to worry about arrays, indexes and strings we can create EDI data in a higher object oriented fashion. The Code Typed5010Document sampleEDIFile = new Typed5010Document(); //Or Typed4010Document // Puts the …

Creating EDI data with TypedDocuments and .Net Read More »

How To Generate a 999/997 Acknowledgement EDI Data Using NodeJS

In this tutorial we’ll discuss how generate a 999 or 997 Acknowledgement EDI using NodeJS.  After validating EDI data using the EDIValidator component acknowledgment data can be generated. EDIValidator takes two parameters, a validation rules file and the EDI data to validate.   The overall validation process looks like the diagram below.     A validation rule file …

How To Generate a 999/997 Acknowledgement EDI Data Using NodeJS Read More »

Creating EDI data using NodeJS/JavaScript

Creating EDI data is simple using the EDILightWeightDocument component. Simply create an instance, set its loops and segments, and call its generateEDIData() method. The EDILightWeightDocument structure is based on a loop hierarchy. Loops contain segments and other loops. Segments contain elements. Elements contains data and composite elements. This example creates an EDILightWeightDocument instance, set its …

Creating EDI data using NodeJS/JavaScript Read More »

Validating Typed Documents

In this tutorial we’ll discuss how to validate Typed Documents as we’re creating them. Typed Documents allows you to create EDI documents using high level objects and an easy to understand structure.  Please read this blog if you want to learn how to use Typed Documents to create EDI files. After creating a Typed Document …

Validating Typed Documents Read More »

Summary Balance Fields

In this tutorial we’ll discuss how to do Summary Balancing validation on EDI data. In some EDI transactions there is a top level segment that contains an element whose value represents the total amount of some kind.  For example, in an 837 Professional Health care claim transaction there is a CLM segment whose second element …

Summary Balance Fields Read More »

Use .Net To Validate EDI Data with Code Conditions

Background As you know the EDIValidator component uses rules files to validate EDI data.  You can specify rather complex conditions.  For example +SegPos[322] = if ((SegPos[316:1] == “R”) or (SegPos[316:1] == “S”)) then Usage[Required] else Usage[Optional] end This rules says that segment number 322’s usage depends on whether the condition in the if statement is true.  The following example also contains else if …

Use .Net To Validate EDI Data with Code Conditions Read More »