From ad6b07e6c7e8af96e41beff1bc0cf77c071fcf2f Mon Sep 17 00:00:00 2001 From: Manuel Burger Date: Tue, 26 Mar 2024 09:57:29 +0100 Subject: [PATCH] Fix configs --- inst/extdata/config/concept-dict/chemistry.json | 2 +- inst/extdata/config/concept-dict/hematology.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/extdata/config/concept-dict/chemistry.json b/inst/extdata/config/concept-dict/chemistry.json index fab37aee..712c7e36 100644 --- a/inst/extdata/config/concept-dict/chemistry.json +++ b/inst/extdata/config/concept-dict/chemistry.json @@ -1678,7 +1678,7 @@ "ids": 481, "table": "laboratory", "sub_var": "laboratoryid", - "callback": "transform_fun(binary_op(`/`, 1000))", + "callback": "transform_fun(binary_op(`/`, 1000), 'ng/mL', 'ng/L')", "class": "sic_itm" } ], diff --git a/inst/extdata/config/concept-dict/hematology.json b/inst/extdata/config/concept-dict/hematology.json index 8aac6cf7..735e071b 100644 --- a/inst/extdata/config/concept-dict/hematology.json +++ b/inst/extdata/config/concept-dict/hematology.json @@ -855,7 +855,7 @@ "ids": 290, "table": "laboratory", "sub_var": "laboratoryid", - "callback": "convert_unit(binary_op(`*`, 1.6114), '%', 'g/dl')", + "callback": "convert_unit(identity_callback, '%', 'g/dl')", "class": "sic_itm" } ],