admin

How to drill into data using Typed Documents

In this tutorial we’ll discuss how to navigate and get loops and segments from a Typed Document after it’s loaded.  Once a Typed Document is created, loops and Typed Segments can be retrieved.  Data is stored in a logical structure corresponding to the implementation guides Finding Loops    Example – Getting A Loop Typed5010Document doc = new Typed5010Document(ediValidator.EDILightWeightDocument); //Get […]

How to drill into data using Typed Documents Read More »

RDPScript Tutorial

RDPScript is the new powerful EDI scripting language that allows you to express your business logic around EDI validation more elegantly.  It allows you to add custom validation rules in simple, natural way. In this tutorial we will demonstrate how to use RDPScript to add validation rules to an 5010 837 Professional EDI file.  We

RDPScript Tutorial Read More »

Combining EDI Data in .Net

In this tutorial we’ll discuss how to combine separate EDI files using the EDIFileJoiner component and C#.Net.  We can combine files at the Functional Group (GS) or the Transaction Header level (ST).  The basic flow is demonstrated in the diagram below. In this example we’re going to combine two files at the Transaction Header level.  This means

Combining EDI Data in .Net Read More »

Consuming EDI data with TypedDocuments and .Net

In this tutorial we’ll discuss how to consume loaded EDI data using TypedDocuments and C#.Net.  Once EDI data is loaded using either EDIValidator or EDIFileLoader that data is in memory and is available for use.  One possible usage is to save it into a database.  TypedDocuments provide an object oriented view over the EDI data and enables developers to access it with

Consuming EDI data with TypedDocuments and .Net Read More »

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 »

What’s the Repetition Separator Character in 5010 X12?

The Repetition Separator Character was introduced in version 5010 of the HIPAA implementation guide. This character is located in ISA11 of the HIPAA 5010 implementation guide.  Previously ISA11 was used to hold the Interchange Control Standards Identifier ( ex: U).  The ISA segment still remains a fixed length segment at 106 characters. Purpose The purpose

What’s the Repetition Separator Character in 5010 X12? Read More »

Become a super Programmer

Good is the enemy of greatThe difference between good programmers and great ones is that great programmers understand the fundamentals very, very well.  Sure reading Donald Knut is great but the books are so dense they can kill you. The same insane team of hack programmers that built RDPCrystal EDI Library and RDPScript, have compiled

Become a super Programmer Read More »

X12 Segment Structure

EDI segments contain the basic units of data in an EDI file. In fact an EDI file contains only segments. In this article we will discuss the X12 segment structure and how it’s used to create EDI messages. Let’s say we want to send a basic company name information to another party. We can use

X12 Segment Structure Read More »

What is EDI

The purpose of this article to give a brief overview of what EDI is in a simple and straightforward manner. If you’re reading this article that means that you’re either interested in EDI development or simply just want to learn more about EDI in general. There’s a lot of information on the web that describes

What is EDI Read More »