Can OpenEMR FHIR integration be used to sync two OpenEMR clinics?

I want to create a sync between multiple openEMR installations and I’m wondering if I can use FHIR for it.

The plan is to create multiple openEMR at different sub-domains (test.foo.com and test1.foo.com using separate dbs). I want to pull in patient records on test.foo.com from test1.foo.com and vica-versa.

From my understanding, seems like FHIR could be the answer but I’m having trouble how it works at core of OpenEMR and if this is possible.

Thank you

@cyril

FHIR is one of the possible solutions and to understand more about FHIR and OpenEMR have a look into the following thread, it may help to some extent.
OpenEMR and FHIR

Thanks,
ViSolve