The process of organizing and maintaining patient records, including electronic health records (EHRs).