And also, how does that lead to your conclusion that they are a "farce"? Do you mean to suggest that we would be better off without EHRs, or do you specifically have issue with the implementation of EHRs as is right now?
I'm surprised by you calling them a "farce" and causing "widespread misery for patients and doctors" because my understanding was that the clinical data collected by EHRs permitted improvements in the quality and delivery of care for patients within an institution.
I will admit that - as mentioned elsewhere in these comments - lack of interoperability is a huge issue which drastically reduces the effectiveness of EHRs.
But even though it isn't a perfect system -- 1) It is an improvement over the previous form of paper records, and 2) The industry is iteratively moving to resolve these issues.
There are a lot of reasons for why these problems exist such as misaligned incentives, etc. but we have been trying to address this through both policy (e.g. the rise of accountable care organizations and how the ACA experimented with physician reimbursements). There also exist middleware solutions that I believe would help ensure that this data is not silo'd, and in doing so improve interoperability.
Maybe I'm just misunderstanding something but if I am, could someone please point it out? I'm not saying that EHRs are perfect -- they have a way to go (both in UX design/interoperability). But, they were a step in the right direction and I am not convinced that they are as bad as you claim they are (though I recognize their limitations). What am I missing?
EDIT:
I've also heard from physicians and patients that because EHRs easily allow a doctor to read up on a patient's notes from their previous visits, it can actually improve their relationship because the doctor can go into the room for subsequent visits knowing something (or in some cases, everything) about the patient and speak to them with that information in mind.