For OpenEMR Office ally eligibility check I have I have fixed code of two place now my request get hit to the office ally server but I am getting the bad request from the office ally server below is 270 I am sending to office allay is there any issue with my 270 please let me know ISA000000000 000000000000ZZZZ2310161302^005010000000010T:~GSHS202310161302572X005010X279A1~ST270000000003005010X279A1~BHT002213PROVTest600202310161302~HL1**201~NM1PR2Test company name*****PIHCSVC~HL21211~NM11P2Workflow Clinic*****XX72347653~HL32220~NM1IL1TestLTestFTestMMI723648623486~REFEJ1~DMGD819940719F~DTP291D820231016~EQ30~SE13000000003~GE12~IEA1000000001~**
I just went through this same thing with WayStar. Have you checked with Office Ally to see if they have changed their request format? Bad data may not be in the file you are sending. For me, it ended up being the request header. After I had fixed the message to match exactly what their tech support sent to me. I had followed their guide but the guide was out of date. We know how that goes.
@Nilesh_Hake do you plan to share with the updated code? I have been studying the whole eligibility process. The implementation or the real time eligibility needs to be converted to an interface so that different providers can be implemented without having to rewrite/overwrite the existing code. I am still mapping out the calls to before embarking on the journey. Do you want to talk it over together?
@juggernautsei My client had given me access I do not know if that service is free or not but I will check with my client and update you.
Below is response I got from office allay
I recommend change from using our internal HTTP client over to Symfony client if you don’t understand how to use oeHttp client.
When this was developed Office Ally did not support batching requests via API so batching is emulated in code by sending as single request of each in batch. If OA does now support batching then this should be an easy change.
This was implement at least 3 years ago if not more.
Hi @sjpadgett office allay now support the API I working on response handling part for the API that have the 271. What my plan is with above above response I will extract the 271 data and return from the requestEligibility. And then I will verify you written remaining cod. I think you had handled all response 271 correct ?
Yes but let’s be clear; You say Office Ally now supports a batch request from a single API request?
I can not find my original forum thread from the development and testing conversation. I know there is a pretty extensive conversation with how to and logging feature.
I’d leave alone if the oeHttp client is not throwing any errors as I wrote that client mainly for FHIR client and was working very well with easy options/oauth/restful.
Still if replacing we have another client for symfony available. oeHttp also has security and again if api request are working then leave be.
I have mixed feelings using Guzzle. Always something with it. I rather use cURL than it and I think I moved to cURL for fax module. Still if works then really doesn’t matter and I can remove the oeHttp client from core with just a couple refactors if a PR is put up with this change.
@sjpadgett I cant share the test credential with you because credential is from the client but I have tested with test patient and credential when I hit above curl I am getting below response
As long as response body hasn’t changed then feature should fly.
I still don’t understand why anything needs to be done unless the request form data has changed. With @stephenwaite refactor and I assume he tested, the current client should work that is if we aren’t getting any errors due to recent php version changes.