How do I convert an EDI Reports file to JSON?

You specify the Report file in the request URL, including its two-letter extension, along with the correct endpoint type. The endpoint will always be either /277 or /835. Here's an example using our Sandbox test values:

https://apigw.changehealthcare.com/medicalnetwork/reports/v2/X3000000.XX/835

The file, which is available in the Sandbox API implementation, is for a relatively brief single-claim /277 claim status response.

{
    "transactions": [
        {
            "controlNumber": "0001",
            "referenceIdentification": "000000001",
            "transactionSetCreationDate": "20201201",
            "transactionSetCreationTime": "120558",
            "payers": [
                {
                    "organizationName": "PREMERA",
                    "payerIdentification": "430",
                    "claimStatusTransactions": [
                        {
                            "provider": {
                                "organizationName": "CHC3",
                                "etin": "000000000"
                            },
                            "claimStatusDetails": [
                                {
                                    "serviceProvider": {
                                        "organizationName": "HAPPY DOCTORS GROUP",
                                        "npi": "1111111111"
                                    },
                                    "patientClaimStatusDetails": [
                                        {
                                            "subscriber": {
                                                "lastName": "DOEONE",
                                                "firstName": "JOHNONE",
                                                "memberId": "0000000000"
                                            },
                                            "claims": [
                                                {
                                                    "claimStatus": {
                                                        "referencedTransactionTraceNumber": "000000001",
                                                        "informationClaimStatuses": [
                                                            {
                                                                "statusInformationEffectiveDate": "20200613",
                                                                "totalClaimChargeAmount": "100",
                                                                "claimPaymentAmount": "80",
                                                                "adjudicatedFinalizedDate": "20200609",
                                                                "remittanceDate": "20200613",
                                                                "remittanceTraceNumber": "1111111",
                                                                "informationStatuses": [
                                                                    {
                                                                        "healthCareClaimStatusCategoryCode": "F1",
                                                                        "healthCareClaimStatusCategoryCodeValue": "Finalized/Payment-The claim/line has been paid.",
                                                                        "statusCode": "65",
                                                                        "statusCodeValue": "Claim/line has been paid."
                                                                    }
                                                                ]
                                                            }
                                                        ],
                                                        "tradingPartnerClaimNumber": "AAAAAAAAAAA1",
                                                        "patientAccountNumber": "00000",
                                                        "clearinghouseTraceNumber": "111111111111111",
                                                        "claimServiceBeginDate": "20200214",
                                                        "claimServiceEndDate": "20200214"
                                                    },
                                                    "serviceLines": [
                                                        {
                                                            "service": {
                                                                "serviceIdQualifierCode": "HC",
                                                                "serviceIdQualifierCodeValue": "Health Care Financing Administration Common Procedural Coding System (HCPCS) Codes",
                                                                "procedureCode": "97161",
                                                                "procedureModifiers": [
                                                                    "95"
                                                                ],
                                                                "chargeAmount": "100",
                                                                "amountPaid": "80",
                                                                "submittedUnits": "1"
                                                            },
                                                            "serviceClaimStatuses": [
                                                                {
                                                                    "effectiveDate": "20200613",
                                                                    "serviceStatuses": [
                                                                        {
                                                                            "healthCareClaimStatusCategoryCode": "F1",
                                                                            "healthCareClaimStatusCategoryCodeValue": "Finalized/Payment-The claim/line has been paid.",
                                                                            "statusCode": "65",
                                                                            "statusCodeValue": "Claim/line has been paid."
                                                                        }
                                                                    ]
                                                                }
                                                            ],
                                                            "beginServiceLineDate": "20200214",
                                                            "endServiceLineDate": "20200214"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
...

The lengthy example is a completed record for a single claim in a multiple-claim report.

You can determine how many claims the current 277 file contains by looking for the following three JSON attributes in a group:

                    "organizationName": "PREMERA",
                    "payerIdentification": "430",
                    "claimStatusTransactions": [

Each of these sets of attributes is a complete claims entry in the transactions list,


Did this page help you?