That sounds a lot like the VA developers, especially the Radiology package.
As the resident systems manager/DBA/lead programmer for the Atlanta VAMC during the 90s, I got into the guts of most of the software that comprised what we used to call DHCP, Decentralized Hospital Computer Program. (We renamed it when Micro$oft named their version of BOOTP Distributed Host Configuration Protocol. We renamed it ViSTA. /sigh) Our Radiology transcriptionists hated the line-oriented editor that came with DHCP, so I took a version of Kermit that had been written in MUMPS, WordPerfect, and some custom programming to write an app that allowed them to transcribe using WP, upload it into DHCP, then associate it with a Radiology record so it would be stored in the database. Reading the Radiology code was painful, to say the least. It was obvious that the developers wrote code to ensure long-term employment, not ease of maintenance. That's what you get when you have MDs, Dentists, Nurses, and Dietitians writing code to run a hospital.