openchs-models 1.23.6 → 1.23.7

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.
@@ -237,10 +237,7 @@ class AbstractEncounter extends _BaseEntity.default {
237
237
  encounterService
238
238
  }) {
239
239
  const observation = this.findObservation(conceptName);
240
-
241
- if (_lodash.default.isNil(observation())) {
242
- return "";
243
- }
240
+ if (_lodash.default.isNil(observation)) return "";
244
241
 
245
242
  const displayValue = _Observation.default.valueForDisplay({
246
243
  observation,
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.23.6",
4
+ "version": "1.23.7",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",