# Medicare Remit Codes for Secondary Claims

**URL:** <https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559>\
**Category:** OpenEMR Development\
**Created:** [September 12, 2011, 8:58pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559 "2011-09-12T20:58:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 12, 2011, 8:58pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/1 "2011-09-12T20:58:56Z")

</div>

**[tmccormi](https://sourceforge.net/u/tmccormi/)** wrote on [Monday, September 12, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#cc91):

The queuing for Secondary Insurance is done through Fees \> Payments (or Billing \> EOBS) currently with no option of adding a remittance advice code as required by Medicare.&nbsp;&nbsp; We are working on solution for this that would allow the entry of those codes and insure that they show up in the X12 file: (loop 2300 thru 2430).

Here’s the basic plan:  
1) Create a list\_options set for the MSP Remittance Advice Codes  
2) Add a column to payment posting to allow you to select those codes at that time (new payments module only)  
3) Enhance library/Claim.class.php to be able to get the codes for secondary medicare claims  
4) Enhance gen\_x12 to use them in the right place  
5) Enhance gen\_hcfa to use them if that’s possible

Thoughts?  
-Tony

> **[Medical Information Integration](http://www.mi-squared.com)**
>
> We are OpenEMR experts | HIPPA-Compliant EHR hosting, implementation & customization | Health IT & Beyond

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 13, 2011, 1:55am UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/2 "2011-09-13T01:55:47Z")

</div>

**[cverk](https://sourceforge.net/u/cverk/)** wrote on [Tuesday, September 13, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#3114):

Currently in version 4.0 if you send a secondary claim by x12, the first CPT code usually will be correct, but subsequent CPT codes will be screwed up with stuff like a billing date in the year 1900 and no advise codes. You then usually have to fix them at the clearinghouse level to get them to go through.&nbsp; Luckily, most Medicare claims are billed to secondary internally by Medicare and you don’t have to mess with this.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 13, 2011, 8:41pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/3 "2011-09-13T20:41:08Z")

</div>

**[kchapple](https://sourceforge.net/u/kchapple/)** wrote on [Tuesday, September 13, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#8ae9):

All,

I added a free-form text box to enter a remit code.&nbsp; If anyone has a free moment, please test this under some different scenarios to see if the X-12 comes out correctly, as the code is a hack.&nbsp; If anyone has better implementation suggestions, please suggest.&nbsp; In the meantime, I’ll be putting codes into a list\_options list for ease of use.

[https://github.com/kchapple/openemr/commit/35b1b4645bcc54ec8b97bba9f802526d9211394a](https://github.com/kchapple/openemr/commit/35b1b4645bcc54ec8b97bba9f802526d9211394a)

Thanks,  
Ken

> **[Medical Information Integration](http://www.mi-squared.com)**
>
> We are OpenEMR experts | HIPPA-Compliant EHR hosting, implementation & customization | Health IT & Beyond

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 14, 2011, 10:38pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/4 "2011-09-14T22:38:21Z")

</div>

**[tmccormi](https://sourceforge.net/u/tmccormi/)** wrote on [Wednesday, September 14, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#9d7e):

Rod …  
&nbsp;&nbsp; Please take a look at Ken’s code and offer any suggestions.  
-Tony

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 15, 2011, 5:54pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/5 "2011-09-15T17:54:15Z")

</div>

**[kchapple](https://sourceforge.net/u/kchapple/)** wrote on [Thursday, September 15, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#05cb):

Sorry, Here’s the updated branch (up to date with master)

[https://github.com/kchapple/openemr/commits/billing\_updated](https://github.com/kchapple/openemr/commits/billing_updated)

The first commit is the remit code work, the second is putting the msp codes into a list for usability.

Ken

> **[Medical Information Integration](http://www.mi-squared.com)**
>
> We are OpenEMR experts | HIPPA-Compliant EHR hosting, implementation & customization | Health IT & Beyond

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 19, 2011, 9:03pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/6 "2011-09-19T21:03:01Z")

</div>

**[tmccormi](https://sourceforge.net/u/tmccormi/)** wrote on [Monday, September 19, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#71e3):

If there is no additional feed back on this fix, I’ll commit it tomorrow (with a bump to the database version as needed0.

[https://github.com/kchapple/openemr/commit/1eebdd886281eb83e791af1ae90b4d0d054e834d](https://github.com/kchapple/openemr/commit/1eebdd886281eb83e791af1ae90b4d0d054e834d)

-Tony

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [September 19, 2011, 9:13pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/7 "2011-09-19T21:13:22Z")

</div>

**[bradymiller](https://sourceforge.net/u/bradymiller/)** wrote on [Monday, September 19, 2011](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#4ba7):

Hi,  
Please delay this a bit. I’d like to review it (on quick review , noted an issue in the sql inserts if list\_options table ever gets modified in the future). Is this needed for 4.1?  
-brady

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [January 15, 2015, 8:46pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/8 "2015-01-15T20:46:04Z")

</div>

**[michaelke](https://sourceforge.net/u/michaelke/)** wrote on [Thursday, January 15, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#2b29):

Whatever happened with this? It is required when submitting claims to medicare via X12 to list the diagnosis codes and pointers for each procedure for a given encuonter. Has anyone had success billing directly to Medicare via a Medicare NSV? Thanks guys.

Michael

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [January 15, 2015, 9:53pm UTC](https://community.open-emr.org/t/medicare-remit-codes-for-secondary-claims/7559/9 "2015-01-15T21:53:04Z")

</div>

**[fsgl](https://sourceforge.net/u/fsgl/)** wrote on [Thursday, January 15, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/e49fed21/#a215):

Medicare Remit Codes are assigned automatically if Batch Payments is used to post Medicare payments.

If crossover isn’t available, then claim must be submitted to the secondary insurer.
