Safety of inpatient care in surgical settings: cohort study | Synapse