added output file for patients for verification