// 22.5hv2 Software Engineering II // Unit 4 exercise 3 #include #include "person.h" class Patient: public Person { friend ostream& operator<<(ostream&,const Patient&); public: Patient(Person details, Date a, Name d): Person(details), admission(a), doctor(d) {} private: Date admission; Name doctor; };