Measurement of adverse events using 'incidence flagged' diagnosis codes | Synapse