An Iranian court has ruled US must pay for damages inflicted on thalassemia patients after it deprived them of access to vital medicine as a result of sanctions following its withdrawal from JCPOA in 2018.