blue-button-generate
Advanced tools
Comparing version 1.5.0-beta.6 to 1.5.0-beta.7
@@ -44,5 +44,6 @@ "use strict"; | ||
key: "title", | ||
text: "Community Health and Hospitals: Health Summary" | ||
text: leafLevel.inputProperty("title"), | ||
dataKey: "meta.ccda_header" | ||
}, | ||
[fieldLevel.effectiveTime, required], { | ||
[fieldLevel.effectiveTimeNow, required], { | ||
key: "confidentialityCode", | ||
@@ -49,0 +50,0 @@ attributes: leafLevel.codeFromName("2.16.840.1.113883.5.25"), |
@@ -16,2 +16,4 @@ "use strict"; | ||
var moment = require('moment'); | ||
exports.templateId = function (id) { | ||
@@ -96,2 +98,9 @@ return { | ||
var effectiveTimeNow = exports.effectiveTimeNow = { | ||
key: "effectiveTime", | ||
attributes: { | ||
"value": moment().format("YYYYMMDDHHMMSS"), | ||
} | ||
}; | ||
var effectiveTime = exports.effectiveTime = { | ||
@@ -98,0 +107,0 @@ key: "effectiveTime", |
@@ -23,3 +23,3 @@ "use strict"; | ||
attributes: { | ||
code: function(input) { | ||
code: function (input) { | ||
return input.substring(0, 1); | ||
@@ -36,3 +36,3 @@ }, | ||
attributes: { | ||
code: function(input) { | ||
code: function (input) { | ||
return input.substring(0, 1); | ||
@@ -105,3 +105,3 @@ }, | ||
attributes: { | ||
code: function(input) { | ||
code: function (input) { | ||
return input.substring(0, 1); | ||
@@ -117,3 +117,3 @@ }, | ||
attributes: { | ||
value: function(input) { | ||
value: function (input) { | ||
return input.toString(); | ||
@@ -157,3 +157,3 @@ } | ||
use: "WP", | ||
value: function(input) { | ||
value: function (input) { | ||
return input.value.number; | ||
@@ -250,3 +250,2 @@ } | ||
var providers = exports.providers = { | ||
@@ -253,0 +252,0 @@ key: "documentationOf", |
{ | ||
"name": "blue-button-generate", | ||
"version": "1.5.0-beta.6", | ||
"version": "1.5.0-beta.7", | ||
"description": "Blue Button CCDA Generator.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
26470164
566396