@openmrs/ngx-formentry 3.2.1-pre.210 → 3.2.1-pre.214

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.
@@ -14503,7 +14503,7 @@
14503
14503
  }
14504
14504
  };
14505
14505
  ObsAdapterHelper.prototype.setMultiselectObsNodeValue = function (node, obs) {
14506
- var e_1, _b;
14506
+ var e_1, _c;
14507
14507
  if (node && obs.length > 0) {
14508
14508
  obs = obs.sort(this.comparePath);
14509
14509
  node.initialValue = obs;
@@ -14517,7 +14517,7 @@
14517
14517
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
14518
14518
  finally {
14519
14519
  try {
14520
- if (obs_1_1 && !obs_1_1.done && (_b = obs_1.return)) _b.call(obs_1);
14520
+ if (obs_1_1 && !obs_1_1.done && (_c = obs_1.return)) _c.call(obs_1);
14521
14521
  }
14522
14522
  finally { if (e_1) throw e_1.error; }
14523
14523
  }
@@ -14668,9 +14668,9 @@
14668
14668
  };
14669
14669
  // PAYLOAD GENERATION FUNCTIONS
14670
14670
  ObsAdapterHelper.prototype.addFieldNameSpaceandPath = function (node, obs) {
14671
- var _a;
14671
+ var _a, _b;
14672
14672
  obs.formFieldNamespace = this.formFieldNamespace;
14673
- obs.formFieldPath = "" + ((_a = node === null || node === void 0 ? void 0 : node.question) === null || _a === void 0 ? void 0 : _a.questionIndex) + (node === null || node === void 0 ? void 0 : node.nodeIndex) + this.obsIndex;
14673
+ obs.formFieldPath = ((_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) + "~" + this.obsIndex;
14674
14674
  this.obsIndex++;
14675
14675
  return obs;
14676
14676
  };