ruby method or sending csv to browser
rescued a bug for dde patients without birthdate
added csv tags to table cells