The present invention provides a compound of Formula (I) as described herein, or a pharmaceutically acceptable salt thereof. The present invention also provides pharmaceutical compositions comprising one or more said compounds, and methods for using said compounds for treating or preventing a thromboses, embolisms, hypercoagulability or fibrotic changes.