API Quickstart Guide
  • 29 Mar 2024
  • 11 Minutes to read
  • Dark
    Light
  • PDF

API Quickstart Guide

  • Dark
    Light
  • PDF

Article Summary

Basic API Workflow

Please review the API Technical Documentation for guidance on configuring the Claim.MD API.

Workflow Considerations

  • Consult with someone in your company who handles billing to better understand the normal workflow for submitting claims, receiving ERA and checking patient eligibility.

  • Familiarize yourself with the typical process of receiving both a claim status update from the payer and payment details as part of a payer EOB/Remittance. Understanding this workflow can enhance your integration and utilization of the provided services.

  • The ‘Accept’ HTTP header controls if API results are returned in the XML (application/xml) or JSON (application/JSON) formats.

You must determine if your users will have their own Claim.MD accounts with direct access to the portal, or if the software vendor will retain a single Claim.MD account and offer no provider access.

Provider Direct Access - Minimum Requirements

If each provider/customer will have their own Claim.MD account, you will need to store a separate API key, last_responseid and last_eraid for each customer. The API key will control which account data is submitted to, and received from.

Enrollment

Each provider/customer will have direct access to the Claim.MD portal to complete necessary enrollments on initial setup of their account.

Support

Each provider/customer may directly contact Claim.MD and use the support ticketing system for an EDI related support and for questions on using the portal.

No Provider Access - Minimum Requirements

To use a single account with Claim.MD and provide no direct access to your providers, a minimum set of functionality will be required via the API. If using this model, only the software vendors staff may have credentials into the Claim.MD portal.

Your software will need to present claim rejections and denials to your users, and give a way to resubmit claims with errors. The software must at a minimum support Uploading Files, receiving Claim Status and Receive ERA.

Enrollment

Note the above services may require enrollment by each provider before they can be used. Either your staff will need to manually send each enrollment form & instructions to your providers or you will need to implement the /enroll/ API services to present the required steps and forms directly to them.

Support

Only the staff of the software vendor will have access to support through a single vendor account type. Providers may not contact Claim.MD directly for

Retrieve API Credentials:

  • Obtain the API key. These credentials are necessary for authenticating your requests.

File transfer to a Practice Management System or other software can also be accomplished using the API. Users have the ability to generate their own API Account Key, which must be obtained, copied, and entered into the desired Practice Management System.

To generate this key:

Navigate to the Settings page. Click the Account Settings tab.

  1. Scroll down to the the API Key (Account Key) section, click the    button (see image below). 
  2.  Enter the same Claim.MD password used to login to the Claim.MD system. Click   button. 
  3. The API will display. If needed. copy the API Key using the clipboard icon to transfer it to the Practice Management System or other system.
    Ensuring proper handling and security of this password is crucial.

To Delete an API Key:

If the API Key is lost, the current one will have to be deleted and another one would have to be generated and entered into the PMS or other software system. 

  1. In Settings > Account Settings, scroll down to the API Key (Account Key) section and click the    button. 
  2.  Enter your Claim.MD account password and select the    button.
  3. The window should display Success-Removed API Key. Close this window. 
  4. Scroll back down to the API Key (Account Key) section and the    button is now available if a new API Key needs to be created (see steps above).

Upload Files

The /upload/ endpoint can be used to upload these types of files:

Claim.MD Acknowledgment or Rejection

When claim files are submitted using the /upload/ endpoint you will receive an acknowledgement or rejection from Claim.MD validating receipt of every claim.

Transmitting Claims Immediately Without Approval

Claims can be configured to transmit immediately without the need for approval by navigating to Settings -> Account Settings -> Transmit Approval. Simply un-select the Transmit Approval checkbox.

Claim Status

As claims are processed by the payers and their 3rd party trading partners, further claim status messages will return. Use the /response/ endpoint to periodically poll for these updates. You will accumulate these status messages in your own database, and take action as appropriate.

To continually download the most current status updates for ALL claims submitted, store the last_responseid and include it in subsequent API requests as ResponseID.

Receive ERA

The /eralist/ endpoint will return a list of checks, EFT’s or non-paying remittance. Periodically call the /era/ service to obtain a list of payments/No-Pay details sent by the payer. To continually download the most current ERA, store the last_eraid and include it in subsequent API requests as ERAID.

Use the ‘eraid’ for each ERA to download the full details including claim data, payments and adjustments. The ERA details can be downloaded in any of these formats:

  • /era835/

    Download the remittance in the standard 835 data format.

  • /erapdf/

    Download the remittance in a human-readable PDF report format.

  • /eradata/

    Download the remittance in the XML or JSON format (Controlled via the HTTP ‘accept’ header)

Auto Posting Payment or Denial Data

Payers return one ERA to coincide with each check or EFT sent to the provider. The ERA contains details on which claims are being paid, or adjusted. Our portal attempts to match the ERA to a claim in our system, but the API does not do this. It is up to your software to complete this task.

ERA are not matched to a specific Claim.MD claim ID. You will need to build logic that uses the below values from the ERA data to match claims in your system:

- Remote Charge ID # (remote_chgid / REF*6R)

- PCN (pcn / Loop 2300 CLM01)

- Policy # (ins_number / Loop)

- Date of Service (from_date)

- Procedure and modifiers. (proc_code, mod1, mod2...)

Keep in mind that payments should normally be associated at the charge level, not the claim level. A payer can un-bundle claims and return remits for each charge line separately. If you send a unique charge identifier (REF*6R / remote_chgid), most payers will return this value on the ERA.

Check Benefits/Eligibility

The /eligdata/ endpoint will query the payers eligibility database in real time. This endpoint accepts the patient/insured information as parameters and returns the payers eligibility results in XML or JSON formats.

Important Facts:

  • Provider information (prov_name_l,prov_taxid, etc.) is only optional if you have pre-loaded the provider into Prov. Enrollment screen.

  • Real provider NPI and information can be used, or the dummy NPI “1111111112” can be used.

  • The test system returns one sample eligibility response regardless of the data sent. Once done testing your ability to communicate with this API you will need to move to production to see the full array of possible payer responses.

  • Payers normally respond in under 20 seconds. Claim.MD will return a timeout error if the payer takes longer than 90 seconds.

Resubmitting Claims with Corrections

Effectively managing claim resubmissions involves resending the entire claim with the desired changes. The process may vary based on whether a claim was paid incorrectly or rejected.

Updating the claim record within Claim.MD

When resubmitting a claim, specific values in the claim data will control whether Claim.MD updates an existing claim record within our system or creates a new one. By default Claim.MD will update an existing claim record if these values match on the newly uploaded claim record:

  • Patient Acct # (pcn / Loop 2300, CLM01)

  • Rendering Provider (prov_npi / Loop 2310B, NM109)

  • Legacy Provider ID (prov_id / Loop 2310B, REF*G2)

  • Procedure Codes (proc_code_n / Loop 2400, SV10102)

  • Charge Amounts (charge_n / Loop 2400, SV102)

  • Service Dates (proc_code_n / Loop 2400, DTP03 Qual “472”)

  • Payer Order (payer_order / Loop 2000B, SBR01)

Recommended
If your software is able to send a unique claim identifier and retain that value between each submission, contact support to request your claim update field be set to “remote_claimid”. This value must be sent in your claim file in either the “remote_claimid” field or Loop 2300, REF02 with “D9” qualifier.


Note: When the automatic corrected claims setting is active in Claim.MD, updating an existing claim record will cause Claim.MD to look for a payer ICN previously returned on an ERA or claim status. If one can be found, Claim.MD will automatically add frequency code 7 and the payers previous claim # to the claim, allowing for easier corrected claim submissions.

Correcting a claim record at the payer

To correct a claim previously processed by the payer you must have the payers ICN, this is the unique value assigned to the claim by the payer most, often returned on the EOB or Electronic Remittance Advice.

Identify to the payer the claim that should be corrected by sending a frequency code of “7” (frequency_code / Loop 2300 CLM0503) and the payers ICN (Loop 2300 / REF02 with “F8” qualifier).

Voiding a claim record at the payer

To void a claim previously processed by the payer you must have the payers ICN, this is the unique value assigned to the claim by the payer, most often returned on the EOB or Electronic Remittance Advice.

Identify to the payer the claim that should be voided by sending a frequency code of “8” (frequency_code / Loop 2300 CLM0503) and the payers ICN (Loop 2300 / REF02 with “F8” qualifier).

Supported Claim Formats

ANSI X12 (837)

Supported ANSI X12 file formats:

  • 837P = Professional Claims

  • 837I = Institutional Claims

  • 837D = Dental Claims

Single Line Claim File (XLS/CSV)

Spreadsheet claim format, with all claim data and procedures on a single row. Format is CSV (Comma Separated Values) or XLS (Office Excel 97)

Multi-line Claim File (XLSX)

Spreadsheet claim format, with a separate row per procedure. Format is XLSX (Excel 2007)

XML Claim File (XML)

XML claim format

JSON Claim File (JSON)

JSON claim format

Batch Eligibility (CSV)

Spreadsheet batch eligibility file. Results must be viewed individually.

NSF

Legacy National Standard Format

Print Image

Legacy “Print Image” format. This is a plain text file format with the fields located roughly in the same location as the paper claim form. All values must be at a fixed location in the text file and have and equal number of lines for each claim record.

API Request and Response Samples

In the API documentation page, navigate to the test window to the right of the "Upload Batch Files" section. Here, you can choose the programming language for which you'd like to view a sample. For instance, the current selection is the "Node.JS" tab. The provided request sample serves as an illustrative example of how the programming could be structured. It is at the discretion of your programming team to determine how these requests should be implemented to align with your specific specifications.

Screenshot 2023-12-07 12.16.31 PM

Additionally, there are sample responses available that mirror the responses from Claim.MD, presented in X12, XML, and JSON formats.

Each of the sixteen sections includes sample programming and responses. These resources are provided to assist you in ensuring that your system accurately retrieves the necessary information from Claim.MD .

Request Body Schema

Take note of the Request Body Schema situated in the middle of the page. It explicitly highlights the crucial data required (indicated in red) for the request to operate correctly.

View Response Structure

Underneath the request schema, you'll find a green-shaded box for the response schema labeled "200." You can expand this box to view a screenshot illustrating the structure of the responses. By clicking the arrows, you can further expand the response schema to see the data identifiers and their descriptions. Additionally, note that you can switch the response structure from XML to JSON to view the schema in the respective format.

Attachments

You can send electronic attachments using the /upload/ service.

Attachments are uploaded as a separate file from the claim file. To upload a PDF attachment you will need to name the file with a unique attachment control number. Filename syntax:

  • ACNNUM.pdf

  • Replace ACCNUM with a unique identifier of your choosing.

  • Next upload your XML/CSV/XLS/JSON claim file, and include these fields:

  • "attach_type_code".

Alternatively, you can utilize the PWK06 segment within the 837 format for supported electronic healthcare claims submission.

Additional attachments can be made to the same claim using

  • "attach_acn_2","attach_ac n_3", etc..

  • A maximum of 10 attachments can be linked to a claim. Each file cannot exceed 16MB.

CONNECTION ISSUES

Q Receiving a 403 Forbidden Error
A Please make sure you are not exceeding 100 API requests per minute.
If you do, you will receive a temporary block and a 403 error.

Q API failed to connect or did not respond after a period of time
A Make sure you are not exceeding 100 requests per minute and that no firewall or network device is blocking the connection.

UPLOAD ISSUES

Q Error message: Zero claims detected. error_code = 63
A This error means we did not receive any data in the "File" parameter. For the system to recognize a CSV/JSON/XML file you must send the ‘Filename’ parameter

ENROLLMENTS

Q In the API for enrollment, some enrollment needs a fillable pdf with signature. How can they be pulled for enrollment from the integrated application?
A The API enrollment endpoint returns a one time use URL. Your application should load this link into a popup or iframe.
This will allow your users to complete and submit the necessary paperwork from within your application, and does not require additional coding on your part.

INTEGRATION API & SFTP

Q Can an account have both API and SFTP working at the same time?
A Submitting claims via SFTP in addition to the API is no problem. Downloading responses and 835 from both can be problematic and may result in one method receiving updates and not the other.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.