I personally wouldn't use web technologies to write critical medical software, but if I did it would be in Elixir or Erlang for the optimized garbage collection and supervision trees.
I agree with you on LiveView as well. I believe it would prove to be more reliable than client-side JavaScript.