added all records to patient records and some initial changes on the templates