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

blue-button-generate

Package Overview
Dependencies
Maintainers
5
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-button-generate - npm Package Compare versions

Comparing version 1.5.0-beta.1 to 1.5.0-beta.2

3

index.js
"use strict";
/*
This script converts CCDA data in JSON format (originally generated from a Continuity of Care Document (CCD) in
This script converts CCDA data in JSON format (originally generated from a Continuity of Care Document (CCD) in
standard XML/CCDA format) back to XML/CCDA format.

@@ -37,2 +37,3 @@ */

}
result.preventNullFlavor = options.preventNullFlavor;

@@ -39,0 +40,0 @@ return result;

@@ -145,3 +145,3 @@ "use strict";

}
if ((!filled) && template.required) {
if ((!filled) && template.required && !context.preventNullFlavor) {
var node = xmlutil.newNode(xmlDoc, template.key);

@@ -148,0 +148,0 @@ xmlutil.nodeAttr(node, {

{
"name": "blue-button-generate",
"version": "1.5.0-beta.1",
"version": "1.5.0-beta.2",
"description": "Blue Button CCDA Generator.",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -7,2 +7,3 @@ # blue-button-generate.js Release Notes

- Set Identifier and Confidentiality Code are now read from CCDA JSON meta properties.
- Add preventNullFlavor option to generateCCD

@@ -9,0 +10,0 @@ # v.1.4.0 - March 25, 2105

@@ -161,3 +161,5 @@ var expect = require('chai').expect;

};
var xml = bbg.generateCCD(input);
var xml = bbg.generateCCD(input, {
preventNullFlavor: true
});

@@ -164,0 +166,0 @@ // parse generated ccda

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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