Here you are, commiserating over a failed business venture in your late 20's. Clearly your life is over. I mean the next 50 years of your life is utterly worthless, right?
Did you ever wonder why so many internet startups in the US are built by people in their 20's? It comes down to a few reasons, but the primary reason is that very few people want to take a risk once they get into a lifestyle with kids, house payments, or private school. People with health issues couldn't get health care coverage once it they left a company (the pre-existing condition clause), and others don't want to leave a career or reputation that took 20 years to build at the company they work for.
You're young, and presumably healthy. You took one risk and failed. Consider it an education more valuable than your schooling. It's time to take another. Figure out why the first failed and don't repeat the same mistakes. Easier said then done, I know. It's also true. Why didn't hospitals buy your system? Do you know? Was the market locked up by a big data company?
Build something, start off small. Show it to a few people. Get some feedback. A lot can be done in a weekend with python and django. Listen to the comments. Incorporate the best ones into your project, show it to a few more people. Wash, rinse, repeat. If you're project is a failure, you won't have wasted a year and a half working on it, but rather a few weekends.