openchs-models 1.33.43 → 1.33.44

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.
@@ -202,7 +202,7 @@ class FormElement extends _BaseEntity.default {
202
202
  return yearDifference <= 2000;
203
203
  }
204
204
  getAnswers() {
205
- const allAnswers = this.concept.getAnswers();
205
+ const allAnswers = this.concept.getAnswers().filter(ca => !ca.concept.voided);
206
206
  if (!_lodash.default.isEmpty(this.answersToShow)) {
207
207
  return _lodash.default.filter(allAnswers, allConceptAnswer => _lodash.default.includes(this.answersToShow, allConceptAnswer.concept.name));
208
208
  } else {
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.33.43",
4
+ "version": "1.33.44",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",