blue-button-fhir
Advanced tools
Comparing version 1.4.0-beta.14 to 1.4.0
{ | ||
"name": "blue-button-fhir", | ||
"version": "1.4.0-beta.14", | ||
"version": "1.4.0", | ||
"description": "Blue Button FHIR to Model Translator", | ||
@@ -26,17 +26,17 @@ "main": "./index.js", | ||
"dependencies": { | ||
"blue-button-meta": "^1.3.0", | ||
"blue-button-util": "^1.4.0-beta.1", | ||
"bunyan": "^1.2.3", | ||
"lodash": "^2.4.1" | ||
"blue-button-meta": "~1.3.0", | ||
"blue-button-util": "~1.4.0", | ||
"bunyan": "~1.2.3", | ||
"lodash": "~2.4.1" | ||
}, | ||
"devDependencies": { | ||
"blue-button-model": "^1.3.0", | ||
"chai": "^1.10.0", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-jshint": "^0.10.0", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-jsbeautifier": "^0.2.7", | ||
"grunt-mocha-test": "^0.12.4", | ||
"grunt-shell": "^1.1.1", | ||
"mocha": "^2.1.0" | ||
"blue-button-model": "~1.4.0", | ||
"chai": "~1.10.0", | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
"grunt-contrib-watch": "~0.6.1", | ||
"grunt-jsbeautifier": "~0.2.7", | ||
"grunt-mocha-test": "~0.12.4", | ||
"grunt-shell": "~1.1.1", | ||
"mocha": "~2.1.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "repository": { |
@@ -11,14 +11,14 @@ blue-button-fhir | ||
This library translates an array of FHIR resources or a bundle resource to [blue button model](https://github.com/amida-tech/blue-button). | ||
This library translates [FHIR Resource Bundles](http://www.hl7.org/implement/standards/fhir/extras.html) to [blue button model](https://github.com/amida-tech/blue-button). | ||
Currently the following resources are supported | ||
Currently the following resources are supported in Bundles | ||
* Allergy Intolerance | ||
* Adverse Reaction and Substance resources that are externally referenced from any Allergy Intolerance resource is assumed to be in the input array of resources/bundle. | ||
* Adverse Reaction and Substance resources that are externally referenced from any Allergy Intolerance resource are assumed to be in the Bundle. | ||
* Condition | ||
* Medication Administration | ||
* Medication and Medication Prescription resources that are externally referenced from any Medication Administration resource is assumed to be in the input array resources/bundle. | ||
* Medication and Medication Prescription resources that are externally referenced from any Medication Administration resource are assumed to be in the Bundle. | ||
* Medication Prescription | ||
* Medication resources that are externally referenced from any Medication Prescription resource is assumed to be in the input array resources/bundle. | ||
* Medication resources that are externally referenced from any Medication Prescription resource are assumed to be in the Bundle. | ||
* Observation | ||
* Observation resources are assumed to have an extension->valueCoding element that defines the LOINC description of the type of the resource. Vitals (code - 8716-3) and Results (code - 11502-2) are supported. | ||
* Observation resources are assumed to have an `extension.valueCoding` field that defines the LOINC description of the type of the resource. Vitals (code - 8716-3) and Results (code - 11502-2) are supported. | ||
@@ -31,3 +31,3 @@ ## Usage | ||
``` | ||
and translate an array of resources or a bundle | ||
and translate a FHIR Resource Bundle | ||
``` javascript | ||
@@ -44,1 +44,8 @@ var model = bbfhir.toModel(input); | ||
``` | ||
## Configuration | ||
The only configurable item in this project is logging which can be configured in `lib/logger.js`. See [bunyan](https://github.com/trentm/node-bunyan) for configuration options. | ||
## Testing | ||
[Mocha](http://mochajs.org/) and [Grunt](http://gruntjs.com/) are used for testing this project. Simply run `grunt` in the project directory to run all the tests. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
100205
37
0
49
+ Addedblue-button-meta@1.3.0(transitive)
+ Addedblue-button-util@1.4.2(transitive)
+ Addedbunyan@1.2.4(transitive)
+ Addeddtrace-provider@0.3.2(transitive)
+ Addednan@1.3.0(transitive)
- Removedblue-button-meta@1.7.0(transitive)
- Removedblue-button-util@1.5.0(transitive)
- Removedbunyan@1.8.15(transitive)
- Removeddtrace-provider@0.8.8(transitive)
- Removedmoment@2.30.1(transitive)
- Removednan@2.22.0(transitive)
- Removedsafe-json-stringify@1.2.0(transitive)
Updatedblue-button-meta@~1.3.0
Updatedblue-button-util@~1.4.0
Updatedbunyan@~1.2.3
Updatedlodash@~2.4.1