Defining disease phenotypes in primary care electronic health records by a machine learning approach: a case study in identifying rheumatoid arthritisFebruary 9, 2023