Added EHR record creation and data reset