Stream: javascript
Topic: fhir.js: pull request 88: Native adapter added to the web...
FHIR.js Bot (Feb 03 2017 at 14:19):
bunyaminsg opened pull request 88
adapters/native.js
added towebpack.config.js
file. Now, it creates a build for 'native.js' adaper ondist/nativeFhir.js
when runningnpm run-script build
. This file can be imported as:<script src="js/nativeFhir.js"></script>And used in other scripts like:
var config = {"baseUrl":"http://base.url", ... }; var client = fhir(config); client.read({type: 'Patient', id: "..."}).then(function(response){ console.log(response); }, function (error) { console.log(error); });
FHIR.js Bot (Feb 04 2017 at 20:39):
niquola closed pull request 88
Last updated: Apr 12 2022 at 19:14 UTC