New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blue-button-fhir

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-button-fhir - npm Package Compare versions

Comparing version 1.4.0-beta.14 to 1.4.0

RELEASENOTES.md

28

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc