Skip to content

Commit

Permalink
Add outcome and output configs
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelburger committed Mar 26, 2024
1 parent 5f0a684 commit 4d01ab8
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 3 deletions.
59 changes: 58 additions & 1 deletion inst/extdata/config/concept-dict/outcome.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@
]
}
},
"circ_fail": {
"description": "circulatory failure",
"concepts": ["map", "cf_treat", "lact"],
"category": "outcome",
"callback": "circ_fail",
"class": "rec_cncpt"
},
"dopa60": {
"concepts": [
"dopa_rate",
Expand Down Expand Up @@ -539,5 +546,55 @@
],
"callback": "susp_inf",
"class": "rec_cncpt"
}
},
"sep3_abx_cont": {
"concepts": ["sofa", "susp_inf_alt"],
"description": "sepsis-3 criterion (alt. def.: continuous abx only)",
"category": "outcome",
"callback": "sep3_abx_cont",
"class": "rec_cncpt"
},
"susp_inf_abx_cont": {
"concepts": ["abx_cont", "samp"],
"description": "suspected infection (alt. def.: continuous abx only)",
"category": "outcome",
"aggregate": [
[
"sum"
],
[
false
]
],
"callback": "susp_inf_abx_cont",
"class": "rec_cncpt"
},
"aki": {
"description": "acute kidney injury (KDIGO 1/2/3)",
"concepts": "kdigo",
"category": "outcome",
"callback": "aki",
"class": "rec_cncpt"
},
"kdigo": {
"description": "kidney disease improving global outcome staging",
"concepts": ["kdigo_crea", "kdigo_urine"],
"category": "outcome",
"callback": "kdigo",
"class": "rec_cncpt"
},
"kdigo_crea": {
"description": "kidney disease improving global outcome creatinine component",
"concepts": "crea",
"category": "outcome",
"callback": "kdigo_crea",
"class": "rec_cncpt"
},
"kdigo_urine": {
"description": "kidney disease improving global outcome urine output component",
"concepts": ["urine_rate", "weight"],
"category": "outcome",
"callback": "kdigo_urine",
"class": "rec_cncpt"
}
}
58 changes: 56 additions & 2 deletions inst/extdata/config/concept-dict/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"urine": {
"unit": "mL",
"min": 0,
"max": 2000,
"max": 4000,
"aggregate": "sum",
"description": "urine output",
"omopid": 4264378,
"category": "output",
"sources": {
"aumc": [
{
"ids": 8794,
"ids": [8794, 8796, 8798, 8800, 8803],
"table": "numericitems",
"sub_var": "itemid"
}
Expand Down Expand Up @@ -164,6 +164,60 @@
]
}
},
"urine_rate": {
"unit": "mL/h",
"min": 0,
"max": 2000,
"aggregate": "max",
"description": "urine rate per hour",
"category": "output",
"sources": {
"aumc": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
],
"eicu": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
],
"eicu_demo": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
],
"hirid": [
{
"ids": 10020000,
"table": "observations",
"sub_var": "variableid",
"class": "hrd_itm"
}
],
"miiv": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
],
"mimic": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
],
"mimic_demo": [
{
"class": "fun_itm",
"callback": "combine_callbacks(fwd_concept('urine'), urine_rate)"
}
]
}
},
"urine24": {
"concepts": "urine",
"description": "urine output per 24h",
Expand Down

0 comments on commit 4d01ab8

Please sign in to comment.