How to Build an EHR System: A Step-by-Step Guide