Help me to write an letter from the doctor to school regarding that a child has attended her appointment yesterday due by having a heart problem

[Doctor's Letterhead]

[Date]

[School Name]
[Address]
[City, State ZIP Code]

Dear [School Administrator],

I am writing to inform you that [Student Name] attended their medical appointment with me yesterday, [Date], due to a heart problem. During the appointment, we examined [him/her] thoroughly and discussed the management of [his/her] condition.

I would like to request that [Student Name] be excused from physical education classes and any strenuous activities that may exacerbate [his/her] heart condition for a period of [X days/weeks/months]. It is important for [him/her] to rest and avoid any activities that could potentially put [him/her] at risk.

I would appreciate your understanding and cooperation in this matter to ensure the safety and well-being of [Student Name]. Please feel free to contact me if you have any questions or require further information regarding [his/her] medical condition.

Thank you for your attention to this matter.

Sincerely,

[Doctor's Name]
[Doctor's Title]
[Contact Information]