@openmrs/ngx-formentry 3.2.1-pre.226 → 3.2.1-pre.232
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.
- package/bundles/openmrs-ngx-formentry.umd.js +8 -3
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/esm2015/form-entry/value-adapters/diagnosis.adapter.js +3 -2
- package/fesm2015/openmrs-ngx-formentry.js +2 -1
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/package.json +1 -1
|
@@ -14379,11 +14379,16 @@
|
|
|
14379
14379
|
break;
|
|
14380
14380
|
case 'repeating':
|
|
14381
14381
|
if (formNode.children) {
|
|
14382
|
-
|
|
14382
|
+
var _loop_1 = function (node) {
|
|
14383
14383
|
var question = formNode.children[node].question;
|
|
14384
|
-
|
|
14385
|
-
|
|
14384
|
+
var index = formNode.children[node].nodeIndex;
|
|
14385
|
+
if (question.extras && question.extras.type === 'diagnosis' && !this_1.formDiagnosisNodes.some(function (x) { return index === x.nodeIndex; })) {
|
|
14386
|
+
this_1.formDiagnosisNodes.push(formNode.children[node]);
|
|
14386
14387
|
}
|
|
14388
|
+
};
|
|
14389
|
+
var this_1 = this;
|
|
14390
|
+
for (var node in formNode.children) {
|
|
14391
|
+
_loop_1(node);
|
|
14387
14392
|
}
|
|
14388
14393
|
}
|
|
14389
14394
|
break;
|