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,
|