openchs-models 1.32.25 → 1.32.27

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/dist/Concept.js CHANGED
@@ -267,7 +267,7 @@ class Concept extends _BaseEntity.default {
267
267
  }
268
268
 
269
269
  isMediaConcept() {
270
- return _lodash.default.includes([Concept.dataType.Image, Concept.dataType.ImageV2, Concept.dataType.Video, Concept.dataType.File], this.datatype);
270
+ return _lodash.default.includes([Concept.dataType.Image, Concept.dataType.Video, Concept.dataType.File], this.datatype);
271
271
  }
272
272
 
273
273
  isSelectConcept() {
@@ -406,7 +406,6 @@ _defineProperty(Concept, "dataType", {
406
406
  Notes: "Notes",
407
407
  NA: "NA",
408
408
  Image: "Image",
409
- ImageV2: "ImageV2",
410
409
  Video: "Video",
411
410
  Audio: "Audio",
412
411
  Id: "Id",
@@ -419,7 +418,7 @@ _defineProperty(Concept, "dataType", {
419
418
  Encounter: "Encounter",
420
419
 
421
420
  get Media() {
422
- return [this.Image, this.ImageV2, this.Video, this.Audio, this.File];
421
+ return [this.Image, this.Video, this.Audio, this.File];
423
422
  }
424
423
 
425
424
  });
@@ -142,9 +142,9 @@ class ObservationsHolder {
142
142
  formElementsIncludingRepeatableElements.push(newFormElement);
143
143
  });
144
144
  });
145
- } else if (_lodash.default.isNil(fe.groupUuid)) {
146
- formElementsIncludingRepeatableElements.push(fe);
147
145
  }
146
+
147
+ formElementsIncludingRepeatableElements.push(fe);
148
148
  });
149
149
 
150
150
  const inApplicableFormElements = _lodash.default.differenceWith(formElementsIncludingRepeatableElements, applicableFormElements, (a, b) => a.uuid === b.uuid && a.questionGroupIndex === b.questionGroupIndex);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "openchs-models",
3
3
  "description": "OpenCHS data model to be used by front end clients",
4
- "version": "1.32.25",
4
+ "version": "1.32.27",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",