added model relations between patient, med_tests, visits and med_test_types