Electronic health records (EHRs) contain valuable information for medical research and analysis, but they also pose privacy risks for patients and providers. To address this challenge, this work aims to generate synthetic EHRs that preserve the features and patterns of real EHRs, including temporal features, while protecting the privacy of individuals.