Build vs. buy EHR: when an off-the-shelf EHR is the right call, when building your own makes sense, and what to build or buy inside it.