Re: How Long?
Well wouldn't it be simpler (and cheaper) to just develop a dedicated platform for the NHS?
I mean much of modern IT is there to support legacy systems. Think of the Service Mode on modern CPUs which is mostly just there to allow Windows use USB devices without having to install an USB stack. An extreme example are web applications which require a whole browser on the client end which is by itself larger than the Linux kernel. Having a simple "graphical terminal" instead would greatly decrease the complexity on both ends.
Developing a computer system is not very hard, after all in the 1980s there were lots of small companies doing just that.