Nishi tech task, adding indexes and foriegn key constraints on patient table