Compounds of Formula I that inhibit Btk are described herein. Pharmaceutical compositions comprising at least one compound of Formula I, together with at least one pharmaceutically acceptable vehicle chosen from carriers, adjuvants, and excipients, are described. Methods of treating patients suffering from certain diseases responsive to inhibition of Btk activity and/ or B-cell activity are described. Methods for determining the presence of Btk in a sample are described.會抑制Btk之式I化合物係描述於本文中。包含至少一種式I化合物,伴隨著至少一種選自載劑、佐劑及賦形劑之藥學上可接受媒劑之醫藥組合物係經描述。治療患有對Btk活性及/或B-細胞活性之抑制具回應性之某些疾病之病患之方法係經描述。關於測定Btk存在於試樣中之方法係經描述。