# Eligibility Checks & Clearinghouses

**URL:** <https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742>\
**Category:** Day-to-Day Users\
**Created:** [March 10, 2018, 3:11pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742 "2018-03-10T15:11:38Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 3:07pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/61 "2019-02-28T15:07:47Z")

</div>

Yep, nothing wrong with the the 270 batch except I want to give some control over segments back to the partner set up. We also need to setup for SFTP delivery to companion what will now be batch download, RealTime MIME/SOAP and the SFTP. I suppose if we are going to do this we should probably do it all the way. Agree?

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 3:09pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/62 "2019-02-28T15:09:59Z")

</div>

Yes. Assuming you are using the Request Eligibility button. Download should show the entire transaction.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 3:30pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/63 "2019-02-28T15:30:11Z")

</div>

@albanyeye  
This is a log from a failed OA transaction: [elig-271\_officeally\_2019-02-28\_10\_24\_58.txt](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/7/7437e86f2ba6baf017bf790573d55a6fb42f99b6.txt) (1.8 KB)

And this one is where I emulate a successful transaction: [elig-271\_officeally\_2019-02-28\_10\_23\_32.txt](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/a/ae5c93e8d5771acf5d618f76251c05543428404d.txt) (5.4 KB)

The first is what i’m trying to figure out why the AAA 79 error. Think has something to do with NPI’s or NMI id’s…

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [February 28, 2019, 4:07pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/64 "2019-02-28T16:07:49Z")

</div>

That looks great!  
My donwload does not look like that.  
I ran this on 5.02 after upgrading database and application from 5.01  
Here is a my file. I changed the paient name and ID etc.[elig-271\_officeally\_2019-02-28\_11\_03\_59.txt](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/a/af1c21eeab515fa08e03ad5df30f4d6ad4559046.txt) (12.9 KB)

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 4:47pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/65 "2019-02-28T16:47:57Z")

</div>

That’s a bug that I fixed with flushing the buffers before a return. You should have the fix but may be something to do with Windows vs Linux.  
Let me revisit and i’ll post another patch.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 5:50pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/66 "2019-02-28T17:50:12Z")

</div>

@albanyeye Try this new patch although not sure why the buffers were over run in previous but sometimes I try to get too clever and shoot myself in the foot 🙂 So let me know if this fix works.  
[eligibility-patch-2.zip](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/5/5d843b3c4324d122e01a53d1249cc2ba18ef1285.zip) (15.7 KB)

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 5:52pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/67 "2019-02-28T17:52:51Z")

</div>

@robert.down Is it okay to do this in this forum category or do you want to move to the Development forum thread?

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [February 28, 2019, 6:07pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/68 "2019-02-28T18:07:45Z")

</div>

No problems  
This time i got up to IEA segment[elig-271\_officeally\_2019-02-28\_13\_05\_05.txt](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/5/5a115e266fe31c76a244176b93d7689b20c12891.txt) (518 Bytes)

This seems incorrect?  
ISA_00_1234567  
infact the whole ISA segment is different for me  
You have: ISA_00_1234567 _00__ZZ_155214 _ZZ_OFFALLY  
I have: ISA_00_1234567 _00__ZZ_123456789 _ZZ_330897513

Even if I replace 330897513 with OFFALLY, it does not make a difference

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 6:32pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/69 "2019-02-28T18:32:46Z")

</div>

You’re x12 partner is most likely missing user and password in the ISA02 and ISA04. I’ll PM a screenshot.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [February 28, 2019, 8:45pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/70 "2019-02-28T20:45:29Z")

</div>

Some Fyi’s  
When using the new oeHttp client you can turn on a debug proxy port for tools like Fiddler (a great Http debug tool for watching Http with cURL or sockets). It is used by including setDebug(proxy\_port) in your request chain and is set in edi.inc around L-918. To use just uncomment as below.

- $response = oeHttp::bodyFormat(‘body’)  
 -\>setDebug(‘5000’)  
 -\>usingHeaders($headers)  
 -\>post(‘[https://wsd.officeally.com/TransactionSite/rtx.aspx](https://wsd.officeally.com/TransactionSite/rtx.aspx)’, $mime\_body);  
$formBody = $response-\>body();
- Remember the proxy port must be available or request will fail…

Also the following settings in X12 Partner setup now have meaning again in 270 message.

- ID Number (ETIN): defaults to 46 but can require something else like PI for Payer NMI
- Sender ID Qualifier (ISA05) and Receiver ID Qualifier (ISA07)
- Acknowledgment Requested (ISA14)
- Usage Indicator (ISA15)

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [March 1, 2019, 1:07pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/71 "2019-03-01T13:07:41Z")

</div>

with slight edits to the 270 as mentioned above and referring to the guide was able to receive a 271 (batch submission means next day report)

one bug is that filtering by X12 partner doesn’t work so you get a corrupted file with other insurances mixed in, is that something you’ve noticed?

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [March 1, 2019, 1:45pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/72 "2019-03-01T13:45:26Z")

</div>

Stephen  
Will your 270 work with 5.01?  
Can I try it with Availity? Georgia Medicaid?  
I’m trying to find 270 /271 Georgia Medicaid companion guide

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [March 1, 2019, 1:51pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/73 "2019-03-01T13:51:33Z")

</div>

> **[GAMMIS\_5010\_270-271\_Companion\_Guide\_v2.9%2020170804161751.pdf](https://www.mmis.georgia.gov/portal/Portals/0/StaticContent/Public/ALL/COMPANION%20GUIDES/GAMMIS_5010_270-271_Companion_Guide_v2.9%2020170804161751.pdf)**
>
> 1200.69 KB

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [March 1, 2019, 2:01pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/74 "2019-03-01T14:01:38Z")

</div>

sure, the batch method will work once the edi.inc and 270 files are updated to the specs

looks like georgia medicaid specs are similar

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [March 1, 2019, 2:09pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/75 "2019-03-01T14:09:45Z")

</div>

Hi @stephenwaite

> [@stephenwaite](#):
>
> able to receive a 271

From where? OA.

Not sure I understand. The x12 partner filter can result more than one insurance company depending on what insurance companies are assigned to any given partner.  
I have noticed that duplicates are being resulted which shouldn’t happen unless we plan to check eligibility by say procedures and/or other specific criteria.  
Medicare, Medicaid and commercial insurances will need to be handled differently and using a pass through service like OA will require adjustments to the 270 depending on service type and company so in the end, yes i’ve noticed filtering needs to be addressed and plan on sorting that out once i’m successful resulting some RealTime transactions. I’m assuming you want to filter by insurance companies as well, where batch will consist of single partner and single insurance company. Which makes sense.

I’d love to see the 271 resulted file so I can test against new and old 271 parsing and combine into one engine.  
Also will need to add to the eligibility tab all the eligibility info returned besides just co-pay and deductibles and allow a report to be generated from the tab.

Right now i’m trying to get past a specific AAA error code 79 using OA. Something to do with 2100A NMI03 and/or NMI09

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [March 1, 2019, 2:14pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/76 "2019-03-01T14:14:46Z")

</div>

it wont mess with the X12 files for billing ?  
ill try on test machine while i wait for Jerry to sort out Office Ally

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [March 1, 2019, 3:29pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/77 "2019-03-01T15:29:27Z")

</div>

this is for vt medicaid which supports 270/271 batch method with the specs posted above

in the library directory [edi.inc](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/1/1193fc06920faba39f74122ea93e480002924e65.inc) (26.8 KB)  
in the interface/reports/directory [edi\_270.php](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/6/6eb3a16d9c613cafb06fb54ac4acf0ba6ef40c3b.php) (16.4 KB)

it would take some work to deidentify the 271 @sjpadgett ☹

- caveat is that it has to be a report with only one insurance visits since even though the delete the row feature works for the visible report the 270 generated still grabs the other records

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [March 1, 2019, 6:08pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/78 "2019-03-01T18:08:17Z")

</div>

> [@sjpadgett](#):
>
> specific AAA error code 79

Okay Haven’t heard from OA but I think i’ve identified this issue. Turns out, at least for Aetna, they need the payer Id. However the AAA 79 has now turned into a 999 reject validation(the submitted 270 does not pass HIPAA validation). Jeez… Probably issue with loop 2100B. And I bet the payer id for Aetna with OA will be different for say Availity and on… So there will be lookups in our future.  
My life would be so much easier if I simply had the T3/X12 spec. This hunt and peck is annoying

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [March 1, 2019, 7:21pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/79 "2019-03-01T19:21:02Z")

</div>

@albanyeye, @stephenwaite  
You’ll may be happy to know i’ve figured out the OA interface. Now we need to plan how we want to make the Eligibility interface as universal as possible. Needs everyones thoughts on this.

- Best way to configure for different interchanges.
- When using batch, is it everyone’s experience the the provider NM1 (loop2100B) will use the facility for provider(FA)?
- Should we maintain a separate insurance payer id table to cover different interchanges?
- If we support OA, Availity and maybe Zirmed, is there a reason to even do batch? (We can emulate batch with RealTime).
- What do we wish to display to the user concerning EBs? There is a ton of information available in the 271 not only for service type 30 but others like Hospital, outpatient, home health and on. This would require changing the 270 ask (EQ) to provide a list of service types to report back in 271.

Or, is everybody content to just make OA and batch work with minimum 271 reporting? I do know we can’t keep hard coding for specific interchanges.

---

<div class="post-metadata">

**Author:** ![albanyeye](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@albanyeye](https://community.open-emr.org/u/albanyeye)\
**Post date:** [March 1, 2019, 7:24pm UTC](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742/80 "2019-03-01T19:24:59Z")

</div>

WoW!!!  
Excited Im excited!!  
Can I try it?

> “f we support OA, Availity and maybe Zirmed, is there a reason to even do batch? (We can emulate batch with RealTime).”

I know that my staff sometime has to go do medicaid directly on the medicaid website because medicaid HMO details are sometimes not complete on OfficeAlly and Availity

> What do we wish to display to the user concerning EBs?

IMHO CoPay, deductible, and secondary (if there is one) are important.

[Previous page](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742.md?page=3)

[Next page](https://community.open-emr.org/t/eligibility-checks-clearinghouses/9742.md?page=5)
