Create 270 X12 Eligibility Request Message using C# (MS .NET)
Introduction:
Health Care Eligibility Benefit Inquiry and Response (270/271)
This post helps the provider to determine whether the information source (payer) has a particular subscriber or dependent on file and the health care eligibility and/or benefit information about that subscriber and/or dependent(s).
The post provides the provider with the information at the time the patient checks in and makes the information available instantaneously, which is not possible through other methods like paper and phone.
1.Create 270 Request using C#
Sample 270 Eligibility Request:
ISA*00* *00* *ZZ*SUBMITTERID *ZZ*CMS *140831*0734*^*00501*000005014*1*P*|~
GS*HS*SUBMITTERID*CMS*20140831*073411*5014*X*005010X279A1~
ST*270*000000001*005010X279A1~
BHT*0022*13*TRANSA*20140831*073411~
HL*1**20*1~
NM1*PR*2*CMS*****PI*CMS~
HL*2*1*21*1~
NM1*1P*2*IRNAME*****XX*1234567893~
HL*3*2*22*0~
TRN*1*TRACKNUM*ABCDEFGHIJ~
NM1*IL*1*LNAME*FNAME****MI*123456789A~
DMG*D8*19400401~
DTP*291*RD8*20140201-20141031~
EQ*10^14^30^42^45^48^67^A7^AD^AE^AG^BF^BG~
EQ**HC|80061~
EQ**HC|G0117~
SE*15*000000001~
GE*1*5014~
IEA*1*000005014~
I have created Main Class called as ManualX12Creation and it will call other segments classes like ISA, IEA and NM1 etc..
public class ManualX12Creation
{
Patient patient;
Provider provider;
Payer payer;
DTP dtp;
public ManualX12Creation(Patient opatient, Provider oprovider, Payer opayer, DTP odtp)
{
patient = opatient;
provider = oprovider;
payer = opayer;
dtp = odtp;
}
public string CreateISA(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
ISA isa = new ISA();
string[] ISA = new string[16];
ISA[0] = "ISA"; // Interchange Control Header Segment ID
ISA[1] = "00"; // Author Info Qualifier
ISA[2] = String.Format("{0,10}", " "); //"".PadRight(10, ' '); // Author Information
//ISA[2] = ISA[2].Substring(0, 10);
ISA[3] = "00"; // Security Information Qualifier
// MEDI-CAL NOTE: For Leased-Line & Dial-Up use '01',
// for BATCH use '00'.
// '00' No Security Information Present
// (No Meaningful Information in I04)
ISA[4] = String.Format("{0,10}", " ");//"".PadRight(10, ' '); // Security Information
//ISA[4] = ISA[4].Substring(0, 10);
ISA[5] = "ZZ".PadRight(2, ' '); // Interchange ID Qualifier
ISA[6] = isa.InterchangeSenderID.PadRight(15, ' '); //X12info[2].PadRight(15, ' '); // INTERCHANGE SENDER ID
ISA[7] = "ZZ".PadRight(2, ' '); // Interchange ID Qualifier
ISA[8] = isa.InterchangeReceiverID.PadRight(15, ' ');//X12info[3].PadRight(15, ' '); // INTERCHANGE RECEIVER ID
ISA[9] = isa.InterchangeDate; //DateTime.Parse("2008/08/16").ToString("yyMMdd");// // Interchange Date (YYMMDD)
ISA[10] = isa.InterchangeTime; //DateTime.Now.ToString("HHmm");//.PadRight(4, ' '); // Interchange Time (HHMM)
ISA[11] = "^"; // Interchange Control Standards Identifier
ISA[12] = isa.InterchangeControlVersionNumber.PadRight(5, ' '); //"00501".PadRight(5, ' '); // Interchange Control Version Number
ISA[13] = isa.InterchangeControlNumber.PadRight(9, ' '); //"000000001".PadRight(9, ' '); // INTERCHANGE CONTROL NUMBER
ISA[14] = "0".PadRight(1, ' '); // Acknowledgment Request [0= not requested, 1= requested]
ISA[15] = isa.UsageIndicatorProductionOrTest.PadRight(1, ' '); //"P".PadRight(1, ' '); // Usage Indicator [ P = Production Data, T = Test Data ]
// string sep = "*"; // Data Element Separator
string sCreatedISA = String.Join(sep, ISA);
sCreatedISA = sCreatedISA + "*";
sCreatedISA = sCreatedISA + SegTerminator + ElementSeparator;
return sCreatedISA.Trim();
}
// GS Segment - EDI(x12 for A)-270 format
public string CreateGS(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
GS gs = new GS();
string[] GS = new string[9];
GS[0] = "GS"; // Functional Group Header Segment ID
GS[1] = "HS"; // Functional ID Code [ HS = Eligibility, Coverage or Benefit Inquiry (270) ]
GS[2] = gs.GSApplicationSenderID; //X12info[2]; // Application Sender's ID
GS[3] = gs.GSApplicationReceiverID; //X12info[3]; // Application Receiver's ID
GS[4] = gs.GSDate; //DateTime.Parse("2007/08/16").ToString("yyyyMMdd"); // Date [CCYYMMDD]
GS[5] = gs.GSTime; //DateTime.Now.ToString("HHmmss"); // Time [HHMM] Group Creation Time
GS[6] = gs.GSGroupControlNumber; //"107018"; // Group Control Number
GS[7] = "X"; // Responsible Agency Code Accredited Standards Committee X12 ]
GS[8] = "005010X279A1"; // Version Release / Industry[ Identifier Code Query
//string sep = "*";
string sCreatedGS = String.Join(sep, GS);
sCreatedGS = sCreatedGS + ElementSeparator;
return sCreatedGS.Trim();
}
// ST Segment - EDI(X12 A)-270 format
public string CreateST(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
ST st = new ST();
string[] ST = new string[4];
ST[0] = "ST"; // Transaction Set Header Segment ID
ST[1] = st.TransactionSetIdentifierCode; //"270"; // Transaction Set Identifier Code (Inquiry Request)
ST[2] = st.STControlNumber; //"0001"; // Transaction set control number must match SE
ST[3] = "005010X279A1";
// string sep = "*";
string sCreatedST = String.Join(sep, ST);
sCreatedST = sCreatedST + ElementSeparator;
return sCreatedST.Trim();
}
// BHT Segment - EDI(X12 A)-270 format
public string CreateBHT(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
BHT bht = new BHT();
string[] BHT = new string[6];
BHT[0] = "BHT"; // Beginning of Hierarchical Transaction Segment ID
BHT[1] = bht.SubscriberStructureCode; //"0022"; // Subscriber Structure Code
BHT[2] = bht.PurposeCode; //"13"; // Purpose Code - This is a Request
BHT[3] = bht.SubmitterTransactionIdentifier; //"TSG123"; // Submitter Transaction Identifier
//This information is required by the information Receiver
//when using Real Time transactions.
//For BATCH this can be used for optional information.
BHT[4] = bht.TransactionCreatedDate; //DateTime.Parse("2007/08/16").ToString("yyyyMMdd"); // Date Transaction Set Created
BHT[5] = bht.TransactionCreatedTime; //DateTime.Now.ToString("HHmmss").ToString(); // Time Transaction Set Created
//string sep = "*";
string sCreatedBHT = String.Join(sep, BHT);
sCreatedBHT = sCreatedBHT + ElementSeparator;
return sCreatedBHT.Trim();
}
// HL Segment - EDI-270 format
public string CreateHL(string row, int nHLCounter, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
HL hl = new HL();
string[] HL = new string[5];
HL[0] = "HL";
//HL_LEN[0] = 2;
HL[1] = Convert.ToString(nHLCounter); // Hierarchical ID No.
if (nHLCounter == 1)
{
HL[2] = "";
HL[3] = hl.HLCounter1Value1; //"20"; // Description: Identifies the payor, maintainer, or source of the information.
HL[4] = hl.HLCounter1Value2; //"1"; // 1 Additional Subordinate HL Data Segment in This Hierarchical Structure.
}
else if (nHLCounter == 2)
{
HL[2] = hl.HLCounter2Value0; //"1"; // Hierarchical Parent ID Number
HL[3] = hl.HLCounter2Value1; //"21"; // Hierarchical Level Code. '21' Information Receiver
HL[4] = hl.HLCounter2Value2; //"1"; // 1 Additional Subordinate HL Data Segment in This Hierarchical Structure.
}
else
{
HL[2] = hl.HLCounter3Value0; //"2";
HL[3] = hl.HLCounter3Value1; //"22"; // Hierarchical Level Code.'22' Subscriber
HL[4] = hl.HLCounter3Value2; //"0"; // 0 no Additional Subordinate in the Hierarchical Structure.
}
//string sep = "*";
string sCreatedHL = String.Join(sep, HL);
sCreatedHL = sCreatedHL + ElementSeparator;
return sCreatedHL.Trim();
}
public string CreateNM1(string row, string NM1Cast, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
NM1 nm1 = new NM1();
string[] NM1 = new string[10];
NM1[0] = "NM1";
if (NM1Cast == nm1.NM1PR)//nm1.NM1PR
{
NM1[1] = "PR"; // Entity ID Code - Payer [PR Payer]
NM1[2] = "2"; // Entity Type - Non-Person
NM1[3] = payer.PayerName; // Organizational Name
NM1[4] = ""; // Data Element not required.
NM1[5] = ""; // Data Element not required.
NM1[6] = ""; // Data Element not required.
NM1[7] = ""; // Data Element not required.
NM1[8] = "PI"; // 46 - Electronic Transmitter Identification Number (ETIN)
NM1[9] = payer.PayerID; //"ABC123";//X12info[3]; // Application Sender's ID
}
else if (NM1Cast == nm1.NM1P1)//nm1.1P
{
NM1[1] = "1P"; // Entity ID Code - Provider [1P Provider]
NM1[2] = "2"; // Entity Type - Person
NM1[3] = provider.ProviderName; //"TestOrg.."; //row['facility_name']; // Organizational Name
//NM1[4] = row['provider_lname']; // Data Element not required.
//NM1[5] = row['provider_fname']; // Data Element not required.
NM1[4] = ""; // Data Element not required.
NM1[5] = ""; // Data Element not required.
NM1[6] = ""; // Data Element not required.
NM1[7] = ""; // Data Element not required.
NM1[8] = "XX";
NM1[9] = provider.NPI; //"ABC123"; //row['provider_npi'];
}
else if (NM1Cast == nm1.NM1IL)////nm1.IL
{
NM1[1] = "IL"; // Insured or Subscriber
NM1[2] = "1"; // Entity Type - Person
// NM1[3] = "Khan"; patient.LastName
NM1[3] = patient.LastName; //row['lname']; // last Name
NM1[4] = patient.FirstName;//"Aifaz"; //row['fname']; // first Name
NM1[5] = ""; //row['mname']; // middle Name
NM1[6] = ""; // data element
NM1[7] = ""; // data element
NM1[8] = "MI"; // Identification Code Qualifier
NM1[9] = patient.IdentificationCode; //"12345"; //row['subscriber_ss']; // Identification Code
}
//string sep = "*";
string sCreatedNM1 = String.Join(sep, NM1);
sCreatedNM1 = sCreatedNM1 + ElementSeparator;
return sCreatedNM1.Trim();
}
public string CreateREF(string row, string sref, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
REF oref = new REF();
string[] REF = new string[3];
REF[0] = "REF";
if (sref == "1P")
{
REF[1] = "4A"; // Reference Identification Qualifier
REF[2] = oref.REFProviderPIN;//"ABC123"; // Provider Pin.
}
else
{
REF[1] = "TJ"; // 'EJ' for Patient Account Number
REF[2] = oref.REFPatAccountNO; //"ABC123"; // Patient Account No.
}
// string sep = "*";
string sCreatedREF = String.Join(sep, REF);
sCreatedREF = sCreatedREF + ElementSeparator;
return sCreatedREF.Trim();
}
public string CreateTRN(string row, string trancNO, string refIdentifier, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
TRN trn = new TRN();
// trn.TraceNumber = trancNO;
string[] TRN = new string[5];
TRN[0] = "TRN";
TRN[1] = "1";
TRN[2] = trn.TraceNumber; //trancNO; // Trace Number
TRN[3] = trn.CompanyID; //"9000000000"; // Originating Company ID must be 10 positions in length
TRN[4] = trn.RefIdentifier; //refIdentifier; // Additional Entity Identifier (i.e. Subdivision)
// string sep = "*";
string sCreatedTRN = String.Join(sep, TRN);
sCreatedTRN = sCreatedTRN + ElementSeparator;
return sCreatedTRN.Trim();
}
//Demographics
public string CreateDMG(string row, string[] X12info, string SegTerminator, string ElementSeparator)
{
string[] DMG = new string[4];
DMG[0] = "DMG";
DMG[1] = "D8"; // Date Format Qualifier - (D8 means CCYYMMDD)
DMG[2] = patient.DOB;//"1990/01/01"; // Subscriber's Birth date
DMG[3] = patient.Gender;
string sep = "*";
string sCreatedDMG = String.Join(sep, DMG);
sCreatedDMG = sCreatedDMG + ElementSeparator;
return sCreatedDMG.Trim();
}
public string CreateDTP(string row, string qual, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
//DTP dtp = new DTP();
//qual=291
//dtp.Qualifier = qual;
string[] DTP = new string[4];
DTP[0] = "DTP";
DTP[1] = dtp.Qualifier; //qual; // Qualifier - Date of Service
DTP[2] = dtp.DateFormatQualifier; // Date Format Qualifier - (D8 means CCYYMMDD)
if (qual == "102")
{
DTP[3] = dtp.EventDate; //"Date";//row['date']; // Date
}
else
{
DTP[3] = dtp.EventDate; //"1990/01/01";//row['pc_eventDate']; // Date of Service
}
//string sep = "*";
string sCreatedDTP = String.Join(sep, DTP);
sCreatedDTP = sCreatedDTP + ElementSeparator;
return sCreatedDTP.Trim();
}
public string CreateEQ(string row, string[] X12info, string SegTerminator, string ElementSeparator)
{
EQ eq = new EQ();
string[] EQ = new string[2];
EQ[0] = "EQ";
EQ[1] = eq.ServiceTypeCode; //"30"; // Service Type Code
string sep = "*";
string sCreatedEQ = String.Join(sep, EQ);
sCreatedEQ = sCreatedEQ + ElementSeparator;
return sCreatedEQ.Trim();
}
public string CreateSE(string row, string SegmentCount, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
//SegmentCount=14
SE se = new SE();
// se.SegmentCount = SegmentCount;
string[] SE = new string[3];
SE[0] = "SE";
SE[1] = se.SegmentCount;// SegmentCount; // Segment Count
SE[2] = se.TransactionSetControlNumber; //"0001"; // Transaction Set Control Number - Must match ST's
//string sep = "*";
string sCreatedSE = String.Join(sep, SE);
sCreatedSE = sCreatedSE + ElementSeparator;
return sCreatedSE.Trim();
}
public string CreateGE(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
GE ge = new GE();
string[] GE = new string[3];
GE[0] = "GE";
GE[1] = ge.NumberofIncludedTrans; //"1"; // Number of included Transaction Sets
GE[2] = ge.GroupControlNumber; //"1048"; // Group Control Number match with GS06
//string sep = "*";
string sCreatedGE = String.Join(sep, GE);
sCreatedGE = sCreatedGE + ElementSeparator;
return sCreatedGE.Trim();
}
public string CreateIEA(string row, string[] X12info, string SegTerminator, string ElementSeparator, string sep)
{
IEA iea = new IEA();
string[] IEA = new string[3];
IEA[0] = "IEA";
IEA[1] = iea.NumberofIncludedTrans; //"1"; // Number of included Functional Groups
IEA[2] = iea.InterchangeControlNumber; //"000000001"; // Interchange Control Number
//string sep = "*";
string sCreatedIEA = String.Join(sep, IEA);
sCreatedIEA = sCreatedIEA + ElementSeparator;
return sCreatedIEA.Trim();
}
public string PrintEDI(string row, string res, string[] X12info, string SegTerminator, string ElementSeparator)
{
int i = 1;
StringBuilder sbEDI = new StringBuilder();
string PatEDI = "";
// For Header Segment
int segmentcount = 1;
int nHlCounter = 1;
int rowCount = 1;
int trcNo = 1234501;
int refiden = 5432101;
//while (row = sqlFetchArray(res))
while (i == rowCount)
{
if (nHlCounter == 1)
{
// create ISA
sbEDI.AppendLine(CreateISA(row, X12info, SegTerminator, ElementSeparator, "*"));
// create GS
sbEDI.AppendLine(CreateGS(row, X12info, SegTerminator, ElementSeparator, "*"));
// create ST
sbEDI.AppendLine(CreateST(row, X12info, SegTerminator, ElementSeparator, "*"));
// create BHT
sbEDI.AppendLine(CreateBHT(row, X12info, SegTerminator, ElementSeparator, "*"));
// For Payer Segment
sbEDI.AppendLine(CreateHL(row, 1, X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateNM1(row, "PR", X12info, SegTerminator, ElementSeparator, "*"));
// For Provider Segment
sbEDI.AppendLine(CreateHL(row, 2, X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateNM1(row, "1P", X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateREF(row, "TJ", X12info, SegTerminator, ElementSeparator, "*"));//1P initially
nHlCounter = nHlCounter + 2;
segmentcount = 7; // segement counts - start from ST
}
// For Subscriber Segment
// PatEDI += CreateHL(row, nHlCounter, X12info, SegTerminator, ElementSeparator);
sbEDI.AppendLine(CreateHL(row, nHlCounter, X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateTRN(row, Convert.ToString(trcNo), Convert.ToString(refiden), X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateNM1(row, "IL", X12info, SegTerminator, ElementSeparator, "*"));
// sbEDI.AppendLine(CreateREF(row, "IL", X12info, SegTerminator, ElementSeparator, "*")); //Commented repeating
sbEDI.AppendLine(CreateDMG(row, X12info, SegTerminator, ElementSeparator));
sbEDI.AppendLine(CreateDTP(row, "472", X12info, SegTerminator, ElementSeparator, "*"));
sbEDI.AppendLine(CreateEQ(row, X12info, SegTerminator, ElementSeparator));
segmentcount = segmentcount + 7;
nHlCounter = nHlCounter + 1;
rowCount = rowCount + 1;
trcNo = trcNo + 1;
refiden = refiden + 1;
//i = i + 1;
//if(rowCount == sqlNumRows(res))
if (i == 1)
{
segmentcount = segmentcount + 1;
// PatEDI += CreateSE(row, Convert.ToString(segmentcount), X12info, SegTerminator, ElementSeparator);
sbEDI.AppendLine(CreateSE(row, Convert.ToString(segmentcount), X12info, SegTerminator, ElementSeparator, "*"));
// PatEDI += CreateGE(row, X12info, SegTerminator, ElementSeparator);
sbEDI.AppendLine(CreateGE(row, X12info, SegTerminator, ElementSeparator, "*"));
//PatEDI += CreateIEA(row, X12info, SegTerminator, ElementSeparator);
sbEDI.AppendLine(CreateIEA(row, X12info, SegTerminator, ElementSeparator, "*"));
}
}
//print $PATEDI;
return PatEDI = sbEDI.ToString();
}
} // End of ManualX12Creation Class
}
Segments Classes:
Similarly we create other segments classes as like above and passed it to above main class.
To input data into 270 string using class
And finally invoke class as below
ManualX12Creation objManualX12Creation = new ManualX12Creation(oPatient, oProvider, oPayer, oDTP);
string[] X12info = new string[5];
string FileContent = objManualX12Creation.PrintEDI("row", "res", X12info, ":", "~");
Segments Classes:
Similarly we create other segments classes as like above and passed it to above main class.
To input data into 270 string using class
And finally invoke class as below
ManualX12Creation objManualX12Creation = new ManualX12Creation(oPatient, oProvider, oPayer, oDTP);
string[] X12info = new string[5];
string FileContent = objManualX12Creation.PrintEDI("row", "res", X12info, ":", "~");
I will provide full source code if somebody need it..
ReplyDeleteCould you provide the code, thanks a lot
Deletealbert_asis@hotmail.com
DeletePlease provide me the Source Code here is my email:-
Deletesaqib.00@gmail.com
Thanks
Please provide code: sivan.svm@gmail.com
DeleteThanks!
Please help me. Could you please send me source code
Deleteajose2255 at gmail dot com
I would love to have the source if you don't mind. Thanks a bunch.
DeleteEmail: ramesl@gmail.com
Can you please provide full source code on below Id
Deletehitendra.softwareengg@gmail.com
Could you provide the code, thanks a lot
Deletealbert_asis@hotmail.com
Hi. Can you please email me the source code at srinivas.saggurthi@gmail.com
DeleteThanks
Hi Aifaz. You are doing a great job bro.I also need to develop the same functionality.Could you please send me the code? My email id is : sajalpatranabish5@gmail.com. Thanks...
DeleteHi Thanks for your article , please would you share the code with me and if i have X12 271 response how can i parse it to your object; so i can read it and get the needed information for patient
Deletesample data that i need to parse it below
ISA|00| |00| |ZZ|ZIRMED |ZZ|605 |191123|0403|}|00501|000104831|0|P|^~GS|HB|ZIRMED|605|20191123|0403|104831|X|005010X279A1~ST|271|0001|005010X279A1~BHT|0022|11||20191123|040301~HL|1||20|1~NM1|P5|2|TEST DATA|||||PI|87726~HL|2|1|21|1~NM1|1P|1|ZIRMED|DEMO||||XX|1234567890~HL|3|2|22|0~TRN|2|217648508|9ZIRMEDCOM~TRN|2|220686992|9ZIRMEDCOM|ELR ID~TRN|1|218559495|9ZIRMEDCOM|ELI ID~NM1|IL||DOE|JOHN~DMG|D8|19880905~EB|1||30|C1|CHOICE PLUS~LS|2120~NM1|P5|2|TEST DATA|||||PI|87726~N3|P.O. BOX 30555~N4|SALT LAKE CITY|UT|841300555~PER|IC~LE|2120~EB|C|IND|30|||23|500|||||W~EB|G|FAM|30|C1||23|2000|||||W~EB|G|IND|30|C1||23|1000|||||W~EB|C|FAM|30|||24|0|||||W~EB|C|IND|30|||24|0|||||W~EB|G|FAM|30|C1||24|0|||||W~EB|G|IND|30|C1||24|0|||||W~EB|C|IND|30|||29|500|||||W~EB|G|FAM|30|C1||29|2000|||||W~EB|G|IND|30|C1||29|1000|||||W~EB|C|FAM|30|||23|1500|||||Y~EB|C|FAM|30|||29|2000|||||N~EB|C|FAM|30|||23|2000|||||N~EB|C|FAM|30|||29|1500|||||Y~EB|1||12|||||||||W~EB|A|IND|12|||27||.4||||N~EB|A|IND|12|||27||.2||||Y~EB|B|IND|12|||27|0|||||W~EB|C|FAM|12||||0|||||W~EB|F|IND|12||||0|||||W~EB|F|IND|12||||0|||||W~MSG|ADDITIONAL COVERED PER OCCURRENCE~EB|X~LS|2120~NM1|1P|1|ZIRMED|DEMO||||XX|1234567890~LE|2120~SE|46|0001~GE|1|104831~IEA|1|000104831~
Please send me source code to mcnealrealty@gmail.com.
DeleteThanks in advance
Sure algel
ReplyDeleteplease help me i need sample code like this
ReplyDeletecan you email it..
here's my email: pro.jhonnelremolin@gmail.com
I sent you full source code along with sample call, pls check. Thanks
DeletePlease forward me the code at
ReplyDeletevrma.abhimanyu@gmail.com
Thanks
Abhimanyu
Hi Abhimanyu,
DeleteI've sent you source code along with sample call.
please let me know if you need more help or clarification on this.
I would love to have the source if you don't mind. Thanks a bunch.
DeleteEmail: crevenant@gmail.com
Hi Chris,
DeleteI've sent you source code along with sample call at above-mentioned email. If you think would need more help, pls feel free to ask me. Thanks
hi aifaz,
ReplyDeletegrt job!
can u please send source code my email id is eman.673@gmail.com
Hi Eman,
DeleteI've sent you source code along with sample call at above-mentioned email. If you need more assistance, feel free to ask me. Thanks
Hi aifaz
ReplyDeletegood job. Please mail me source code at mail.happpy@gmail.com
Sent you source code along with sample call.
ReplyDeleteThanks
please forward your code. its really help for me.
DeleteHello aifaz
ReplyDeletePlease mail me source code at saqib.00@gmail.com
Just sent you full source code along with sample call.
DeleteThanks
Hi. Can you please email me the source code at webmaster@enjetek.com?
ReplyDeleteThanks
Sent you source code, pl check
DeleteHello!
ReplyDeleteCan you please send me the source code?
my email is: sivan.svm@gmail.com
Source code sent, pls check
DeleteHello and thank you, can you please send me the source code as well?
ReplyDeletemy email: disguised.penguin@gmail.com
Can I get a copy of the source code ?
ReplyDeleteThanks, Tom
Thank you very much for the contribution.
ReplyDeletePlease could send me the source code to my mail.
edinson.sanchez.ch@gmail.com
I would be very grateful.
May I have the source code pls.
ReplyDeleteThx a lot. My Email is z06g@yandex.com
Hi,
ReplyDeleteCould you please share the source code?
My email address is salamaabid@gmail.com
Thanks in advance
Aabid
Hi,
ReplyDeletePlease send me the source code to my mail:
jovanov.dejan@gmail.com
Many Thanks,
Dejan
Hi,
ReplyDeleteCan you please send me the source code?
my email is: starasifislam110@gmail.com
Hi Aifaz,
ReplyDeleteCan you please provide the source code?
Email: aries_salil@hotmail.com
Hi,
ReplyDeleteCould you please share the source code?
My email address is gokhan.beler@gmail.com
Thanks in advance
Gokhan
Hi,
ReplyDeleteCan you please provide me the source code?
email: ernestpaulferrer@gmail.com
Thanks.
Hello -
ReplyDeleteGreat article! Please save me from having to write all the same monotonous string code. Could I get the source code?
tr33hugger@yahoo.com
Thank you.
Nice article! Could you send me the code at ivan.mudryj@gmail.com ?
ReplyDeleteHow can I contact you if I want to HIRE YOU?
ReplyDeletePlease send the source code to Richard@baronsoftware.com
ReplyDeletePlease send source code to selenaavue@gmail.com
ReplyDeleteImpressive. Can you please share the source code to sathiyaraj.t@gmail.com
ReplyDeleteHi!!
ReplyDeletePlease send source code to jomora15@hotmail.com
Thanks!!!
Hi.
ReplyDeleteCan you please send source code to skinnerjames@sbcglobal.net
Thanks!1
Hi!!
ReplyDeletePlease send source code to sajjadbabar5@gmail.com
Thanks!!!
Hi, Could you send me the code at vishal.gssc@gmail.com. I would be very thankful to you.
ReplyDeleteThanks
Hi,
ReplyDeleteGreat article! Please could you send the source code and sample call to mail2sujeesh@gmail.com
Thank you.
Very Nice!! Please can you share the source code to ivan.mudryj@gmail.com or publish it somewhere? THANKS A LOT
ReplyDeleteHi,
ReplyDeletevery impressive. Could you please share the source code to padmas428@gmail.com.
Thanks
good morning sir,I read your complete explaination I need the source code for ED 270/271 for both please send me on my email id:lovesharma0391@gmail.com
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteIt is a very helpful article. Could you please send the source code and sample call to gagangupta6475@gmail.com
Thank you.
Hii
ReplyDeleteI am stuck in a problem. Please send me the code with sample call as soon as possible to gagangupta6475@gmail.com
Thank you.
I have developed my EDI 270 file using your code. My EDI looks like below:
ReplyDeleteISA*00* 00 *ZZ*000345678 ZZReceiverID *181123*1153*}*00401*000000001*1*P*:~ GS*HS*000345678*ReceiverID*20181123*115305*0001*X*005010X279A1~ ST*270*0001*005010X279A1~ BHT*0022*13*(it is empty)*20181123*1153~ HL*1**20*1~ NM1*PR*2******PI*CMS~ HL*2*1*21*1~ NM1*1P*2******XX*0123456789~ HL*3*2*22*0~ NM1*IL*1*JAIN*PRACHI****MI*123456789A~ DMG*D8*19810809*F~ SE*10*0001~ GE*1*0001~ IEA*1*000000001~
But when I am trying to get the response EDI 271 from an API it always returns the acknowledgement given below:
ISA|00| |00| |ZZ|MyAPIName |ZZ|17282 |181119|0134|U|00401|000000001|1|P|^~ TA1|000000000|181119|0134|R|023~ IEA|0|000000001~
I searched for the description of this acknowledgement and i found it indicates "improper(premature) end of file as given in this document:
"https://docs.microsoft.com/en-us/biztalk/core/x12-ta1-acknowledgment-error-codes"
I developed my EDI 270 file using this document as a referral: "https://www.cms.gov/Medicare/Coordination-of-Benefits-and-Recovery/Mandatory-Insurer-Reporting-For-Group-Health-Plans/Downloads/New-Downloads/MMSEA-111-270-271-Health-Care-Eligibility-Benefit-Inquiry.pdf"
According to this document my EDI 270 file is correct(I checked all the values from this document). But the API I am hitting to get 271 response always returns the acknowledgement i specified above.
Please help me to find the error/problem in my EDI file and its solution. If you have any solution for my problem please help me with the solution.
This comment has been removed by the author.
ReplyDeleteHi Sir , Can you please send source code to send / receive 270 request & response
DeleteA very nice implementation of X.12 270 message. Have you thought of adding your code on GitHub? If possible can you send me the full implementation to tuser90210@gmail.com.
ReplyDeleteThanks in advance.
Hi,
ReplyDeleteThank you for your article. Could you please send the source code and sample to pantelo@gmail.com
Thank you.
Hi,
ReplyDeleteThank you for your article. Could you please send the source code and sample to vitaliyk14@gmail.com
Thank you!
Hi,
ReplyDeleteReally great piece of work, can you share code with me : devkarsurya@gmail.com
Can you please provide me full source code? Thanks in advance
ReplyDeleteCan you please provide me full source code? Thanks in advance. Here is my email
ReplyDeleteathar.naeem@bilytica.com.au
Would you please send me the source Code: karimk74@gmail.com, Thanks Karim
ReplyDeleteplease send me the full source code, matthew.mikhail07@gmail.com.
ReplyDeleteThanks,
Matthew
Please send me source code. Thanks in advance
ReplyDeletePlease send me source code. kevin.mcneal01@gmail.com Thanks in advance
ReplyDeletePlease send me Source code muthukumar@isourceindia.com. Thanks
ReplyDeleteHi, Can you please send me source code in this email Id "grover.jogesh@gmail.com". Thanks
ReplyDeleteIt's a fantastic article, and you've put in a lot of effort. Could you please provide the code to jitenvoice@gmail.com so that I can test it?
ReplyDeleteThanks
Hi Aifaz, Could you please provide the full source code to idanovich4@gmail.com
ReplyDeleteThanks in advance,
Irina
This comment has been removed by the author.
ReplyDeleteCan you please send the entire code to sagar.jumble10@gmail.com
ReplyDeleteHi Sagar , Can you please share source code for 270 request..
DeleteHi Aifaz, Could you please provide the full source code to smjegathesh@gmail.com
ReplyDeleteThanks in advance,
Hi!!
ReplyDeletePlease send source code to haysuse79@gmail.com
Thanks!!!