use fhir.js to communicate with server