openchs-models 1.31.26 → 1.31.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.
@@ -96,6 +96,14 @@ class ReportCard extends _BaseEntity.default {
96
96
  get textColor() {
97
97
  return _lodash.default.isNil(this.standardReportCardType) ? '#ffffff' : this.standardReportCardType.textColor;
98
98
  }
99
+ /**
100
+ * Helper method used to generate unique key value for Nested Report Cards using UUID and Index of the Report Card.
101
+ * The Nested Report Card's query responses would be mapped to the corresponding Dashboard Report cards using the UUID and Index.
102
+ *
103
+ * @param index
104
+ * @returns {string}
105
+ */
106
+
99
107
 
100
108
  getCardId(index = 0) {
101
109
  return this.uuid + '#' + index;
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.31.26",
4
+ "version": "1.31.27",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",