Doctype Attributes Edite

Dear All
How can i edit the standard attributes for the standards doctypes like Patient Doctype

Customize ERPNext / Customize Form

I have do but when im remove the email section from the doc type i face this error message when i make new patient form - AttributeError: ‘Patient’ object has no attribute ‘email’

That’s a completely different question.

Does “Patient” have the email attribute before your changes?

Yesss

So your changes seem to be breaking something.

Yes its related to the original attributes