Research question and study population
Define who enters the study, which event starts follow-up and when follow-up ends. For example, if discharge is the starting event, apply the follow-up rules consistently across groups.
Data sources and access
Identify which diagnoses, encounters, procedures, laboratory results or survey responses can answer the question. Set the data scope, ethics approval requirements and team access permissions at the start.
Dataset and quality checks
Decide whether each row represents a patient, an encounter or another unit of observation. Document variable definitions, units, missing values, duplicate records and rules for derived columns.
Analysis and research outputs
Define the primary outcome, comparison groups and potential confounders before analysis. Keep the dataset version and analysis settings with the resulting tables and figures.