Make a small home machine that can take an EKG and tell you if everything is fine, or if you should go get checked.
Adjust it to give some false positives, but no false negatives.
Make it cost around $50, and make sure it's fully reusable (i.e. you can borrow one from a friend for a quick check).
If machine learning is not up to the task, then send the EKG to a doctor, I believe they can read them in just seconds (correct me if I'm wrong), so it should not be expensive per-person.
To simplify it, have it connect via bluetooth to a phone, so you don't need to worry about WiFi, or a display. For reliability have it store the last 10 readings, even if not connected, so it should have a start button and indicator lights.