Refactor PatientDetailSerializer