Download OpenAPI specification:
EDI Converter API for converting/parsing 835, 837 and other healthcare EDI and NCPDP telecom transactions to JSON or CSV.
Returns application info, including version and license
version | string |
buildDateTime | string <date-time> |
object (LicenseInfo) |
{- "version": "2.10",
- "buildDateTime": "2024-11-26T12:23:10.875",
- "licenseInfo": {
- "expiration": "2025-11-21",
- "entitlements": [
- "EDI"
], - "isSignatureValid": true,
- "licenseFile": "/./etc/edi-license.bin",
- "expired": false
}
}
Converts X12 EDI input to CSV. You can post the EDI file's content as text or use multi-part request to upload files.
See Python and curl examples in our GitHub repo.
See also introduction to the CSV conversion API here.
You can find output examples for all formats here.
Converts X12 EDI input into comma-separated (CSV) flat file format. EDI can be posted as text in the body of the request or uploaded using a multi-part/form-data request.
The output is streamed as the input is parsed.
See the data dictionary for more details about the response schema, including mappings to X12 EDI elements.
The CSV output is highly customizable. See this guide for more details.
Output examples:
schemaFileName | string Default: "csv_conversion.yaml" Name of the file containing the CSV conversion schemas. See this document for more details. |
schemaName | string Default: "lines-with-header-repeat-first-row" Name of the 'schema' (configuration) for CSV conversion in the CSV schema file. See this document for more details. |
ediFileName | string The name of the EDI file submitted as text. This name will be propagated to the |
warningsInResponse | boolean Default: false Write EDI parsing warnings to the response stream. Warnings are written into the first column and start with "WARNING:" prefix. If not set, warnings are only written to logs. See User Guide for more details. |
maxWarnings | integer Default: 50 Maximum number of EDI parsing warnings per file before raising Too Many Warnings" error and stopping. |
chunkSize | integer <int32> Default: 200 How many claims or payments to parse at a time |
files required | Array of strings <binary> [ items <binary > ] |
id | string Unique payment identifier assigned by the converter |
transactionType | string Transaction set identifier code. EDI: ST01 |
fileName | string Converted X12 EDI file name |
transactionControlNumber | string Transaction set control number. EDI: ST02 |
patientControlNumber | string Identifier used to track a claim from creation by the health care provider through payment. EDI: CLP01 |
claimStatus | string Claim status |
chargeAmount | number <float> Charge amount. EDI: CLP03 |
paymentAmount | number <float> Payment amount. EDI: CLP04 |
patientResponsibilityAmount | number <float> Patient responsibility amount. EDI: CLP05 |
claimFilingIndicatorCode | string Claim filing indicator code. EDI: CLP06 |
payerControlNumber | string Payer control number. EDI: CLP07 |
object (Code) Place of service code (professional/dental) or UB facility code (institutional) from the original claim | |
frequencyTypeCode | string Frequency type code |
drgCode | string Diagnosis-related group code. Institutional claims only.. EDI: CLP11 |
drgWeight | number <float> Adjudicated DRG weight. Institutional claims only.. EDI: CLP12 |
dischargeFraction | number <float> Adjudicated discharge fraction. Institutional claims only. This is a percentage expressed as decimal.. EDI: CLP13 |
totalPaymentAmount | number <float> Total payment amount. EDI: BPR02 |
creditOrDebitFlagCode | string Credit or debit flag code. EDI: BPR03 |
paymentMethodType | string Payment method type. EDI: BPR04 |
receiverAccountNumber | string Receiver account number. EDI: BPR15 |
paymentDate | string <date> Payment date. EDI: BPR16 |
checkOrEftTraceNumber | string Check or eft trace number. EDI: TRN02 |
payerEin | string Payer identifier. This must be a '1' followed by the payer EIN. This field is also copied to the payerIdentifier field if it wasn't provided in N104.. EDI: TRN03 |
productionDate | string <date> Production date. EDI: DTP03 *405 |
totalAdjAmount | number <float> Sum total of all adjustments from all service lines |
Array of objects (Adjustment) Claim adjustments. EDI: CAS | |
object (Party) Payer. EDI: N1 *PR | |
object (Party) Payee. EDI: N1 *PE | |
object (PartyIdName) The insured (subscriber) or patient from the original claim. EDI: NM1 *QC | |
object (PartyIdName) The insured (subscriber) from the original claim if the insured is different from the patient. EDI: NM1 *44 | |
object (PartyIdName) Corrected patient. EDI: NM1 *74 | |
object (PartyIdName) Service provider. EDI: NM1 *SJ | |
object (PartyIdName) Crossover carrier. EDI: NM1 *TT | |
object (PartyIdName) Corrected priority payer, meaning that current payer believes that another payer has priority for making a payment. EDI: NM1 *PR | |
object (PartyIdName) Other subscriber. EDI: NM1 *GB | |
Array of objects (Reference) Other claim-related identifications. EDI: REF | |
serviceDateFrom | string <date> The earliest service date from service lines |
serviceDateTo | string <date> The latest service date from service lines |
statementDateFrom | string <date> Statement date from. EDI: DTP03 *232 |
statementDateTo | string <date> Statement date to. EDI: DTP03 *233 |
coverageExpirationDate | string <date> Coverage expiration date. EDI: DTP03 *036 |
claimReceivedDate | string <date> Claim received date. EDI: DTP03 *050 |
coverageAmount | number <float> Coverage amount from the list of supplemental amounts. EDI: AMT02 *AU |
Array of objects (Amount) Supplemental claim/payment amounts, such as coverage amount, discount amount, etc.. EDI: AMT | |
Array of objects (Quantity) Supplemental claim/payment quantities. EDI: QTY | |
Array of objects (PaymentLineCsv) Service payment information. EDI: Loop: 2110 |
# Post EDI as text curl -X POST -H "Content-Type: text/plain" \ --data-binary @../edi_files/835/835.edi \ "$API_URL/edi/csv?ediFileName=837.edi" # Upload EDI files using multipart request curl -F files=@"../edi_files/837/837-1.dat" -F files=@"../edi_files/837/837-2.dat" \ $API_URL/edi/csv
Id,TransactionType,FileName,TransactionControlNumber,PatientControlNumber,ClaimStatus,ChargeAmount,PaymentAmount,PatientResponsibilityAmount,ClaimFilingIndicatorCode,PayerControlNumber,FacilityCode,FrequencyTypeCode,DrgCode,DrgWeight,DischargeFraction,TotalPaymentAmount,CreditOrDebitFlagCode,PaymentMethodType,ReceiverAccountNumber,PaymentDate,CheckOrEftTraceNumber,PayerEin,ProductionDate,TotalAdjAmount,Adj1Group,Adj1ReasonCode,Adj1Amount,Adj1Quantity,Adj2Group,Adj2ReasonCode,Adj2Amount,Adj2Quantity,Adj3Group,Adj3ReasonCode,Adj3Amount,Adj3Quantity,Adj4Group,Adj4ReasonCode,Adj4Amount,Adj4Quantity,Adj5Group,Adj5ReasonCode,Adj5Amount,Adj5Quantity,PayerIdentificationType,PayerIdentifier,PayerName,PayerAddressLine,PayerAddressLine2,PayerAddressCity,PayerAddressStateCode,PayerAddressZipCode,PayerContact1Name,PayerContact1ContactNumber1Type,PayerContact1ContactNumber1Number,PayerContact1ContactNumber2Type,PayerContact1ContactNumber2Number,PayerContact2Name,PayerContact2ContactNumber1Type,PayerContact2ContactNumber1Number,PayerContact2ContactNumber2Type,PayerContact2ContactNumber2Number,PayerAdditionalId1Type,PayerAdditionalId1Identification,PayerAdditionalId2Type,PayerAdditionalId2Identification,PayeeIdentificationType,PayeeIdentifier,PayeeLastNameOrOrgName,PayeeAddressLine,PayeeAddressLine2,PayeeAddressCity,PayeeAddressStateCode,PayeeAddressZipCode,PayeeContacts,PayeeAdditionalId1Type,PayeeAdditionalId1Identification,PayeeAdditionalId2Type,PayeeAdditionalId2Identification,PatientIdentificationType,PatientIdentifier,PatientLastName,PatientFirstName,PatientMiddleName,SubscriberIdentificationType,SubscriberIdentifier,SubscriberLastName,SubscriberFirstName,SubscriberMiddleName,CorrectedPatientIdentificationType,CorrectedPatientIdentifier,CorrectedPatientLastName,CorrectedPatientFirstName,CorrectedPatientMiddleName,ServiceProviderIdentificationType,ServiceProviderIdentifier,ServiceProviderLastNameOrOrgName,ServiceProviderFirstName,ServiceProviderMiddleName,ServiceProviderContacts,ServiceProviderAdditionalId1Type,ServiceProviderAdditionalId1Identification,ServiceProviderAdditionalId2Type,ServiceProviderAdditionalId2Identification,CrossoverCarrierIdentificationType,CrossoverCarrierIdentifier,CrossoverCarrierName,CorrectedPayerIdentificationType,CorrectedPayerIdentifier,CorrectedPayerName,OtherSubscriberIdentificationType,OtherSubscriberIdentifier,OtherSubscriberLastName,OtherSubscriberFirstName,OtherSubscriberMiddleName,OtherClaimRelatedId1Type,OtherClaimRelatedId1Identification,OtherClaimRelatedId2Type,OtherClaimRelatedId2Identification,ServiceDateFrom,ServiceDateTo,StatementDateFrom,StatementDateTo,CoverageExpirationDate,ClaimReceivedDate,CoverageAmount,SupplementalAmt1QualifierCode,SupplementalAmt1Type,SupplementalAmt1Amount,SupplementalAmt2QualifierCode,SupplementalAmt2Type,SupplementalAmt2Amount,SupplementalQty1QualifierCode,SupplementalQty1Type,SupplementalQty1Quantity,SupplementalQty2QualifierCode,SupplementalQty2Type,SupplementalQty2Quantity,LineControlNumber,LineProcedureCode,LineProcedureModifier1Code,LineProcedureModifier2Code,LineProcedureModifier3Code,LineRevenueCode,LineDrugCode,LineChargeAmount,LinePaidAmount,LineUnitCount,LineOriginalProcedureCode,LineOriginalProcedureModifier1Code,LineOriginalProcedureModifier2Code,LineOriginalProcedureModifier3Code,LineOriginalRevenueCode,LineOriginalDrugCode,LineOriginalUnitCount,LineServiceDateFrom,LineServiceDateTo,LineTotalAdjAmount,LineAdj1Group,LineAdj1ReasonCode,LineAdj1Amount,LineAdj1Quantity,LineAdj2Group,LineAdj2ReasonCode,LineAdj2Amount,LineAdj2Quantity,LineAdj3Group,LineAdj3ReasonCode,LineAdj3Amount,LineAdj3Quantity,LineAdj4Group,LineAdj4ReasonCode,LineAdj4Amount,LineAdj4Quantity,LineAdj5Group,LineAdj5ReasonCode,LineAdj5Amount,LineAdj5Quantity,LineServiceId1Type,LineServiceId1Identification,LineServiceId2Type,LineServiceId2Identification,LineServiceId3Type,LineServiceId3Identification,LineHealthcarePolicyId,LineRenderingProviderId1Type,LineRenderingProviderId1Identification,LineRenderingProviderId2Type,LineRenderingProviderId2Identification,LineAllowedAmount,LineSupplementalAmt1QualifierCode,LineSupplementalAmt1Type,LineSupplementalAmt1Amount,LineSupplementalAmt2QualifierCode,LineSupplementalAmt2Type,LineSupplementalAmt2Amount,LineSupplementalQty1QualifierCode,LineSupplementalQty1Type,LineSupplementalQty1Quantity,LineSupplementalQty2QualifierCode,LineSupplementalQty2Type,LineSupplementalQty2Quantity,LineRemarkCode1,LineRemarkCode2,LineRemarkCode3,LineRemarkCode4,LineRemarkCode5 685ed81b064e3f313d0031b7,835,claim_adj_reason.dat,10060875,PATACCT,PRIMARY,400,80,,MC,CLAIMNUMBER,11,1,,,,80,C,CHECK,,2019-08-16,CK NUMBER 1,1234567890,2019-08-27,320,,,,,,,,,,,,,,,,,,,,,,1234567890,ANY PLAN USA,1 WALK THIS WAY,,ANYCITY,OH,45209,,PHONE,8661112222,,,EDI,PHONE,8002223333,EMAIL,EDI.SUPPORT@ANYPAYER.COM,,,,,NPI,1123454567,PROVIDER,2255 ANY ROAD,,ANY CITY,CA,12211,,,,,,MEMBER_ID,ABC123456789,DOE,JOHN,N,MEMBER_ID,ABC123456789,DOE,JOHN,N,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2019-01-01,2019-01-01,,,,2019-02-09,150,AU,COVERAGE_AMOUNT,150,,,,,,,,,,1,99213,,,,,,150,80,1,,,,,,,,2019-01-01,2019-01-01,70,CONTRACTUAL,45,70,,,,,,,,,,,,,,,,,,,,,,,,,,,,,80,B6,ALLOWED_ACTUAL,80,,,,,,,,,,,,,, 685ed81b064e3f313d0031b7,,,,PATACCT,,,,,,CLAIMNUMBER,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,85003,,,,,,100,0,1,,,,,,,,2019-01-01,2019-01-01,100,CONTRACTUAL,204,100,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 685ed81b064e3f313d0031b7,,,,PATACCT,,,,,,CLAIMNUMBER,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,36415,,,,,,150,0,1,,,,,,,,2019-01-01,2019-01-01,150,CONTRACTUAL,97,150,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 685ed81b064e3f313d0031d9,835,not_covered_inpatient.dat,10060875,PATACCT,PRIMARY,40000,8000,,MC,CLAIMNUMBER,11,1,,,,8000,C,CHECK,,2019-08-16,CK NUMBER 1,1234567890,2019-08-27,32000,CONTRACTUAL,197,2000,1,CONTRACTUAL,45,30000,,,,,,,,,,,,,,,1234567890,ANY PLAN USA,1 WALK THIS WAY,,ANYCITY,OH,45209,,PHONE,8661112222,,,EDI,PHONE,8002223333,EMAIL,EDI.SUPPORT@ANYPAYER.COM,,,,,NPI,1123454567,PROVIDER,2255 ANY ROAD,,ANY CITY,CA,12211,,,,,,MEMBER_ID,ABC123456789,DOE,JOHN,N,MEMBER_ID,ABC123456789,DOE,JOHN,N,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2019-01-01,2019-01-05,2019-02-28,2019-02-09,38000,AU,COVERAGE_AMOUNT,38000,,,,CA,COVERED,4,,,,1,,,,,,,,,,,,,,,,,,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 685ed81b064e3f313d003227,835,negotiated_discount.dat,35681,7722337,PRIMARY,226,132,10,12,119932404007801,11,1,,,,132,C,CHECK,456,2019-03-31,12345,1512345678,2019-03-14,32405,CONTRACTUAL,197,2000,1,CONTRACTUAL,45,30000,,PATIENT_RESPONSIBILITY,132,259,,,,,,,,,,,,DELTA DENTAL OF ABC,225 MAIN STREET,,CENTERVILLE,PA,17111,JANE DOE,PHONE,9005555555,,,,,,,,PAYER_IDENTIFICATION_NUMBER,0101,HEALTH_INDUSTRY_NUMBER,0202,EIN,999994703,BAN DDS LLC,225 MAIN STREET,,CENTERVILLE,PA,17111,,PAYEE_IDENTIFICATION_NUMBER,0505,,,,,DOE,SALLY,,MEMBER_ID,SJD11111,DOE,John,,,,,,,NPI,1811901945,BAN,ERIN,,,MEDICARE_PROVIDER_NUMBER,12345678,,,CMS_PLAN_ID,9876,ACME INSURANCE,CMS_PLAN_ID,8765,ACME INSURANCE,,,Smith,Jane,,,,,,2019-03-24,2019-03-25,2022-09-15,2022-09-16,2022-10-01,2022-11-24,132,AU,COVERAGE_AMOUNT,132,D8,DISCOUNT_AMOUNT,100,CA,COVERED,4,,,,A123,D0120,02,28,,0222,,46,25,3.1,D0140,1,,,,,3.5,2019-03-24,2019-03-24,21,CONTRACTUAL,131,21,,,,,,,,,,,,,,,,,,RATE_CODE_NUMBER,100,APG_NUMBER,101,AMBULATORY_PAYMENT,102,"1234""5",CMS_NPI,P123,MEDICARE_PROVIDER_NUMBER,P234,25,B6,ALLOWED_ACTUAL,25,,,,ZL,MEDICARE_MEDICAID_CAT_2,3.75,,,,M1,M2,,, 685ed81b064e3f313d003227,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,D0220,,,,,,25,14,1,,,,,,,,2019-03-24,2019-03-24,11,CONTRACTUAL,131,11,,,,,,,,,,,,,,,,,,,,,,,,,,,,,14,B6,ALLOWED_ACTUAL,14,,,,,,,,,,,,,, 685ed81b064e3f313d003227,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,D0230,,,,,,22,10,1,,,,,,,,2019-03-24,2019-03-24,12,CONTRACTUAL,131,12,,,,,,,,,,,,,,,,,,,,,,,,,,,,,10,B6,ALLOWED_ACTUAL,10,,,,,,,,,,,,,, 685ed81b064e3f313d003227,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,D0274,,,,,,60,34,1,,,,,,,,2019-03-24,2019-03-24,26,CONTRACTUAL,131,26,,,,,,,,,,,,,,,,,,,,,,,,,,,,,34,B6,ALLOWED_ACTUAL,34,,,,,,,,,,,,,, 685ed81b064e3f313d003227,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,5,D1110,,,,,,73,49,1,,,,,,,,2019-03-24,2019-03-25,76,CONTRACTUAL,131,24,,CONTRACTUAL,3,25,,OTHER,131,27,,,,,,,,,,,,,,,,,,,,,49,B6,ALLOWED_ACTUAL,49,KH,DEDUCTION,50,,,,,,,,,,, 685ed81b064e3f313d00324a,835,dollars_data_separate.dat,112233,5554555444,PRIMARY,800,500,300,12,94060555410000,11,1,,,,1100,C,ACH,144444,2019-03-16,71700666555,1935665544,2019-03-14,300,,,,,,,,,,,,,,,,,,,,,,1935665544,RUSHMORE LIFE,10 SOUTH AVENUET,,RAPID CITY,SD,55111,JOHN WAYNE,PHONE,8005551212,EXTENSION,123,,,,,,,,,,NPI,5544667733,ACME MEDICAL CENTER,,,,,,,,,,,MEMBER_ID,33344555510,BUDD,WILLIAM,,MEMBER_ID,33344555510,BUDD,WILLIAM,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2023-03-01,2023-03-01,,,,,800,AU,COVERAGE_AMOUNT,800,,,,,,,,,,1,99211,,,,,,800,500,1,,,,,,,,2023-03-01,2023-03-01,300,PATIENT_RESPONSIBILITY,1,300,,,,,,,,,,,,,,,,,,,,,,,,,,,,,800,B6,ALLOWED_ACTUAL,800,,,,,,,,,,,,,, 685ed81b064e3f313d00324b,835,dollars_data_separate.dat,112233,8765432112,PRIMARY,1200,600,600,12,9407779923000,11,1,,,,1100,C,ACH,144444,2019-03-16,71700666555,1935665544,2019-03-14,600,,,,,,,,,,,,,,,,,,,,,,1935665544,RUSHMORE LIFE,10 SOUTH AVENUET,,RAPID CITY,SD,55111,JOHN WAYNE,PHONE,8005551212,EXTENSION,123,,,,,,,,,,NPI,5544667733,ACME MEDICAL CENTER,,,,,,,,,,,MEMBER_ID,44455666610,SETTLE,SUSAN,,MEMBER_ID,44455666610,SETTLE,SUSAN,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2023-03-10,2023-03-10,,,,,1200,AU,COVERAGE_AMOUNT,1200,,,,,,,,,,1,93555,,,,,,1200,600,1,,,,,,,,2023-03-10,2023-03-10,600,PATIENT_RESPONSIBILITY,1,600,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1200,B6,ALLOWED_ACTUAL,1200,,,,,,,,,,,,,, 685ed81b064e3f313d00329f,835,835-all-fields.dat,35681,7722337,PRIMARY,226,132,10,12,119932404007801,11,1,025,0.5,0.4,132,C,CHECK,456,2019-03-31,12345,1512345678,2019-03-14,32405,CONTRACTUAL,197,2000,1,CONTRACTUAL,45,30000,,PATIENT_RESPONSIBILITY,132,259,,,,,,,,,,,,DELTA DENTAL OF ABC,225 MAIN STREET,,CENTERVILLE,PA,17111,JANE DOE,PHONE,9005555555,EXTENSION,123,,URL,myplan.com/policies,,,PAYER_IDENTIFICATION_NUMBER,0101,HEALTH_INDUSTRY_NUMBER,0202,EIN,999994703,BAN DDS LLC,225 MAIN STREET,,CENTERVILLE,PA,17111,,PAYEE_IDENTIFICATION_NUMBER,0505,,,,,DOE,SALLY,,MEMBER_ID,SJD11111,DOE,John,,INSURED_CHANGED_ID,SJD999,Due,,,NPI,1811901945,BAN,ERIN,,,MEDICARE_PROVIDER_NUMBER,12345678,,,CMS_PLAN_ID,9876,ACME INSURANCE,CMS_PLAN_ID,8765,ACME INSURANCE,,,Smith,Jane,,,,,,2019-03-24,2019-03-25,2022-09-15,2022-09-16,2022-10-01,2022-11-24,132,AU,COVERAGE_AMOUNT,132,D8,DISCOUNT_AMOUNT,100,CA,COVERED,4,,,,A123,D0120,02,28,,0022,,46,25,3.1,D0140,1,,,,,3.5,2019-03-24,2019-03-24,21,CONTRACTUAL,131,21,,,,,,,,,,,,,,,,,,RATE_CODE_NUMBER,100,APG_NUMBER,101,AMBULATORY_PAYMENT,102,"1234""5",CMS_NPI,P123,MEDICARE_PROVIDER_NUMBER,P234,25,B6,ALLOWED_ACTUAL,25,,,,ZL,MEDICARE_MEDICAID_CAT_2,3.75,,,,M1,M2,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,D0220,,,,,,25,14,1,,,,,,,,2019-03-24,2019-03-24,11,CONTRACTUAL,131,11,,,,,,,,,,,,,,,,,,,,,,,,,,,,,14,B6,ALLOWED_ACTUAL,14,,,,,,,,,,,,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,D0230,,,,,,22,10,1,,,,,,,,2019-03-24,2019-03-24,12,CONTRACTUAL,131,12,,,,,,,,,,,,,,,,,,,,,,,,,,,,,10,B6,ALLOWED_ACTUAL,10,,,,,,,,,,,,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,D0274,,,,,,60,34,1,,,,,,,,2019-03-24,2019-03-24,26,CONTRACTUAL,131,26,,,,,,,,,,,,,,,,,,,,,,,,,,,,,34,B6,ALLOWED_ACTUAL,34,,,,,,,,,,,,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,5,,,,,0022,,99,59,1,,,,,0023,,2,2019-03-24,2019-03-24,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,6,D1110,,,,,,73,49,1,,,,,,,,2019-03-24,2019-03-25,76,CONTRACTUAL,131,24,,CONTRACTUAL,3,25,,OTHER,131,27,,,,,,,,,,,,,,,,,,,,,49,B6,ALLOWED_ACTUAL,49,KH,DEDUCTION,50,,,,,,,,,,, 685ed81b064e3f313d00329f,,,,7722337,,,,,,119932404007801,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,7,,,,,,00002143481,60,59,10.5,,,,,,00002143482,9.2,2019-03-24,2019-03-24,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Converts X12 EDI input to JSON. EDI can be posted as text in the body of the request or uploaded using a multi-part/form-data request.
The response is a JSON array or NDJSON (new-line delimited JSON).
The output is streamed as the input is parsed.
See the data dictionary for more details about the response schema, including mapping to X12 EDI elements.
ndjson | |
splitTran | boolean Default: false Parse by claim/payment as opposed to an entire transaction. Set it to 'true' for 837/835 transactions. Must be set to 'false' for all other transactions. |
descriptions | boolean Default: true Provide descriptions for all codes (ICD, CPT, NDC). Descriptions can increase the size of the response. This option defaults to true. |
ediFileName | string The name of the EDI file submitted as text. This name will be propagated to the |
warningsInResponse | boolean Default: false Write EDI parsing warnings to the response stream as 'warning' objects. If not set, warnings are only written to logs. See User Guide for more details. |
maxWarnings | integer Default: 50 Maximum number of EDI parsing warnings per file before raising "Too Many Warnings" error and stopping. |
chunkSize | integer <int32> Default: 200 How many claims, payments or transactions to parse at a time |
convertToSegments | string Convert to the EDI loop and segment tree instead of the list of claims, payments, and other objects |
files required | Array of strings <binary> [ items <binary > ] |
id | string Unique payment identifier assigned by the converter |
objectType | string Type of this object, set to 'PAYMENT' |
patientControlNumber required | string Identifier used to track a claim from creation by the health care provider through payment. EDI: CLP01 |
chargeAmount required | number <float> Charge amount. EDI: CLP02 |
paymentAmount required | number <float> Payment amount. EDI: CLP04 |
object (Code) Place of service code (professional/dental) or UB facility code (institutional) from the original claim | |
object (Code) Frequency code | |
statementDateFrom | string <date> Statement date from. EDI: DTP03 *232 |
statementDateTo | string <date> Statement date to. EDI: DTP03 *233 |
serviceDateFrom | string <date> The earliest service date from service lines |
serviceDateTo | string <date> The latest service date from service lines |
object (PatientSubscriber835) The insured (subscriber) from the original claim if the insured is different from the patient. EDI: Loop: 2100 | |
object (PatientSubscriber835) The insured (subscriber) or patient from the original claim. EDI: Loop: 2100 | |
Array of objects (PatientSubscriber835) Other subscriber; only one other subscriber is allowed on 835. EDI: Loop: 2100 | |
Array of objects (PaymentLine) Service lines. EDI: Loop: 2110 | |
object (Transaction835) Parent EDI transaction for this object | |
claimStatusCode | string Claim status code. EDI: CLP02 |
claimStatus | string Claim status code translated to a string constant (enum), such as PRIMARY,SECONDARY. EDI: CLP02 |
patientResponsibilityAmount | number <float> Patient responsibility amount. EDI: CLP05 |
claimFilingIndicatorCode | string Claim filing indicator code. EDI: CLP06 |
insurancePlanType | string Claim filing indicator code translated to a string constant (enum), such as PPO, HMO. EDI: CLP06 |
payerControlNumber | string Payer control number. EDI: CLP07 |
object (Code) Diagnosis-related group code. Institutional claims only.. EDI: CLP11 | |
drgWeight | number <float> Adjudicated DRG weight. Institutional claims only.. EDI: CLP12 |
dischargeFraction | number <float> Adjudicated discharge fraction. Institutional claims only. This is a percentage expressed as decimal.. EDI: CLP13 |
Array of objects (Reference) Other claim-related identifications. EDI: REF | |
Array of objects (Amount) Supplemental claim/payment amounts, such as coverage amount, discount amount, etc.. EDI: AMT | |
Array of objects (Quantity) Supplemental claim/payment quantities. EDI: QTY | |
object (Party) Payer. EDI: N1 *PR | |
object (Party) Payee. EDI: N1 *PE | |
Array of objects (Adjustment) Claim adjustments. EDI: CAS | |
coverageExpirationDate | string <date> Coverage expiration date. EDI: DTP03 *036 |
claimReceivedDate | string <date> Claim received date. EDI: DTP03 *050 |
object (PartyIdName) Service provider. EDI: NM1 *SJ | |
object (PartyIdName) Crossover carrier. EDI: NM1 *TT | |
object (PartyIdName) Corrected priority payer, meaning that current payer believes that another payer has priority for making a payment. EDI: NM1 *PR | |
object (PartyIdName) Corrected insured. EDI: NM1 *74 | |
Array of objects (ContactInfo) Claim contacts |
# Post EDI as text curl -X POST -H "Content-Type: text/plain" \ --data-binary @../edi_files/837/837.edi \ "$API_URL/edi/json?splitTran=true&ndjson=true&ediFileName=837.edi" # Upload EDI files using multipart request curl -F files=@"../edi_files/837/837-1.dat" -F files=@"../edi_files/837/837-2.dat" \ "$API_URL/edi/json?splitTran=true&ndjson=true"
[- {
- "id": "685d6a78b5939c4ba8ce15fd",
- "objectType": "PAYMENT",
- "patientControlNumber": "7722337",
- "chargeAmount": 226,
- "paymentAmount": 132,
- "facilityCode": {
- "subType": "FACILITY_TYPE",
- "code": "11",
- "desc": "Hospital; inpatient"
}, - "placeOfServiceType": "INPATIENT",
- "frequencyCode": {
- "subType": "FREQUENCY_CODE",
- "code": "1",
- "desc": "Original claim"
}, - "statementDateFrom": "2022-09-15",
- "statementDateTo": "2022-09-16",
- "serviceDateFrom": "2019-03-24",
- "serviceDateTo": "2019-03-25",
- "subscriber": {
- "person": {
- "entityRole": "INSURED_SUBSCRIBER",
- "entityType": "INDIVIDUAL",
- "identificationType": "MEMBER_ID",
- "identifier": "SJD11111",
- "lastNameOrOrgName": "DOE",
- "firstName": "John"
}
}, - "patient": {
- "person": {
- "entityRole": "PATIENT",
- "entityType": "INDIVIDUAL",
- "lastNameOrOrgName": "DOE",
- "firstName": "SALLY"
}
}, - "otherSubscribers": [
- {
- "person": {
- "entityRole": "OTHER_SUBSCRIBER",
- "entityType": "INDIVIDUAL",
- "lastNameOrOrgName": "Smith",
- "firstName": "Jane"
}
}
], - "claimStatusCode": "1",
- "claimStatus": "PRIMARY",
- "patientResponsibilityAmount": 10,
- "claimFilingIndicatorCode": "12",
- "insurancePlanType": "PPO",
- "payerControlNumber": "119932404007801",
- "drg": {
- "subType": "DRG",
- "code": "025"
}, - "drgWeight": 0.5,
- "dischargeFraction": 0.4,
- "otherClaimRelatedIds": [
- {
- "qualifierCode": "F8",
- "type": "ORIGINAL_REFERENCE_NUMBER",
- "identification": "12345"
}, - {
- "qualifierCode": "EA",
- "type": "MEDICAL_RECORD_NUMBER",
- "identification": "12345"
}
], - "supplementalAmounts": [
- {
- "qualifierCode": "AU",
- "type": "COVERAGE_AMOUNT",
- "amount": 132
}, - {
- "qualifierCode": "D8",
- "type": "DISCOUNT_AMOUNT",
- "amount": 100
}
], - "supplementalQuantities": [
- {
- "qualifierCode": "CA",
- "type": "COVERED",
- "quantity": 4
}
], - "payer": {
- "entityRole": "PAYER",
- "entityType": "BUSINESS",
- "lastNameOrOrgName": "DELTA DENTAL OF ABC",
- "address": {
- "line": "225 MAIN STREET",
- "city": "CENTERVILLE",
- "stateCode": "PA",
- "zipCode": "17111"
}, - "contacts": [
- {
- "name": "JANE DOE",
- "contactNumbers": [
- {
- "type": "PHONE",
- "number": "9005555555"
}, - {
- "type": "EXTENSION",
- "number": "123"
}
]
}, - {
- "contactNumbers": [
- {
- "type": "URL",
- "number": "myplan.com/policies"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "2U",
- "type": "PAYER_IDENTIFICATION_NUMBER",
- "identification": "0101"
}, - {
- "qualifierCode": "HI",
- "type": "HEALTH_INDUSTRY_NUMBER",
- "identification": "0202"
}
]
}, - "payee": {
- "entityRole": "PAYEE",
- "entityType": "BUSINESS",
- "identificationType": "EIN",
- "identifier": "999994703",
- "taxId": "050595",
- "lastNameOrOrgName": "BAN DDS LLC",
- "address": {
- "line": "225 MAIN STREET",
- "city": "CENTERVILLE",
- "stateCode": "PA",
- "zipCode": "17111"
}, - "additionalIds": [
- {
- "qualifierCode": "PQ",
- "type": "PAYEE_IDENTIFICATION_NUMBER",
- "identification": "0505"
}
]
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "197",
- "reason": {
- "subType": "CARC",
- "code": "197",
- "desc": "Precertification/authorization/notification/pre-treatment absent."
}, - "amount": 2000,
- "quantity": 1
}, - {
- "group": "CONTRACTUAL",
- "reasonCode": "45",
- "reason": {
- "subType": "CARC",
- "code": "45",
- "desc": "Charge exceeds fee schedule/maximum allowable or contracted/legislated fee arrangement."
}, - "amount": 30000
}, - {
- "group": "PATIENT_RESPONSIBILITY",
- "reasonCode": "132",
- "reason": {
- "subType": "CARC",
- "code": "132",
- "desc": "Prearranged demonstration project adjustment."
}, - "amount": 259
}
], - "coverageExpirationDate": "2022-10-01",
- "claimReceivedDate": "2022-11-24",
- "serviceProvider": {
- "entityRole": "RENDERING",
- "entityType": "INDIVIDUAL",
- "identificationType": "NPI",
- "identifier": "1811901945",
- "lastNameOrOrgName": "BAN",
- "firstName": "ERIN",
- "additionalIds": [
- {
- "qualifierCode": "1C",
- "type": "MEDICARE_PROVIDER_NUMBER",
- "identification": "12345678"
}
]
}, - "crossoverCarrier": {
- "entityRole": "CROSSOVER_CARRIER",
- "entityType": "INDIVIDUAL",
- "identificationType": "CMS_PLAN_ID",
- "identifier": "9876",
- "lastNameOrOrgName": "ACME INSURANCE"
}, - "correctedPayer": {
- "entityRole": "PAYER",
- "entityType": "BUSINESS",
- "identificationType": "CMS_PLAN_ID",
- "identifier": "8765",
- "lastNameOrOrgName": "ACME INSURANCE"
}, - "correctedInsured": {
- "entityRole": "CORRECTED_INSURED",
- "entityType": "INDIVIDUAL",
- "identificationType": "INSURED_CHANGED_ID",
- "identifier": "SJD999",
- "lastNameOrOrgName": "Due"
}, - "serviceLines": [
- {
- "sourceLineId": "A123",
- "healthcarePolicyId": "1234\"5",
- "chargeAmount": 46,
- "paidAmount": 25,
- "supplementalAmounts": [
- {
- "qualifierCode": "B6",
- "type": "ALLOWED_ACTUAL",
- "amount": 25
}
], - "supplementalQuantities": [
- {
- "qualifierCode": "ZL",
- "type": "MEDICARE_MEDICAID_CAT_2",
- "quantity": 3.75
}
], - "serviceDateFrom": "2019-03-24",
- "unitCount": 3.1,
- "originalUnitCount": 3.5,
- "procedure": {
- "subType": "ADA",
- "code": "D0120",
- "desc": "PERIODIC ORAL EVALUATION ESTABLISHED PATIENT",
- "modifiers": [
- {
- "subType": "HCPCS_MODIFIER",
- "code": "02"
}, - {
- "subType": "HCPCS_MODIFIER",
- "code": "28"
}
]
}, - "revenueCode": {
- "subType": "REVENUE_CODE",
- "code": "0022",
- "desc": "Skilled nursing facility prospective payment system (HIPPS)"
}, - "originalProcedure": {
- "subType": "ADA",
- "code": "D0140",
- "desc": "LIMITED ORAL EVALUATION - PROBLEM FOCUSED",
- "modifiers": [
- {
- "subType": "HCPCS_MODIFIER",
- "code": "1"
}
]
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 21
}
], - "remarkCodes": [
- "M1",
- "M2"
], - "remarks": [
- {
- "subType": "RARC",
- "code": "M1",
- "desc": "X-ray not taken within the past 12 months or near enough to the start of treatment."
}, - {
- "subType": "RARC",
- "code": "M2",
- "desc": "Not paid separately when the patient is an inpatient."
}
], - "serviceIds": [
- {
- "qualifierCode": "RB",
- "type": "RATE_CODE_NUMBER",
- "identification": "100"
}, - {
- "qualifierCode": "1S",
- "type": "APG_NUMBER",
- "identification": "101"
}, - {
- "qualifierCode": "APC",
- "type": "AMBULATORY_PAYMENT",
- "identification": "102"
}
], - "renderingProviderIds": [
- {
- "qualifierCode": "HPI",
- "type": "CMS_NPI",
- "identification": "P123"
}, - {
- "qualifierCode": "1C",
- "type": "MEDICARE_PROVIDER_NUMBER",
- "identification": "P234"
}
]
}, - {
- "chargeAmount": 25,
- "paidAmount": 14,
- "supplementalAmounts": [
- {
- "qualifierCode": "B6",
- "type": "ALLOWED_ACTUAL",
- "amount": 14
}
], - "serviceDateFrom": "2019-03-24",
- "procedure": {
- "subType": "ADA",
- "code": "D0220",
- "desc": "INTRAORAL - PERIAPICAL FIRST RADIOGRAPHIC IMAGE"
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 11
}
]
}, - {
- "chargeAmount": 22,
- "paidAmount": 10,
- "supplementalAmounts": [
- {
- "qualifierCode": "B6",
- "type": "ALLOWED_ACTUAL",
- "amount": 10
}
], - "serviceDateFrom": "2019-03-24",
- "procedure": {
- "subType": "ADA",
- "code": "D0230",
- "desc": "INTRAORAL - PERIAPICAL EACH ADD RADIOGRAPH IMAGE"
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 12
}
]
}, - {
- "chargeAmount": 60,
- "paidAmount": 34,
- "supplementalAmounts": [
- {
- "qualifierCode": "B6",
- "type": "ALLOWED_ACTUAL",
- "amount": 34
}
], - "serviceDateFrom": "2019-03-24",
- "procedure": {
- "subType": "ADA",
- "code": "D0274",
- "desc": "BITEWINGS - FOUR RADIOGRAPHIC IMAGES"
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 26
}
]
}, - {
- "chargeAmount": 99,
- "paidAmount": 59,
- "serviceDateFrom": "2019-03-24",
- "unitCount": 1,
- "originalUnitCount": 2,
- "revenueCode": {
- "subType": "REVENUE_CODE",
- "code": "0022",
- "desc": "Skilled nursing facility prospective payment system (HIPPS)"
}, - "originalRevenueCode": {
- "subType": "REVENUE_CODE",
- "code": "0023",
- "desc": "Home health prospective payment system (HIPPS)"
}
}, - {
- "chargeAmount": 73,
- "paidAmount": 49,
- "supplementalAmounts": [
- {
- "qualifierCode": "B6",
- "type": "ALLOWED_ACTUAL",
- "amount": 49
}, - {
- "qualifierCode": "KH",
- "type": "DEDUCTION",
- "amount": 50
}
], - "serviceDateFrom": "2019-03-24",
- "serviceDateTo": "2019-03-25",
- "procedure": {
- "subType": "ADA",
- "code": "D1110",
- "desc": "PROPHYLAXIS - ADULT"
}, - "adjustments": [
- {
- "group": "CONTRACTUAL",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 24
}, - {
- "group": "CONTRACTUAL",
- "reasonCode": "3",
- "reason": {
- "subType": "CARC",
- "code": "3",
- "desc": "Co-payment Amount"
}, - "amount": 25
}, - {
- "group": "OTHER",
- "reasonCode": "131",
- "reason": {
- "subType": "CARC",
- "code": "131",
- "desc": "Claim specific negotiated discount."
}, - "amount": 27
}
]
}, - {
- "chargeAmount": 60,
- "paidAmount": 59,
- "serviceDateFrom": "2019-03-24",
- "unitCount": 10.5,
- "originalUnitCount": 9.2,
- "drug": {
- "subType": "NDC",
- "code": "00002143481",
- "desc": "Trulicity (Dulaglutide)",
- "formattedCode": "0002-1434-81"
}, - "originalDrug": {
- "subType": "NDC",
- "code": "00002143482",
- "desc": "Trulicity (Dulaglutide)",
- "formattedCode": "0002-1434-82"
}
}
], - "transaction": {
- "id": "685d6a78b5939c4ba8ce15ad",
- "controlNumber": "35681",
- "transactionType": "PAYMENT",
- "productionDate": "2019-03-14",
- "totalPaymentAmount": 132,
- "creditOrDebitFlagCode": "C",
- "paymentMethodType": "CHECK",
- "receiverAccountNumber": "456",
- "paymentDate": "2019-03-31",
- "checkOrEftTraceNumber": "12345",
- "payerIdentifier": "1512345678",
- "transactionSetIdentifierCode": "835",
- "fileInfo": {
- "name": "835-all-fields.dat",
- "url": "file:/edi-samples/edi_files/835/835-all-fields.dat",
- "lastModifiedDateTime": "2025-02-28T13:00:41.379-05:00",
- "fileType": "EDI"
}, - "sender": {
- "entityRole": "PAYER",
- "entityType": "BUSINESS",
- "lastNameOrOrgName": "DELTA DENTAL OF ABC",
- "address": {
- "line": "225 MAIN STREET",
- "city": "CENTERVILLE",
- "stateCode": "PA",
- "zipCode": "17111"
}, - "contacts": [
- {
- "name": "JANE DOE",
- "contactNumbers": [
- {
- "type": "PHONE",
- "number": "9005555555"
}, - {
- "type": "EXTENSION",
- "number": "123"
}
]
}, - {
- "contactNumbers": [
- {
- "type": "URL",
- "number": "myplan.com/policies"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "2U",
- "type": "PAYER_IDENTIFICATION_NUMBER",
- "identification": "0101"
}, - {
- "qualifierCode": "HI",
- "type": "HEALTH_INDUSTRY_NUMBER",
- "identification": "0202"
}
]
}, - "receiver": {
- "entityRole": "PAYEE",
- "entityType": "BUSINESS",
- "identificationType": "EIN",
- "identifier": "999994703",
- "taxId": "050595",
- "lastNameOrOrgName": "BAN DDS LLC",
- "address": {
- "line": "225 MAIN STREET",
- "city": "CENTERVILLE",
- "stateCode": "PA",
- "zipCode": "17111"
}, - "additionalIds": [
- {
- "qualifierCode": "PQ",
- "type": "PAYEE_IDENTIFICATION_NUMBER",
- "identification": "0505"
}
]
}
}
}
]
Parses X12 EDI and returns returns an array of claims (837), payments (835) or segments (all other transactions). The parsing is done entirely in memory, so this endpoint is only suitable for small files. Fully synchronous; the entire file is parsed before returning the response. For large files use 'api/edi' endpoints instead.
See Python example here.
asSegments | boolean Default: false Return JSON representation of loops and segments. This is the default mode for non-835, non-837 transactions. |
gen999 | boolean Default: false Generate 999–Functional Group Acknowledgement Report for all parsed transactions. The resulting EDI is available in the "ackEdi" field of the response |
Text in X12 EDI format
Array of ProfClaim (object) or InstClaim (object) or DentClaim (object) | |
Array of objects (Payment) | |
Array of objects (MemberCoverage) | |
Array of ClaimStatus (object) or ReceiverStatus (object) or ProviderStatus (object) | |
segments | object (ArrayNode) |
ackEdi | string Generated 999–Functional Group Acknowledgement Report for all parsed transactions |
Array of objects (ParsingIssue) |
{- "claims": [
- {
- "id": "string",
- "objectType": "string",
- "patientControlNumber": "string",
- "chargeAmount": 0.1,
- "patientPaidAmount": 0.1,
- "facilityCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "frequencyCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "subscriber": {
- "payerResponsibilitySequence": "string",
- "relationshipType": "string",
- "groupOrPolicyNumber": "string",
- "groupName": "string",
- "claimFilingIndicatorCode": "string",
- "insurancePlanType": "string",
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "birthDate": "2019-08-24",
- "gender": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "deathDate": "2019-08-24",
- "weight": 0.1,
- "pregnancyIndicator": "string",
- "propertyCasualtyClaimNumber": "string",
- "payer": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
}, - "patient": {
- "relationshipType": "string",
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "birthDate": "2019-08-24",
- "gender": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "deathDate": "2019-08-24",
- "weight": 0.1,
- "pregnancyIndicator": "string"
}, - "otherSubscribers": [
- {
- "payerResponsibilitySequence": "string",
- "relationshipType": "string",
- "groupOrPolicyNumber": "string",
- "groupName": "string",
- "claimFilingIndicatorCode": "string",
- "insurancePlanType": "string",
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "birthDate": "2019-08-24",
- "gender": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": null,
- "number": null
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "adjustments": [
- {
- "group": "string",
- "reasonCode": "string",
- "amount": 0.1,
- "quantity": 0.1
}
], - "payerPaidAmount": 0.1,
- "nonCoveredAmount": 0.1,
- "remainingPatientLiabilityAmount": 0.1,
- "payerPriorAuthorizationNumber": "string",
- "payerReferralNumber": "string",
- "payerClaimControlNumber": "string",
- "payer": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": null,
- "number": null
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "providers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- null
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
]
}
], - "serviceLines": [
- {
- "sourceLineId": "string",
- "placeOfServiceCode": "string",
- "emergencyIndicator": "string",
- "epsdtIndicator": "string",
- "familyPlanningIndicator": "string",
- "copayStatusCode": "string",
- "repricedReferenceNumber": "string",
- "adjustedRepricedReferenceNumber": "string",
- "priorAuthorization": "string",
- "referralNumber": "string",
- "chargeAmount": 0.1,
- "salesTaxAmount": 0.1,
- "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "prescriptionDate": "2019-08-24",
- "beginTherapyDate": "2019-08-24",
- "lastSeenDate": "2019-08-24",
- "testPerformedDate": "2019-08-24",
- "lastXRayDate": "2019-08-24",
- "initialTreatmentDate": "2019-08-24",
- "unitType": "string",
- "unitCount": 0.1,
- "drug": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "drugQuantity": 0.1,
- "drugUnitType": "string",
- "prescriptionNumber": "string",
- "lineNote": "string",
- "thirdPartyNote": "string",
- "procedure": {
- "subType": "string",
- "code": "string",
- "desc": "string",
- "modifiers": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
]
}, - "attachments": [
- {
- "reportTypeCode": "string",
- "reportTransmissionCode": "string",
- "controlNumber": "string"
}
], - "providers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- null
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "providerTaxonomy": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
}
], - "adjudications": [
- {
- "payerIdentifier": "string",
- "paidAmount": 0.1,
- "unitCount": 0.1,
- "bundledOrUnbundledLineNumber": 0,
- "procedure": {
- "subType": "string",
- "code": "string",
- "desc": "string",
- "modifiers": [
- {
- "subType": null,
- "code": null,
- "desc": null
}
]
}, - "adjustments": [
- {
- "group": "string",
- "reasonCode": "string",
- "amount": 0.1,
- "quantity": 0.1
}
], - "adjudicationOrPaymentDate": "2019-08-24",
- "remainingPatientLiabilityAmount": 0.1
}
], - "adjustments": [
- {
- "group": "string",
- "reasonCode": "string",
- "amount": 0.1,
- "quantity": 0.1
}
], - "fixedFormatRecords": [
- "string"
], - "diagPointers": [
- 0
], - "diags": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
]
}
], - "transaction": {
- "controlNumber": "string",
- "transactionType": "string",
- "hierarchicalStructureCode": "string",
- "purposeCode": "string",
- "originatorApplicationTransactionId": "string",
- "creationDate": "2019-08-24",
- "creationTime": "2019-08-24T14:15:22Z",
- "claimOrEncounterIdentifierType": "string",
- "transactionSetIdentifierCode": "string",
- "implementationConventionReference": "string",
- "fileInfo": {
- "name": "string",
- "url": "string",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}, - "sender": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "receiver": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}
}, - "providerSignatureIndicator": "string",
- "assignmentParticipationCode": "string",
- "assignmentCertificationIndicator": "string",
- "releaseOfInformationCode": "string",
- "specialProgramCode": "string",
- "delayReasonCode": "string",
- "serviceAuthorizationExceptionCode": "string",
- "referralNumber": "string",
- "priorAuthorizationNumber": "string",
- "originalReferenceNumber": "string",
- "repricedReferenceNumber": "string",
- "adjustedRepricedReferenceNumber": "string",
- "clearinghouseTraceNumber": "string",
- "medicalRecordNumber": "string",
- "demonstrationProjectIdentifier": "string",
- "onsetOfCurrentIllnessOrInjuryDate": "2019-08-24",
- "initialTreatmentDate": "2019-08-24",
- "lastSeenDate": "2019-08-24",
- "acuteManifestationDate": "2019-08-24",
- "accidentDate": "2019-08-24",
- "lastMenstrualPeriodDate": "2019-08-24",
- "lastXRayDate": "2019-08-24",
- "prescriptionDate": "2019-08-24",
- "disabilityDateFrom": "2019-08-24",
- "disabilityDateTo": "2019-08-24",
- "lastWorkedDate": "2019-08-24",
- "authorizedReturnToWorkDate": "2019-08-24",
- "admissionDate": "2019-08-24",
- "dischargeDate": "2019-08-24",
- "assumedCareDate": "2019-08-24",
- "relinquishedCareDate": "2019-08-24",
- "propertyCasualtyFirstContactDate": "2019-08-24",
- "repricerReceivedDate": "2019-08-24",
- "fixedFormatRecords": [
- "string"
], - "claimNote": "string",
- "billingProvider": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "providerTaxonomy": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
}, - "providers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "providerTaxonomy": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
}
], - "diags": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
], - "procs": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
], - "conditions": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
], - "attachments": [
- {
- "reportTypeCode": "string",
- "reportTransmissionCode": "string",
- "controlNumber": "string"
}
]
}
], - "payments": [
- {
- "id": "string",
- "objectType": "string",
- "patientControlNumber": "string",
- "chargeAmount": 0.1,
- "paymentAmount": 0.1,
- "facilityCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "frequencyCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "statementDateFrom": "2019-08-24",
- "statementDateTo": "2019-08-24",
- "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "subscriber": {
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
}, - "patient": {
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
}, - "otherSubscribers": [
- {
- "person": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": null,
- "number": null
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
}
], - "serviceLines": [
- {
- "sourceLineId": "string",
- "repricedReferenceNumber": "string",
- "adjustedRepricedReferenceNumber": "string",
- "healthcarePolicyId": "string",
- "chargeAmount": 0.1,
- "paidAmount": 0.1,
- "supplementalAmounts": [
- {
- "qualifierCode": "string",
- "type": "string",
- "amount": 0.1
}
], - "supplementalQuantities": [
- {
- "qualifierCode": "string",
- "type": "string",
- "quantity": 0.1
}
], - "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "unitType": "string",
- "unitCount": 0.1,
- "originalUnitCount": 0.1,
- "drug": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "procedure": {
- "subType": "string",
- "code": "string",
- "desc": "string",
- "modifiers": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
]
}, - "revenueCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "originalProcedure": {
- "subType": "string",
- "code": "string",
- "desc": "string",
- "modifiers": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
]
}, - "originalRevenueCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "originalDrug": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "providers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- null
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "providerTaxonomy": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
}
], - "adjustments": [
- {
- "group": "string",
- "reasonCode": "string",
- "amount": 0.1,
- "quantity": 0.1
}
], - "remarkCodes": [
- "string"
], - "remarks": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
], - "serviceIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "renderingProviderIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
], - "transaction": {
- "controlNumber": "string",
- "transactionType": "string",
- "productionDate": "2019-08-24",
- "totalPaymentAmount": 0.1,
- "creditOrDebitFlagCode": "string",
- "paymentMethodType": "string",
- "receiverAccountNumber": "string",
- "paymentDate": "2019-08-24",
- "checkOrEftTraceNumber": "string",
- "payerIdentifier": "string",
- "transactionSetIdentifierCode": "string",
- "implementationConventionReference": "string",
- "fileInfo": {
- "name": "string",
- "url": "string",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}
}, - "claimStatusCode": "string",
- "claimStatus": "string",
- "patientResponsibilityAmount": 0.1,
- "claimFilingIndicatorCode": "string",
- "insurancePlanType": "string",
- "payerControlNumber": "string",
- "drg": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "drgWeight": 0.1,
- "dischargeFraction": 0.1,
- "otherClaimRelatedIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "supplementalAmounts": [
- {
- "qualifierCode": "string",
- "type": "string",
- "amount": 0.1
}
], - "supplementalQuantities": [
- {
- "qualifierCode": "string",
- "type": "string",
- "quantity": 0.1
}
], - "payer": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "payee": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "adjustments": [
- {
- "group": "string",
- "reasonCode": "string",
- "amount": 0.1,
- "quantity": 0.1
}
], - "coverageExpirationDate": "2019-08-24",
- "claimReceivedDate": "2019-08-24",
- "serviceProvider": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "crossoverCarrier": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "correctedPayer": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "correctedInsured": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "claimContacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
]
}
], - "coverages": [
- {
- "transactionControlNumber": "string",
- "transactionSetPurposeCode": "string",
- "originatorApplicationTransactionId": "string",
- "transactionCreationDateTime": "2019-08-24T14:15:22Z",
- "transactionActionCode": "string",
- "fileEffectiveDates": [
- {
- "qualifierCode": "string",
- "type": "string",
- "date": "2019-08-24",
- "dateTo": "2019-08-24"
}
], - "masterPolicyNumber": "string",
- "sponsor": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "insurer": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "tpas": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "accountNumber": "string",
- "accountNumber2": "string"
}
], - "memberIndicator": "string",
- "relationshipCode": "string",
- "maintenanceTypeCode": "string",
- "maintenanceReasonCode": "string",
- "benefitStatusCode": "string",
- "cobraEventCode": "string",
- "employmentStatusCode": "string",
- "studentStatusCode": "string",
- "handicapIndicator": "string",
- "confidentialityCode": "string",
- "birthSequenceNumber": 0,
- "identifier": "string",
- "groupOrPolicyNumber": "string",
- "supplementalIdentifiers": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "statusInfoEffectiveDates": [
- {
- "qualifierCode": "string",
- "type": "string",
- "date": "2019-08-24",
- "dateTo": "2019-08-24"
}
], - "member": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "birthDate": "2019-08-24",
- "gender": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "maritalStatusCode": "string",
- "ethnicityCode": "string",
- "citizenshipCode": "string",
- "employmentClassCodes": [
- "string"
], - "wageFrequencyCode": "string",
- "wageAmount": 0.1,
- "workHoursCount": 0.1,
- "employerLocationIdentificationCode": "string",
- "salaryGradeCode": "string",
- "healthRelatedCode": "string",
- "height": 0.1,
- "weight": 0.1
}, - "contractAmounts": [
- {
- "qualifierCode": "string",
- "type": "string",
- "amount": 0.1
}
], - "mailingAddress": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "employers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
], - "schools": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
], - "custodialParent": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}, - "responsiblePersons": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- {
- "type": "string",
- "number": "string"
}
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
], - "reportingCategories": [
- {
- "name": "string",
- "identifierQualifierCode": "string",
- "identifierType": "string",
- "identifier": "string",
- "date": "2019-08-24",
- "dateTo": "2019-08-24"
}
], - "healthCoverages": [
- {
- "maintenanceTypeCode": "string",
- "insuranceLineCode": "string",
- "planDescription": "string",
- "coverageLevelCode": "string",
- "lateEnrollmentIndicator": "string",
- "coverageDates": [
- {
- "qualifierCode": "string",
- "type": "string",
- "date": "2019-08-24",
- "dateTo": "2019-08-24"
}
], - "contractAmounts": [
- {
- "qualifierCode": "string",
- "type": "string",
- "amount": 0.1
}
], - "groupOrPolicyNumbers": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "priorCoverageMonthCount": "string",
- "providers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": "string",
- "line2": "string",
- "city": "string",
- "stateCode": "string",
- "zipCode": "string",
- "countryCode": "string"
}, - "contacts": [
- {
- "functionCode": "string",
- "name": "string",
- "contactNumbers": [
- null
]
}
], - "additionalIds": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
]
}
], - "cobs": [
- {
- "payerResponsibilitySequenceCode": "string",
- "groupOrPolicyNumber": "string",
- "coordinationOfBenefitsCode": "string",
- "additionalIdentifiers": [
- {
- "qualifierCode": "string",
- "type": "string",
- "identification": "string"
}
], - "dateFrom": "2019-08-24",
- "dateTo": "2019-08-24",
- "insurers": [
- {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string",
- "address": {
- "line": null,
- "line2": null,
- "city": null,
- "stateCode": null,
- "zipCode": null,
- "countryCode": null
}, - "contacts": [
- null
], - "additionalIds": [
- null
]
}
]
}
]
}
], - "transaction": {
- "controlNumber": "string",
- "transactionType": "string",
- "purposeCode": "string",
- "originatorApplicationTransactionId": "string",
- "creationDate": "2019-08-24",
- "creationTime": "2019-08-24T14:15:22Z",
- "originalTransactionSetReferenceNumber": "string",
- "actionCode": "string",
- "transactionSetIdentifierCode": "string",
- "implementationConventionReference": "string",
- "fileEffectiveDates": [
- {
- "qualifierCode": "string",
- "type": "string",
- "date": "2019-08-24",
- "dateTo": "2019-08-24"
}
], - "controlTotals": [
- {
- "qualifierCode": "string",
- "type": "string",
- "quantity": 0.1
}
], - "fileInfo": {
- "name": "string",
- "url": "string",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}
}
}
], - "statuses": [
- {
- "id": "string",
- "objectType": "string",
- "patient": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "patientControlNumber": "string",
- "statusInfos": [
- {
- "effectiveDate": "2019-08-24",
- "actionCode": "string",
- "actionType": "string",
- "chargeAmount": 0.1,
- "statusCodeInfos": [
- {
- "categoryCode": "string",
- "statusCode": "string",
- "entityCode": "string"
}
], - "message": "string"
}
], - "payerClaimControlNumber": "string",
- "clearinghouseTraceNumber": "string",
- "billTypeCode": "string",
- "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "receiver": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "receiverBatchStatus": {
- "traceIdentifier": "string",
- "statusInfos": [
- {
- "effectiveDate": "2019-08-24",
- "actionCode": "string",
- "actionType": "string",
- "chargeAmount": 0.1,
- "statusCodeInfos": [
- {
- "categoryCode": "string",
- "statusCode": "string",
- "entityCode": "string"
}
], - "message": "string"
}
], - "acceptedQuantity": 0.1,
- "acceptedAmount": 0.1,
- "rejectedQuantity": 0.1,
- "rejectedAmount": 0.1
}, - "provider": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}, - "providerBatchStatus": {
- "traceIdentifier": "string",
- "statusInfos": [
- {
- "effectiveDate": "2019-08-24",
- "actionCode": "string",
- "actionType": "string",
- "chargeAmount": 0.1,
- "statusCodeInfos": [
- {
- "categoryCode": "string",
- "statusCode": "string",
- "entityCode": "string"
}
], - "message": "string"
}
], - "acceptedQuantity": 0.1,
- "acceptedAmount": 0.1,
- "rejectedQuantity": 0.1,
- "rejectedAmount": 0.1
}, - "lineStatuses": [
- {
- "controlNumber": "string",
- "chargeAmount": 0.1,
- "unitCount": 0.1,
- "procedure": {
- "subType": "string",
- "code": "string",
- "desc": "string",
- "modifiers": [
- {
- "subType": "string",
- "code": "string",
- "desc": "string"
}
]
}, - "revenueCode": {
- "subType": "string",
- "code": "string",
- "desc": "string"
}, - "prescriptionNumber": "string",
- "serviceDateFrom": "2019-08-24",
- "serviceDateTo": "2019-08-24",
- "statusInfos": [
- {
- "effectiveDate": "2019-08-24",
- "actionCode": "string",
- "actionType": "string",
- "chargeAmount": 0.1,
- "statusCodeInfos": [
- {
- "categoryCode": "string",
- "statusCode": "string",
- "entityCode": "string"
}
], - "message": "string"
}
]
}
], - "transaction": {
- "controlNumber": "string",
- "transactionType": "string",
- "hierarchicalStructureCode": "string",
- "purposeCode": "string",
- "originatorApplicationTransactionId": "string",
- "creationDate": "2019-08-24",
- "creationTime": "2019-08-24T14:15:22Z",
- "traceIdentifier": "string",
- "transactionSetIdentifierCode": "string",
- "implementationConventionReference": "string",
- "receiptDate": "2019-08-24",
- "processDate": "2019-08-24",
- "fileInfo": {
- "name": "string",
- "url": "string",
- "lastModifiedDateTime": "2019-08-24T14:15:22Z"
}, - "sender": {
- "entityRole": "string",
- "entityType": "string",
- "identificationType": "string",
- "identifier": "string",
- "taxId": "string",
- "lastNameOrOrgName": "string",
- "firstName": "string",
- "middleName": "string"
}
}
}
], - "segments": { },
- "ackEdi": "string",
- "parsingIssues": [
- {
- "severity": "ERROR",
- "message": "string",
- "lineNumber": 0,
- "segmentNumber": 0,
- "loop": "string",
- "ediString": "string"
}
]
}
Parses text in NCPDP telecom format and returns JSON with an array of NCPDP transactions.
You can see an example of an NCPDP transaction and the parsing output here.
Additional examples are available from our GitHub repo.
Converts NCPDP input to JSON.
Text in NCPDP Telecom format
Array of objects (Segment) |
curl -H "Content-Type: text/plain" --data-binary @../edi_files/ncpdp/b1_telco_cob.dat "$API_URL/ncpdp/parse"