Formation of a blood clot (thrombus) inside a vein, causing the obstruction of blood flow. The phenotype is Human Phenotype Ontology id HP_0004936 (Venous thrombosis). Also known as: Blood clot in vein.