New to HAPI FHIR - Standard Practice for extracting data from data sources?

Hello.

My organization is currently looking at installing and configuring a HAPI FHIR server. And one of the biggest questions I find myself trying to answer is how HAPI is supposed to pull data from from our EHR or data source.

Does HAPI have a way to make calls for data against other data sources? Can it be configured to make HTTP calls to another application or database out of the box? Does such a feature need to be custom built?

Or is it necessary to configure a connection via an integration engine?

Any advice or information would be greatly appreciated.
And please let me know if I need to elaborate on this question for clarity. I’m happy to do so.