fixed foreign key
Merge pull request #9 from aplassard/patient-work

fixed foreign key