I recently wrote a review published in Nature Reviews Genetics that discusses how electronic health recocrds can be used to drive genomics studies. Also includes a survey of international efforts.
The performance of the diabetes filter based on 7 variables was reviewed. It was surprisingly good. We then discussed what features NLP would be best applied to and the agreement was that medications would be the highest value in that regard.