Constructing and applying semantic models of clinical phenotypes to support web-embedded clinical research