Project: Improve Code and Documentation for the EHR system

Discussion should continue here.