I think [this PR](https://github.com/bennettoxford/openprescribing-v2/pull/429) will do the correct analysis, but isn't exactly elegant. We should investigate whether there's a better way to do this.
I think this PR will do the correct analysis, but isn't exactly elegant. We should investigate whether there's a better way to do this.