Network analysis of unstructured EHR data for clinical research