Patient Discharge, Input validation, Update history for room management

Sorry but this is updating a few different main files. Have successfully
implemented Discharging of patient. Have done all input validation on
reception page. Also have history being updated with Patient admittion
and discharge details.