Skip to content

Commit

Permalink
Config updates:
Browse files Browse the repository at this point in the history
- Fix sic bugs
- Slack temp range
  • Loading branch information
manuelburger committed Mar 26, 2024
1 parent 99529cd commit f54afad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions inst/extdata/config/concept-dict/chemistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,8 @@
"ids": 253,
"table": "laboratory",
"sub_var": "laboratoryid",
"class": "sic_itm"
"class": "sic_itm",
"callback": "convert_unit(identity_callback, 'ng/mL', 'µg/l')"
}
],
"picdb": [
Expand Down Expand Up @@ -1133,7 +1134,8 @@
"ids": 341,
"table": "laboratory",
"sub_var": "laboratoryid",
"class": "sic_itm"
"class": "sic_itm",
"callback": "convert_unit(binary_op(`*`, 10), 'mg/L', 'mg/dl')"
}
],
"picdb": [
Expand Down
8 changes: 5 additions & 3 deletions inst/extdata/config/concept-dict/hematology.json
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@
{
"ids": 223,
"table": "laboratory",
"sub_var": "LaboratoryID"
"sub_var": "laboratoryid",
"class": "sic_itm"
},
{
"ids": 302,
Expand Down Expand Up @@ -854,7 +855,7 @@
"ids": 290,
"table": "laboratory",
"sub_var": "laboratoryid",
"callback": "convert_unit(binary_op(`*`, 0.16114), '%')",
"callback": "convert_unit(binary_op(`*`, 1.6114), '%', 'g/dl')",
"class": "sic_itm"
}
],
Expand Down Expand Up @@ -1327,7 +1328,8 @@
"ids": 599,
"table": "laboratory",
"sub_var": "laboratoryid",
"class": "sic_itm"
"class": "sic_itm",
"callback": "convert_unit(identity_callback, 'm/uL', 'T/L.')"
}
],
"picdb": [
Expand Down
4 changes: 2 additions & 2 deletions inst/extdata/config/concept-dict/vitals.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@
"C",
"\u00b0C"
],
"min": 32,
"max": 42,
"min": 30,
"max": 44,
"description": "temperature",
"omopid": 4302666,
"category": "vitals",
Expand Down

0 comments on commit f54afad

Please sign in to comment.