I had this thought recently: "different hospitals have different workflows, and they want to see different stuff in the UI. But obviously they all want domain objects like "a patient," "an appointment," etc. Some company should offer a standard backend, and a starting template for a frontend that each hospital can customize however they want."
It turns out that concept is called "Headless EHR," and it's pretty new.[0] Medplum (that the parent comment mentions) is one of the companies in this space.
[0]: https://healthapiguy.substack.com/p/to-ehr-or-not-to-ehr