Thanks for any insight, can't figure out why I can't get this formula to work. Tried breaking each part into components to test and it seems each resolves into a number but then I can't put them all together without that error message "Cannot convert a list to a number"
Goal formula: 1.33*(Female) + 4.56ln(Serum bilirubin) + 0.82(137 - Sodium) – 0.24*(137 - Sodium)ln(Serum bilirubin) + 9.09ln(INR) + 11.14ln(Serum creatinine) + 1.85(3.5 – Serum albumin) – 1.83*(3.5 – Serum albumin)ln(Serum creatinine) + 6
My snippet version
{=[(1.33)onepoint]+[4.56ln({=bilirubin})]+[0.82(137-{=sodium})]-[0.24*(137-{=sodium}ln({=bilirubin}))]+[9.09ln({=inr})]+[11.14ln({=creatinine})]+[1.85(3.5-{=albumin})]-[1.83*(3.5-{=albumin})*ln({=creatinine})]+6}
Broken down by each to show each component works with example output
{a=[(1.33)onepoint]}{=a}
{b=[4.56ln({=bilirubin})]}{=b}
{c=[0.82*(137-{=sodium})]}{=c}
{d=[0.24*(137-({=sodium}ln({=bilirubin})))]}{=d}
{e=[9.09ln({=inr})]}{=e}
{f=[11.14ln({=creatinine})]}{=f}
{g=[1.85(3.5-{=albumin})]}{=g}
{h=[1.83*(3.5-{=albumin})*ln({=creatinine})]}{=h}
{=a+b+c-d+e+f+g-h+6}
Sex: Female
Sodium:135
Creatinine:1.2
T Bilirubin:1.4
Albumin:4
INR:1.2
[1.33]
[1.53431339899273]
[1.64]
[21.9782995334727]
[1.65730295125705]
[2.03106214268465]
[-0.925]
[-0.166824224466468]
Cannot convert a list to a number.