teal.modules.clinical
teal.modules.clinical copied to clipboard
tm_g_patient_profile - vitals plot - default PARAMCD Levels - additional argument
We discussed with @sorinvoicu and @mhallal1 that we might need additional argument in tm_g_patient_profile and then internal template_vitals.
The new argument like v_paramcd_base_level will be taking a list like:
list(SYSBP = "SYSBP2", DIABP = "DIABP2", TEMP = "TEMP", RESP = "RESP", OXYSAT = "OXYSAT", PULSE = "PUL"). Thus the PARAMCD levels like PUL (unexpected value) might be still recognize as a human pulse and we will show a horizontal line with proper value at the vitals plot.
This is bigger task.
<REDACTED>user/2704/files/463fe600-a7a4-11eb-9b51-8334e39ef074)
<REDACTED>user/2704/files/90749780-a7a3-11eb-8b81-aafaddc3f0d4)
Provenance:
Creator: Polkas
I have some issues with getting the main idea behind that but now I think I got it. It's about passing on a key-val map where key is PARAMCD real value (e.g. "PUL") and val is our expected vals ("PULSE")
Provenance:
Creator: pawelru
Actually we want the following: key - colname - baseval - label e.g. "TEMP" - "TEMPERATURE" - "38" - "38\u00B0 C"