type check- add patient