opensafely / SRO-Measures

1 stars 0 forks source link

Add an action to summarise events for a metric #8

Closed iaindillingham closed 3 years ago

iaindillingham commented 3 years ago

At present, we summarise the number of events for a metric per patient per day. We don't do anything fancy, because I'm not sure:

  1. that multiple events for a metric per patient per day is an issue (🤞🏻 it's not!)
  2. if it is, then whether reporting the events themselves would disclose too much

I've tried to make analysis/get_event_summary.py straightforward to refactor to use a different measure, should we need to. (Or, alternatively, all measures.)