To cite package ‘EHR’ in publications use:

Choi L, Beck C, Weeks H, McNeer E, James N, Williams M (2022). EHR: Electronic Health Record (EHR) Data Processing and Analysis Tool. R package version 0.4-11, https://CRAN.R-project.org/package=EHR.

Corresponding BibTeX entry:

  @Manual{,
    title = {EHR: Electronic Health Record (EHR) Data Processing and
      Analysis Tool},
    author = {Leena Choi and Cole Beck and Hannah Weeks and Elizabeth
      McNeer and Nathan James and Michael Williams},
    year = {2022},
    note = {R package version 0.4-11},
    url = {https://CRAN.R-project.org/package=EHR},
  }