From 7b100cc1be78b75596360da7e87b09ae7fde49cd Mon Sep 17 00:00:00 2001 From: Matthias Koenig Date: Tue, 14 Jun 2022 13:21:46 +0200 Subject: [PATCH] Fix #734, support negative EHR --- backend/pkdb_app/info_nodes/models.py | 3 ++- release-notes/next-release.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/pkdb_app/info_nodes/models.py b/backend/pkdb_app/info_nodes/models.py index 0b40dce3..0d0f6694 100644 --- a/backend/pkdb_app/info_nodes/models.py +++ b/backend/pkdb_app/info_nodes/models.py @@ -169,7 +169,8 @@ class MeasurementType(AbstractInfoNode): ] CAN_NEGATIVE = [ "tmax", # tmax can be negative due to time offsets, i.e. pre-simulation with subsequent fall after intervention - "concentration change", # this often happens in placebo simulations + "concentration change", # this often happens in placebo simulations + "EHR change", ] ADDITIVE = [] # todo remove diff --git a/release-notes/next-release.md b/release-notes/next-release.md index 2edf8db0..38f8a14b 100644 --- a/release-notes/next-release.md +++ b/release-notes/next-release.md @@ -6,5 +6,6 @@ - updated backend dependencies - better encoding of multiple dosing (#685) - updated acknowledgements (#714) +- Fix #734, support negative EHR values