added nurse,doctor get records methods and refactored patient.