Changed patient_html to record, cleaned up more view and spec code