...
The HRP service would behave like as a bridge between the clinic/hospitals and the gateway.
All the clinics/hospitals would need to subscribe to the HRP service and generate their unique HFR ID.
HRP service maintains a map of HRFID to instanceID/instanceURL.
Gateway would just talk to HRP service and HRP service using the map would route the calls to different instances.
...