@kno2/bluebutton 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3641,9 +3641,12 @@ module.exports = function (doc) {
3641
3641
  /***/ 171:
3642
3642
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3643
3643
 
3644
+ "use strict";
3644
3645
  /*
3645
3646
  * Parser for the CCDA "plan of care" section
3646
3647
  */
3648
+
3649
+
3647
3650
  var Core = __webpack_require__(1);
3648
3651
 
3649
3652
  module.exports = function (doc) {
@@ -3651,11 +3654,9 @@ module.exports = function (doc) {
3651
3654
  self.doc = doc;
3652
3655
 
3653
3656
  self.care_plan = function (ccda) {
3654
- var data = [],
3655
- el;
3657
+ var care_plan = ccda.section('care_plan');
3656
3658
  var data = {},
3657
3659
  el;
3658
- care_plan = ccda.section('care_plan');
3659
3660
  data.entries = [];
3660
3661
  data.displayName = "Care Plan";
3661
3662
  data.templateId = care_plan.tag('templateId').attr('root');