teal.modules.clinical icon indicating copy to clipboard operation
teal.modules.clinical copied to clipboard

tm_g_patient_profile - vitals plot - default PARAMCD Levels - additional argument

Open cicdguy opened this issue 4 years ago • 2 comments

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

cicdguy avatar Aug 05 '21 01:08 cicdguy

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

cicdguy avatar Aug 05 '21 01:08 cicdguy

Actually we want the following: key - colname - baseval - label e.g. "TEMP" - "TEMPERATURE" - "38" - "38\u00B0 C"

pawelru avatar Jan 18 '22 15:01 pawelru