Identifying rare diseases using electronic medical records: the example of allergic bronchopulmonary aspergillosis