JavaScript client for Fast Healthcare Interoperability Resources

Usage no npm install needed!

<script type="module">
  import appcatalystFhirJsClient from '';


SMART on FHIR JavaScript Client Library


To build the library, you will need Grunt and NPM. Once you have all the dependencies in place, you can build the library with the grunt command.

Here are the exact steps to build the client library on Ubuntu 14.04:

sudo apt-get update
sudo apt-get -y install git npm
sudo ln -s "$(which nodejs)" /usr/bin/node
git clone
cd client-js
npm install
sudo npm install -g grunt-cli

If all goes well, the client library will be available in the dist directory in multiple variants as follows:

  • fhir-client.js - complete client library with jQuery and fhir.js included (no external dependencies)
  • fhir-client-jquery.js - client library using jQuery, jQuery and fhir.js not included
  • fhir-client-angularjs.js - client library using AngularJS, AngularJS and fhir.js not included


For usage examples and further documentation, please visit