New in JMIR Nursing: Large Language Model–Powered AI-Assisted Simulated Patient for Nursing Education: Quasi-Experimental Study #NursingEducation #AIinHealthcare #VirtualPatients #SimulationTraining #NursingResearch

dlvr.itLarge Language Model–Powered AI-Assisted Simulated Patient for Nursing Education: Quasi-Experimental StudyBackground: Large language model (LLM)–powered virtual patient systems are gaining popularity in #nursing education but also face persistent challenges, such as hallucinations and role inconsistency. Objective: This paper reports the model architecture design, technical considerations, implementation challenges, and evaluation of an LLM-powered AI-assisted simulated-patient system integrated into a #nursing triage simulation game. Methods: The system integrated a Unity-based game client, with GPT-4o hosted through Microsoft AI Foundry to support real-time simulated-patient dialogue in Traditional Chinese using Cantonese syntax. This developmental study comprised exploratory model selection, formative student feedback–informed enhancement from Version 1 to Version 2, development-stage script-fidelity evaluation, and evaluation of system usability and the Net Promoter Score in 2 tutorial cohorts of #nursing students. Results: Key technical contributions include a layered hallucination mitigation architecture that combines grounded prompt inclusion, few-shot conversational exemplars, negative role constraints, and calibrated model parameters. In the predefined script-fidelity evaluation, script-inconsistent responses occurred in 78 of 125 (62.4%) Version 1 outputs and 21 of 125 (16.8%) Version 2 outputs—an absolute difference of 45.6 percentage points. The implementation process also addresses stateless API memory management, cloud-based safety filter calibration for domain-specific clinical prompts, and prompt engineering strategies to prevent role drift and hidden scenario information leakage. GPT-4o was selected as the production model through exploratory development testing that considered script consistency, Cantonese-language suitability, response latency, technical reliability, deployment feasibility, cost considerations, and Unity integration compatibility; 45 of 50 (90%) assessed GPT-4o responses were rated fully script-consistent. Conclusions: This study demonstrates the development and real-world tutorial deployment of a Cantonese-language, LLM-powered simulated-patient system for #nursing triage education. Integrating formative student feedback with structured technical debugging enabled iterative refinement of dialogue fidelity, role consistency, protected-information handling, and game interaction functions. The resulting Version 2 system provides a practical, contextually tailored approach to supporting scalable simulated-patient dialogue in #nursing education.