From Dialogue Systems to Autonomous Agents: A Modeling Framework for Ethical Generative AI in Healthcare | Synapse