How to change base url used in responses from FHIR service when behind an Application Gateway

Danny Jones 5 Reputation points
2023-08-29T10:16:34.2366667+00:00

We have a FHIR server running in an Azure Health Data Services workspace. The FHIR server is not accessible directly, all requests are routed through a public endpoint at an Application Gateway. This means the url of the FHIR server is not exposed or usable externally. When we make requests to the FHIR server via the application gateway, the responses contain hateoas links to things like the next page of search results, but those links are using the internal url and therefore do not work. Is it possible to configure the FHIR server or the Application Gateway so that those urls use the correct external base url?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
961 questions
Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
149 questions
{count} votes