I am not sure your point.
There is no problem sharing PHI with other medical providers; in fact HIPAA specifically permits and encourages that.
But OpenAI is not a medical provider.
If you want to use OpenAI for some reason in a particular case - perhaps to explore and expand the differential diagnosis in a challenging case for example but not replace a licensed provider’s oversight and responsibility - then you need to remove patient name and all other PHI before submitting the case history to OpenAI.