You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
821B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/import.R
  3. \name{import_patients_visits}
  4. \alias{import_patients_visits}
  5. \title{Import patients and their visits}
  6. \usage{
  7. import_patients_visits(patients, project)
  8. }
  9. \arguments{
  10. \item{patients}{A formatted dataframe with correctly named columns}
  11. \item{project}{The project to add the data to}
  12. }
  13. \description{
  14. Import patients and their visits
  15. }
  16. \details{
  17. Import the patient_dimension and visit_dimension death_data
  18. As well as creating the mappings and add visit age observations
  19. Structure for patient dataframe:
  20. - patient_ide : character
  21. - encounter_ide : character
  22. - start_date : Date
  23. - end_date : Date
  24. - rum_start : Date
  25. - rum_end : Date
  26. - birth_date : Date
  27. - death_date : Date
  28. - sex_cd : char, 'M' or 'F'
  29. - provider_id : char, 'STRUCT:xxx'
  30. }