In the US, the Veteran's Administration wrote their own EHR (Vista) which was released as public domain. They've been trying (and mostly failing) to migrate to a commercial EHR for the last seven or eight years.
Regardless of its many warts, Cobol cannot be accused of being unreadable. Verbose, yes.
Hence the "evil twin" comment :)