@Suranga please see OHDSI Phenotype Library announcements
Thank you for the motivation to get this done