@openmrs/ngx-formentry 3.2.1-pre.236 → 3.2.1-pre.241

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.
Files changed (27) hide show
  1. package/bundles/openmrs-ngx-formentry.umd.js +74 -51
  2. package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
  3. package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +2 -2
  4. package/esm2015/components/number-input/number-input.module.js +1 -1
  5. package/esm2015/components/radio-button/radio.component.js +5 -5
  6. package/esm2015/form-entry/directives/historical-value.directive.js +1 -1
  7. package/esm2015/form-entry/form-factory/form-node.js +1 -1
  8. package/esm2015/form-entry/form-factory/validation.factory.js +1 -1
  9. package/esm2015/form-entry/helpers/historical-expression-helper-service.js +1 -1
  10. package/esm2015/form-entry/helpers/js-expression-helper.js +18 -4
  11. package/esm2015/form-entry/helpers/risk-dataset-table.js +36 -36
  12. package/esm2015/form-entry/question-models/interfaces/diagnosis-question-options.js +1 -1
  13. package/esm2015/form-entry/question-models/max-length-validation.model.js +1 -1
  14. package/esm2015/form-entry/question-models/min-length-validation.model.js +1 -1
  15. package/esm2015/form-entry/validators/max-length.validator.js +2 -2
  16. package/esm2015/form-entry/validators/min-length.validator.js +2 -2
  17. package/esm2015/form-entry/value-adapters/diagnosis.adapter.js +21 -15
  18. package/esm2015/form-entry/value-adapters/encounter.adapter.js +3 -2
  19. package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +4 -2
  20. package/esm2015/form-entry/value-adapters/patient-identifier.adapter.js +3 -3
  21. package/esm2015/lib/index.js +2 -2
  22. package/fesm2015/openmrs-ngx-formentry.js +83 -60
  23. package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
  24. package/form-entry/value-adapters/patient-identifier.adapter.d.ts +2 -2
  25. package/lib/index.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/styles/ngx-formentry.css +1 -1
@@ -1625,7 +1625,7 @@
1625
1625
  [21, 23, 25, 26, 28],
1626
1626
  [17, 19, 20, 21, 23],
1627
1627
  [14, 15, 16, 17, 18],
1628
- [11, 12, 13, 14, 15], // sbp < 120
1628
+ [11, 12, 13, 14, 15] // sbp < 120
1629
1629
  ],
1630
1630
  // Age 65 - 69
1631
1631
  [
@@ -1633,7 +1633,7 @@
1633
1633
  [16, 17, 19, 21, 22],
1634
1634
  [12, 14, 15, 16, 18],
1635
1635
  [10, 11, 12, 13, 14],
1636
- [8, 8, 9, 10, 11], // < 120
1636
+ [8, 8, 9, 10, 11] // < 120
1637
1637
  ],
1638
1638
  // Age 60 - 64
1639
1639
  [
@@ -1641,7 +1641,7 @@
1641
1641
  [12, 13, 14, 16, 18],
1642
1642
  [9, 10, 11, 12, 14],
1643
1643
  [7, 8, 8, 9, 10],
1644
- [5, 6, 6, 7, 8], // sbp < 120
1644
+ [5, 6, 6, 7, 8] // sbp < 120
1645
1645
  ],
1646
1646
  // Age 55 - 59
1647
1647
  [
@@ -1649,7 +1649,7 @@
1649
1649
  [9, 10, 11, 12, 14],
1650
1650
  [7, 7, 8, 9, 10],
1651
1651
  [5, 5, 6, 7, 8],
1652
- [4, 4, 4, 5, 6], // sbp < 120
1652
+ [4, 4, 4, 5, 6] // sbp < 120
1653
1653
  ],
1654
1654
  // Age 50 - 54
1655
1655
  [
@@ -1657,7 +1657,7 @@
1657
1657
  [7, 7, 8, 9, 11],
1658
1658
  [5, 5, 6, 7, 8],
1659
1659
  [3, 4, 4, 5, 6],
1660
- [2, 3, 3, 4, 4], // sbp < 120
1660
+ [2, 3, 3, 4, 4] // sbp < 120
1661
1661
  ],
1662
1662
  // Age 45 - 49
1663
1663
  [
@@ -1665,7 +1665,7 @@
1665
1665
  [5, 6, 6, 7, 8],
1666
1666
  [3, 4, 4, 5, 6],
1667
1667
  [2, 3, 3, 4, 4],
1668
- [2, 2, 2, 2, 3], // < 120
1668
+ [2, 2, 2, 2, 3] // < 120
1669
1669
  ],
1670
1670
  // Age 40 - 44
1671
1671
  [
@@ -1673,8 +1673,8 @@
1673
1673
  [4, 4, 5, 6, 7],
1674
1674
  [2, 3, 3, 4, 4],
1675
1675
  [2, 2, 2, 3, 3],
1676
- [1, 1, 2, 2, 2],
1677
- ],
1676
+ [1, 1, 2, 2, 2]
1677
+ ]
1678
1678
  ],
1679
1679
  // Smoker
1680
1680
  [
@@ -1684,7 +1684,7 @@
1684
1684
  [28, 30, 32, 34, 36],
1685
1685
  [23, 24, 26, 28, 30],
1686
1686
  [18, 20, 21, 23, 24],
1687
- [15, 16, 17, 18, 20], // < 120
1687
+ [15, 16, 17, 18, 20] // < 120
1688
1688
  ],
1689
1689
  // Age 65 - 69
1690
1690
  [
@@ -1692,7 +1692,7 @@
1692
1692
  [22, 24, 26, 29, 31],
1693
1693
  [18, 19, 21, 23, 25],
1694
1694
  [14, 15, 16, 18, 20],
1695
- [11, 12, 13, 14, 16], // < 120
1695
+ [11, 12, 13, 14, 16] // < 120
1696
1696
  ],
1697
1697
  // Age 60 - 64
1698
1698
  [
@@ -1700,7 +1700,7 @@
1700
1700
  [18, 18, 20, 22, 24],
1701
1701
  [14, 15, 17, 19, 21],
1702
1702
  [10, 12, 13, 14, 16],
1703
- [8, 9, 10, 11, 12], // < 120
1703
+ [8, 9, 10, 11, 12] // < 120
1704
1704
  ],
1705
1705
  // Age 55 - 59
1706
1706
  [
@@ -1708,7 +1708,7 @@
1708
1708
  [14, 16, 18, 20, 23],
1709
1709
  [11, 12, 13, 15, 17],
1710
1710
  [8, 9, 10, 11, 13],
1711
- [6, 7, 7, 8, 10],
1711
+ [6, 7, 7, 8, 10]
1712
1712
  ],
1713
1713
  // Age 50 - 54
1714
1714
  [
@@ -1716,7 +1716,7 @@
1716
1716
  [11, 13, 15, 17, 20],
1717
1717
  [8, 9, 11, 12, 14],
1718
1718
  [6, 7, 8, 9, 11],
1719
- [4, 5, 6, 7, 8],
1719
+ [4, 5, 6, 7, 8]
1720
1720
  ],
1721
1721
  // Age 45 - 49
1722
1722
  [
@@ -1724,7 +1724,7 @@
1724
1724
  [9, 10, 12, 14, 17],
1725
1725
  [6, 7, 9, 10, 12],
1726
1726
  [4, 5, 6, 7, 8],
1727
- [3, 4, 4, 5, 6],
1727
+ [3, 4, 4, 5, 6]
1728
1728
  ],
1729
1729
  // Age 40 - 44
1730
1730
  [
@@ -1732,9 +1732,9 @@
1732
1732
  [7, 8, 10, 12, 14],
1733
1733
  [5, 6, 7, 8, 10],
1734
1734
  [3, 4, 5, 6, 7],
1735
- [2, 3, 3, 4, 5],
1736
- ],
1737
- ],
1735
+ [2, 3, 3, 4, 5]
1736
+ ]
1737
+ ]
1738
1738
  ],
1739
1739
  // Women
1740
1740
  [
@@ -1746,7 +1746,7 @@
1746
1746
  [17, 18, 19, 19, 20],
1747
1747
  [15, 15, 16, 16, 17],
1748
1748
  [12, 12, 13, 13, 14],
1749
- [10, 10, 11, 11, 11], // < 120
1749
+ [10, 10, 11, 11, 11] // < 120
1750
1750
  ],
1751
1751
  // Age 65 - 69
1752
1752
  [
@@ -1754,7 +1754,7 @@
1754
1754
  [13, 14, 14, 15, 15],
1755
1755
  [11, 11, 11, 12, 12],
1756
1756
  [9, 9, 9, 10, 10],
1757
- [7, 7, 7, 8, 8],
1757
+ [7, 7, 7, 8, 8]
1758
1758
  ],
1759
1759
  // Age 60 - 64
1760
1760
  [
@@ -1762,7 +1762,7 @@
1762
1762
  [10, 10, 11, 11, 12],
1763
1763
  [8, 8, 8, 9, 9],
1764
1764
  [6, 6, 7, 7, 7],
1765
- [5, 5, 5, 5, 6],
1765
+ [5, 5, 5, 5, 6]
1766
1766
  ],
1767
1767
  // Age 55 - 59
1768
1768
  [
@@ -1770,7 +1770,7 @@
1770
1770
  [8, 8, 8, 9, 9],
1771
1771
  [6, 6, 6, 7, 7],
1772
1772
  [4, 5, 5, 5, 5],
1773
- [3, 3, 4, 4, 4],
1773
+ [3, 3, 4, 4, 4]
1774
1774
  ],
1775
1775
  // Age 50 - 54
1776
1776
  [
@@ -1778,7 +1778,7 @@
1778
1778
  [6, 6, 6, 7, 7],
1779
1779
  [4, 4, 5, 5, 5],
1780
1780
  [3, 3, 3, 4, 4],
1781
- [2, 2, 3, 3, 3],
1781
+ [2, 2, 3, 3, 3]
1782
1782
  ],
1783
1783
  // Age 45 - 49
1784
1784
  [
@@ -1786,7 +1786,7 @@
1786
1786
  [4, 5, 5, 5, 5],
1787
1787
  [3, 3, 3, 4, 4],
1788
1788
  [2, 2, 2, 3, 3],
1789
- [2, 2, 2, 2, 2],
1789
+ [2, 2, 2, 2, 2]
1790
1790
  ],
1791
1791
  // Age 40 - 44
1792
1792
  [
@@ -1794,8 +1794,8 @@
1794
1794
  [3, 3, 4, 4, 4],
1795
1795
  [2, 2, 3, 3, 3],
1796
1796
  [2, 2, 2, 2, 2],
1797
- [1, 1, 1, 1, 1],
1798
- ],
1797
+ [1, 1, 1, 1, 1]
1798
+ ]
1799
1799
  ],
1800
1800
  // Smoker
1801
1801
  [
@@ -1805,7 +1805,7 @@
1805
1805
  [25, 26, 27, 28, 29],
1806
1806
  [21, 22, 22, 23, 24],
1807
1807
  [17, 18, 19, 19, 20],
1808
- [14, 15, 15, 16, 17],
1808
+ [14, 15, 15, 16, 17]
1809
1809
  ],
1810
1810
  // Age 65 - 69
1811
1811
  [
@@ -1813,7 +1813,7 @@
1813
1813
  [21, 22, 22, 23, 24],
1814
1814
  [17, 18, 18, 19, 20],
1815
1815
  [14, 14, 15, 15, 16],
1816
- [11, 11, 12, 12, 13],
1816
+ [11, 11, 12, 12, 13]
1817
1817
  ],
1818
1818
  // Age 60 - 64
1819
1819
  [
@@ -1821,7 +1821,7 @@
1821
1821
  [17, 18, 19, 20, 21],
1822
1822
  [13, 14, 15, 16, 16],
1823
1823
  [11, 11, 12, 12, 13],
1824
- [8, 9, 9, 10, 10],
1824
+ [8, 9, 9, 10, 10]
1825
1825
  ],
1826
1826
  // Age 55 - 59
1827
1827
  [
@@ -1829,7 +1829,7 @@
1829
1829
  [14, 15, 15, 16, 17],
1830
1830
  [11, 11, 12, 13, 13],
1831
1831
  [8, 9, 9, 10, 10],
1832
- [6, 7, 7, 7, 8],
1832
+ [6, 7, 7, 7, 8]
1833
1833
  ],
1834
1834
  // Age 50 - 54
1835
1835
  [
@@ -1837,7 +1837,7 @@
1837
1837
  [11, 12, 13, 14, 14],
1838
1838
  [9, 9, 10, 10, 11],
1839
1839
  [6, 7, 7, 8, 8],
1840
- [5, 5, 5, 6, 6],
1840
+ [5, 5, 5, 6, 6]
1841
1841
  ],
1842
1842
  // Age 45 - 49
1843
1843
  [
@@ -1845,7 +1845,7 @@
1845
1845
  [9, 10, 11, 11, 12],
1846
1846
  [7, 7, 8, 8, 9],
1847
1847
  [5, 5, 6, 6, 6],
1848
- [4, 4, 4, 4, 5],
1848
+ [4, 4, 4, 4, 5]
1849
1849
  ],
1850
1850
  // Age 40 - 44
1851
1851
  [
@@ -1853,10 +1853,10 @@
1853
1853
  [8, 8, 9, 9, 10],
1854
1854
  [5, 6, 6, 7, 7],
1855
1855
  [4, 4, 4, 5, 5],
1856
- [3, 3, 3, 3, 4],
1857
- ],
1858
- ],
1859
- ],
1856
+ [3, 3, 3, 3, 4]
1857
+ ]
1858
+ ]
1859
+ ]
1860
1860
  ];
1861
1861
 
1862
1862
  var JsExpressionHelper = /** @class */ (function () {
@@ -2013,7 +2013,11 @@
2013
2013
  return height && weight && refSectionObject ? formattedSDValue : null;
2014
2014
  };
2015
2015
  JsExpressionHelper.prototype.calcSouthEastAsiaNonLabCVDRisk = function (sex, smoker, age, sbp, bmi) {
2016
- var hasValidValues = (typeof sex === "string" && typeof smoker === "boolean" && typeof age === "number" && typeof sbp === "number" && typeof bmi === "number");
2016
+ var hasValidValues = typeof sex === 'string' &&
2017
+ typeof smoker === 'boolean' &&
2018
+ typeof age === 'number' &&
2019
+ typeof sbp === 'number' &&
2020
+ typeof bmi === 'number';
2017
2021
  if (!hasValidValues) {
2018
2022
  return null;
2019
2023
  }
@@ -2108,11 +2112,21 @@
2108
2112
  var _a;
2109
2113
  var findObs = function (obs, uuid) {
2110
2114
  var result;
2111
- obs === null || obs === void 0 ? void 0 : obs.some(function (o) { var _a; return result = ((_a = o === null || o === void 0 ? void 0 : o.concept) === null || _a === void 0 ? void 0 : _a.uuid) === uuid ? o : findObs(o.groupMembers || [], uuid); });
2115
+ obs === null || obs === void 0 ? void 0 : obs.some(function (o) {
2116
+ var _a;
2117
+ return (result =
2118
+ ((_a = o === null || o === void 0 ? void 0 : o.concept) === null || _a === void 0 ? void 0 : _a.uuid) === uuid ? o : findObs(o.groupMembers || [], uuid));
2119
+ });
2112
2120
  return result;
2113
2121
  };
2114
2122
  var obsValue = (_a = findObs(rawEncounter === null || rawEncounter === void 0 ? void 0 : rawEncounter.obs, uuid)) === null || _a === void 0 ? void 0 : _a.value;
2115
- return !!targetControl ? targetControl : typeof obsValue === 'object' ? obsValue.uuid : !!obsValue ? obsValue : null;
2123
+ return !!targetControl
2124
+ ? targetControl
2125
+ : typeof obsValue === 'object'
2126
+ ? obsValue.uuid
2127
+ : !!obsValue
2128
+ ? obsValue
2129
+ : null;
2116
2130
  };
2117
2131
  JsExpressionHelper.prototype.doesNotMatchExpression = function (regexString, val) {
2118
2132
  if (!val || ['undefined', 'null', ''].includes(val.toString())) {
@@ -2466,7 +2480,7 @@
2466
2480
  return null;
2467
2481
  }
2468
2482
  if (control.value && control.value.length !== 0) {
2469
- var v = (control.value).toString().length;
2483
+ var v = control.value.toString().length;
2470
2484
  return v <= maxLength
2471
2485
  ? null
2472
2486
  : { maxlength: { requiredLength: maxLength, actualValue: v } };
@@ -2486,7 +2500,7 @@
2486
2500
  return null;
2487
2501
  }
2488
2502
  if (control.value && control.value.length !== 0) {
2489
- var v = (control.value).toString().length;
2503
+ var v = control.value.toString().length;
2490
2504
  return v >= minLength
2491
2505
  ? null
2492
2506
  : { minlength: { requiredLength: minLength, actualValue: v } };
@@ -9387,7 +9401,7 @@
9387
9401
  Object.defineProperty(RadioButtonControlComponent.prototype, "value", {
9388
9402
  get: function () {
9389
9403
  var _a;
9390
- return (_a = this._value) !== null && _a !== void 0 ? _a : "";
9404
+ return (_a = this._value) !== null && _a !== void 0 ? _a : '';
9391
9405
  },
9392
9406
  set: function (value) {
9393
9407
  this._value = value;
@@ -9424,7 +9438,7 @@
9424
9438
  if (this.selected) {
9425
9439
  var maybeOpt_1 = this.options.find(function (opt) { return opt.value === _this.selected; });
9426
9440
  if (maybeOpt_1) {
9427
- this.options.forEach(function (opt) { return opt.checked = opt === maybeOpt_1; });
9441
+ this.options.forEach(function (opt) { return (opt.checked = opt === maybeOpt_1); });
9428
9442
  this.value = this.selected;
9429
9443
  }
9430
9444
  }
@@ -9438,7 +9452,7 @@
9438
9452
  useExisting: i0.forwardRef(function () { return RadioButtonControlComponent; }),
9439
9453
  multi: true
9440
9454
  }
9441
- ], usesOnChanges: true, ngImport: i0__namespace, template: "<fieldset class=\"cds--fieldset\">\n <div\n *ngFor=\"let option of options; let i = index\"\n class=\"cds--form-item cds--radio-wrapper\"\n [ngClass]=\"{'inline': orientation === 'horizontal'}\"\n >\n <label class=\"form-control no-border\">\n <input\n type=\"radio\"\n [id]=\"id + '_' + i\"\n [name]=\"id\"\n [checked]=\"option.checked\"\n [value]=\"option.value\"\n (click)=\"handleClick(option)\"\n (change)=\"handleChange(option)\"\n />\n {{ option.label }}\n </label>\n </div>\n</fieldset>\n", styles: [".inline{display:inline-block;padding-right:.5rem}\n"], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
9455
+ ], usesOnChanges: true, ngImport: i0__namespace, template: "<fieldset class=\"cds--fieldset\">\n <div\n *ngFor=\"let option of options; let i = index\"\n class=\"cds--form-item cds--radio-wrapper\"\n [ngClass]=\"{ inline: orientation === 'horizontal' }\"\n >\n <label class=\"form-control no-border\">\n <input\n type=\"radio\"\n [id]=\"id + '_' + i\"\n [name]=\"id\"\n [checked]=\"option.checked\"\n [value]=\"option.value\"\n (click)=\"handleClick(option)\"\n (change)=\"handleChange(option)\"\n />\n {{ option.label }}\n </label>\n </div>\n</fieldset>\n", styles: [".inline{display:inline-block;padding-right:.5rem}\n"], directives: [{ type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
9442
9456
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RadioButtonControlComponent, decorators: [{
9443
9457
  type: i0.Component,
9444
9458
  args: [{
@@ -14306,7 +14320,9 @@
14306
14320
  var payload = [];
14307
14321
  var deletedDiagnoses = [];
14308
14322
  diagnosisNodes === null || diagnosisNodes === void 0 ? void 0 : diagnosisNodes.forEach(function (node) {
14309
- node.control.value.filter(function (v) { return v[node.question.key]; }).forEach(function (value) {
14323
+ node.control.value
14324
+ .filter(function (v) { return v[node.question.key]; })
14325
+ .forEach(function (value) {
14310
14326
  // Create Payload
14311
14327
  var payloadDiagnosis = _this._createPayloadDiagnosis(value[node.question.key], node.question.extras);
14312
14328
  // Validate if is new value
@@ -14320,7 +14336,7 @@
14320
14336
  DiagnosisValueAdapter.prototype._createPayloadDiagnosis = function (codedUuid, questionExtras) {
14321
14337
  var diagnosis = {
14322
14338
  diagnosis: {
14323
- coded: codedUuid,
14339
+ coded: codedUuid
14324
14340
  },
14325
14341
  certainty: 'CONFIRMED',
14326
14342
  rank: questionExtras.questionOptions.rank,
@@ -14352,7 +14368,9 @@
14352
14368
  DiagnosisValueAdapter.prototype._setDiagnosesValues = function (formDiagnosisNodes, existingDiagnoses, rank) {
14353
14369
  formDiagnosisNodes === null || formDiagnosisNodes === void 0 ? void 0 : formDiagnosisNodes.filter(function (node) { return node.question.extras.questionOptions.rank == rank; }).forEach(function (node) {
14354
14370
  node['initialValue'] = existingDiagnoses;
14355
- existingDiagnoses.filter(function (d) { return d.rank == rank; }).forEach(function (diagnosis, index) {
14371
+ existingDiagnoses
14372
+ .filter(function (d) { return d.rank == rank; })
14373
+ .forEach(function (diagnosis, index) {
14356
14374
  node.createChildNode();
14357
14375
  var value = {};
14358
14376
  value[node.question.key] = diagnosis.diagnosis.coded.uuid;
@@ -14382,7 +14400,9 @@
14382
14400
  var _loop_1 = function (node) {
14383
14401
  var question = formNode.children[node].question;
14384
14402
  var index = formNode.children[node].nodeIndex;
14385
- if (question.extras && question.extras.type === 'diagnosis' && !this_1.formDiagnosisNodes.some(function (x) { return index === x.nodeIndex; })) {
14403
+ if (question.extras &&
14404
+ question.extras.type === 'diagnosis' &&
14405
+ !this_1.formDiagnosisNodes.some(function (x) { return index === x.nodeIndex; })) {
14386
14406
  this_1.formDiagnosisNodes.push(formNode.children[node]);
14387
14407
  }
14388
14408
  };
@@ -14407,11 +14427,11 @@
14407
14427
  patient: diagnosis.patient,
14408
14428
  diagnosis: {
14409
14429
  coded: diagnosis.diagnosis.coded.uuid,
14410
- nonCoded: diagnosis.diagnosis.nonCoded,
14430
+ nonCoded: diagnosis.diagnosis.nonCoded
14411
14431
  },
14412
14432
  certainty: diagnosis.certainty,
14413
14433
  rank: diagnosis.rank,
14414
- voided: diagnosis.voided,
14434
+ voided: diagnosis.voided
14415
14435
  };
14416
14436
  };
14417
14437
  return DiagnosisValueAdapter;
@@ -14440,7 +14460,9 @@
14440
14460
  var _a, _b;
14441
14461
  var questionId = _this.getQuestionIdFromFormFieldPath(item.formFieldPath);
14442
14462
  if ((questionId && questionId === ((_b = (_a = node === null || node === void 0 ? void 0 : node.question) === null || _a === void 0 ? void 0 : _a.extras) === null || _b === void 0 ? void 0 : _b.id)) ||
14443
- (!questionId && item.concept && item.concept.uuid === node.question.extras.questionOptions.concept)) {
14463
+ (!questionId &&
14464
+ item.concept &&
14465
+ item.concept.uuid === node.question.extras.questionOptions.concept)) {
14444
14466
  found.push(item);
14445
14467
  }
14446
14468
  });
@@ -15756,7 +15778,8 @@
15756
15778
  this.setNonFilledPayloadMembers(form, payload);
15757
15779
  payload['obs'] = this.obsAdapter.generateFormPayload(form) || [];
15758
15780
  payload['orders'] = this.ordersAdapter.generateFormPayload(form) || [];
15759
- payload['diagnoses'] = this.diagnosesAdapter.generateFormPayload(form) || [];
15781
+ payload['diagnoses'] =
15782
+ this.diagnosesAdapter.generateFormPayload(form) || [];
15760
15783
  return payload;
15761
15784
  };
15762
15785
  EncounterAdapter.prototype.generateNodePayload = function (rootNode) {