Janssen Pharmaceutica NV has identified bicyclic pyridin-2-one and pyrimidin-4-one derivatives acting as coagulation factor XIa inhibitors and thus reported to be useful for the treatment of thromboembolism, diabetes, diabetic retinopathy, septic shock, hereditary angioedema, arthritis, nephropathy and inflammatory disorders, among others.