Posted by Ed Bindl, Senior Software Engineer and Jacinda Shelly, Lead Platform Engineer, Doctor on Demand
Editor's note: Since the launch of Google Maps ten years ago, maps have come a long way. To celebrate a decade of map innovation, we’re highlighting unique maps built by our developer community. Read how guest bloggers, Ed Bindl and Jacinda Shelly, Software Engineers for Doctor on Demand, use the Google Maps APIs to bring unique mapping experiences to users.
Maps can do much more for an online business than help people get from point A to point B. You might not think that a website for making video appointments with medical professionals would benefit from mapping — but at Doctor on Demand, maps connect our patients to physicians faster and allow physicians to prescribe medications at the right pharmacies. Google Maps make our user experience much more satisfying, which means patients will use our service again.
We use the
Google Maps APIs, including the Geolocation and Javascript APIs, to show patients a
map of nearby pharmacies before they start a video call with a medical professional. For our users, maps make it easy and convenient to connect with physicians and pick up prescriptions at the pharmacy. But maps can be helpful for other businesses in other ways. And now that we see the great value of incorporating reliable map functionality into our app, we'd love to share how you can do the same:
- Choose a familiar interface. Use a map that’s easy for people to navigate – if it’s hard to understand and requires extensive instructions, they won’t use it. We picked Google Maps because our patients know them well.
- Configure maps for many platforms. If your users find maps helpful on your desktop website, they’ll want to use maps from any browser or device. We’ve made sure our maps work just as well on iOS and Android devices as they do on a desktop computer.
- Maintain accuracy. In our case, we have to update the geolocation information for about 65,000 pharmacies across the country every evening. We use the Google Maps Geocoding API, which minimizes the time it takes to keep our map accurate. We keep a database of all pharmacies from Surescripts, a healthcare network, and each night we get an update to that database that adds, removes, and updates pharmacies and their locations. We use the Google Maps Javascript API to place the pharmacies on our map when a patient is asked to select a pharmacy.
- Meet compliance standards. In order to comply with medical regulations, Doctor On Demand must connect patients with physicians licensed in their state. We use the Google Maps Reverse Geocoding API to accurately determine the state a patient is located in before connecting them with a physician.
- Help users save time and make better choices. Before we built our pharmacy map, patients had to tell doctors which pharmacy they wanted to use. Then doctors emailed us the details. However, our support team had to follow up with doctors and patients to make sure we had the right pharmacy, since patients might say something like, “the drugstore down the street from my house.” Today, there’s no doubt about which pharmacy is the right one, since patients can clearly see their local outlets on the map.
Our pharmacy map inspires us to think about new ways to use maps in the future – like plotting the movement of cold and flu outbreaks and sharing this data with patients and doctors. We see a direct connection between maps and improving patient care. In the greater scheme, Google Maps improve the health of our patients, and, the health of our business.