fastenhealth / fasten-onprem

Fasten is an open-source, self-hosted, personal/family electronic medical record aggregator, designed to integrate with 100,000's of insurances/hospitals/clinics
GNU General Public License v3.0
1.59k stars 83 forks source link

eClinicalWorks [Ogden Clinic] Timeout Error #274

Open Batman313v opened 1 year ago

Batman313v commented 1 year ago

I am receiving the following error while trying to sync the Ogden clinic

{
  "source_id": "4834742c-f381-4f57-9e33-8adb9cc2675f",
  "source_type": "ogden-clinic",
  "error_data": {
    "final": "an error occurred while bulk importing resources from source: Get \"https://fhir4.eclinicalworks.com/fhir/r4/JJJGBA/Patient/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
  }
}
AnalogJ commented 1 year ago

Can you confirm that the website for your provider is https://www.ogdenclinic.com/ and your patient portal looks like https://mycw62.ecwcloud.com/portal7937/jsp/100mp/login_otp.jsp ?

Batman313v commented 1 year ago

Yep, those are correct

AnalogJ commented 1 year ago

Hey @Batman313v this might require a debugging session. I was able to verify that my sandbox connection to eClinicalWorks is having issues as well.

Any chance you're on Discord? I can update you once I figure out whats going on.

Batman313v commented 1 year ago

Hey @Batman313v this might require a debugging session. I was able to verify that my sandbox connection to eClinicalWorks is having issues as well.

Any chance you're on Discord? I can update you once I figure out whats going on.

Yep, I'll send you a message

dpiessens commented 1 year ago

Just stumped across the project, very cool! Might need to ask your clinic which version of eCW they are on. If it's still version 11 FHIR isn't available.

AnalogJ commented 1 year ago

Thanks for the interest!

@dpiessens do you know if the eCW version is specified in the Capability Statement/Conformance document anywhere?

https://fhir4.eclinicalworks.com/fhir/r4/JJJGBA/metadata

I took a look but didn't see any 2 digit versions, only

   <id value="eCWFhirFacade"/>
...
   <version value="2.0"/>
   <name value="eCW FHIR Facade"/>
   ...
   <publisher value="eClinicalWorks"/>
   ...
   <software>
      <name value="eCW FHIR Facade"/>
      <version value="1.6"/>
   </software>
dpiessens commented 1 year ago

No, just that v11 doesn't have FHIR at all. My org uses it at the clinic level, and ran into it a few times.

williamstlr commented 10 months ago

I'm having the same issue with this provider, what can I do to help with this?

AnalogJ commented 10 months ago

I think the solution here is to allow users to customize the Timeout as discussed in #357 , with a fallback to requesting resource types individually, without a bulk export.