@kno2/bluebutton 0.6.1 → 0.6.4

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.
@@ -5,17 +5,7 @@ on:
5
5
  types: [published]
6
6
 
7
7
  jobs:
8
- build:
9
- runs-on: windows-latest
10
- steps:
11
- - uses: actions/checkout@v2
12
- - uses: actions/setup-node@v2
13
- with:
14
- node-version: '14.x'
15
- - run: npm ci
16
-
17
8
  npm:
18
- needs: build
19
9
  runs-on: windows-latest
20
10
  steps:
21
11
  - uses: actions/checkout@v2
@@ -30,6 +20,9 @@ jobs:
30
20
  script: return context.ref.replace(/refs\/tags\//, '')
31
21
  result-encoding: string
32
22
  - run: npm ci
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
25
+ - run: npm run build
33
26
  - run: npm version --new-version ${{steps.set-git-version.outputs.result}} --no-git-tag-version
34
27
  - run: npm publish
35
28
  env:
@@ -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');