The invention provides compounds of Formula (I)as described herein, along with pharmaceutically acceptable salts, pharmaceutical compositions containing such compounds, and methods to use these compounds, salts and compositions for treating viral infections, particularly infections caused by hepatitis B virus, and reducing the occurrence of serious conditions associated with HBV.本發明提供一種如本文所述之式(I)化合物:以及醫藥上可接受之鹽,含有此類化合物之醫藥組合物,及使用該等化合物、鹽及組合物來治療病毒感染,特定言之由B型肝炎病毒引起之感染及降低與HBV相關聯之嚴重病狀之發生的方法。