diff --git a/README.md b/README.md index 908391b..fb85da7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,10 @@ The library uses technologies that are safe for use in browser-only applications # Installation ``` npm install fhir +or +bower install fhir ``` + To use in a node.js application, require the "fhir" module. ``` var Fhir = require('fhir'); @@ -23,11 +26,8 @@ To use in a browser application, reference dist/bundle.js. ``` -``` - -# Test -``` -npm test +or + ``` # Basic Usage @@ -49,3 +49,8 @@ API documentation can be found at http://lantanagroup.github.io/FHIR.js/ # Implementation Notes * Compatible with FHIR Release 4 Candidate v3.2.0 * FHIR profiles (within the "profiles" directory) are used to determine whether properties should be arrays, the data type and cardinality of each property, etc.. The profiles are first combined using packageProfiles.js into a single bundle of all profiles. A second pass over the profiles is performed to create a hierarchy (rather than a flat list) of the properties, and only includes information that validation is concerned about. The result of the second pass is stored in profiles/types.json and profiles/valueSets.json. + +# Test +``` +npm test +``` \ No newline at end of file diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..0502854 --- /dev/null +++ b/bower.json @@ -0,0 +1,28 @@ +{ + "name": "fhir-js", + "description": "Node.JS library for serializing/deserializing FHIR resources between JS/JSON and XML using various node.js XML libraries.", + "main": "dist/bundle.js", + "authors": [ + "Sean McIlvenna @ Lantana Consulting Group" + ], + "license": "ISC", + "keywords": [ + "fhir", + "healthcare", + "interoperability", + "xml", + "json", + "serialization", + "hl7", + "standards", + "clinical" + ], + "homepage": "https://github.com/lantanagroup/FHIR.js", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +}