openchs-models 1.32.22 → 1.32.24

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 (2) hide show
  1. package/dist/Program.js +10 -0
  2. package/package.json +1 -1
package/dist/Program.js CHANGED
@@ -68,6 +68,14 @@ class Program extends _ReferenceEntity.default {
68
68
  this.that.manualEligibilityCheckRequired = x;
69
69
  }
70
70
 
71
+ get showGrowthChart() {
72
+ return this.that.showGrowthChart;
73
+ }
74
+
75
+ set showGrowthChart(x) {
76
+ this.that.showGrowthChart = x;
77
+ }
78
+
71
79
  get enrolmentSummaryRule() {
72
80
  return this.that.enrolmentSummaryRule;
73
81
  }
@@ -118,6 +126,7 @@ class Program extends _ReferenceEntity.default {
118
126
  program.programSubjectLabel = operationalProgram.programSubjectLabel || operationalProgram.name || program.name;
119
127
  program.enrolmentSummaryRule = operationalProgram.enrolmentSummaryRule;
120
128
  program.manualEligibilityCheckRequired = operationalProgram.manualEligibilityCheckRequired;
129
+ program.showGrowthChart = operationalProgram.showGrowthChart;
121
130
  program.manualEnrolmentEligibilityCheckRule = operationalProgram.manualEnrolmentEligibilityCheckRule;
122
131
  program.enrolmentEligibilityCheckRule = operationalProgram.enrolmentEligibilityCheckRule;
123
132
  program.allowMultipleEnrolments = operationalProgram.allowMultipleEnrolments;
@@ -162,6 +171,7 @@ _defineProperty(Program, "schema", {
162
171
  optional: true
163
172
  },
164
173
  manualEligibilityCheckRequired: 'bool',
174
+ showGrowthChart: 'bool',
165
175
  manualEnrolmentEligibilityCheckRule: {
166
176
  type: 'string',
167
177
  optional: true
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.22",
4
+ "version": "1.32.24",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",