blue-button-generate
Advanced tools
Comparing version 1.4.0-beta.7 to 1.4.0-beta.8
@@ -55,3 +55,3 @@ "use strict"; | ||
} | ||
}, { | ||
}, /*{ | ||
key: "setId", | ||
@@ -62,3 +62,3 @@ attributes: { | ||
} | ||
}, { | ||
},*/ { | ||
key: "versionNumber", | ||
@@ -65,0 +65,0 @@ attributes: { |
@@ -100,2 +100,4 @@ "use strict"; | ||
if (bbuo.exists(value)) { | ||
//trim date | ||
value=value.substring(0,12); | ||
return value; | ||
@@ -102,0 +104,0 @@ } else { |
@@ -100,2 +100,25 @@ "use strict"; | ||
var problemsTextHeaders = ["Condition"]; | ||
var problemsTextRow = [ | ||
leafLevel.deepInputProperty("problem.code.name", ""), | ||
]; | ||
var plan_of_careTextHeaders = ["Plan of Care"]; | ||
var plan_of_careTextRow = [ | ||
leafLevel.deepInputProperty("plan.name", ""), | ||
leafLevel.deepInputDate("date_time.center", "") | ||
]; | ||
var proceduresTextHeaders = ["Procedure", "Procedure Date", "Provider", "Phone #", "Status"]; | ||
var proceduresTextRow = [ | ||
leafLevel.deepInputProperty("procedure.name", ""), | ||
leafLevel.deepInputDate("date_time.point", ""), | ||
leafLevel.deepInputProperty("performer.0.organization.0.name.0", ""), | ||
leafLevel.deepInputProperty("performer.0.organization.0.phone.0.number", ""), | ||
leafLevel.deepInputProperty("status", "") | ||
]; | ||
var medicationsTextHeaders = ["Medication Class", "# fills", "Last fill date"]; | ||
@@ -152,3 +175,4 @@ var medicationsTextRow = [ // Name, did not find class in the medication blue-button-data | ||
fieldLevel.templateCode("ProblemSection"), | ||
fieldLevel.templateTitle("ProblemSection"), { | ||
fieldLevel.templateTitle("ProblemSection"), | ||
getText('problems', problemsTextHeaders, problemsTextRow), { | ||
key: "text", | ||
@@ -179,3 +203,4 @@ text: "" | ||
fieldLevel.templateCode("ProceduresSection"), | ||
fieldLevel.templateTitle("ProceduresSection"), { | ||
fieldLevel.templateTitle("ProceduresSection"), | ||
getText('procedures', proceduresTextHeaders, proceduresTextRow), { | ||
key: "text", | ||
@@ -419,3 +444,4 @@ text: "" | ||
fieldLevel.templateCode("PlanOfCareSection"), | ||
fieldLevel.templateTitle("PlanOfCareSection"), { | ||
fieldLevel.templateTitle("PlanOfCareSection"), | ||
getText('plan_of_care', plan_of_careTextHeaders, plan_of_careTextRow), { | ||
key: "text", | ||
@@ -422,0 +448,0 @@ text: "" |
{ | ||
"name": "blue-button-generate", | ||
"version": "1.4.0-beta.7", | ||
"version": "1.4.0-beta.8", | ||
"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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26057887
558563