In a general aspect, a customized surgical profile is validated for execution on a surgical system. In some aspects, a customized ophthalmic surgical profile, which includes a surgical pattern and at least one parameter associated with the surgical pattern, is obtained. A pattern definition file executable by a laser-based ophthalmic surgical system is generated based on the customized ophthalmic surgical profile. Execution of the customized ophthalmic surgical profile on the laser-based ophthalmic surgical system is simulated based on the pattern definition file, and the pattern definition file is validated based on an output of the simulation. The validated pattern definition file is provided for execution on the laser-based ophthalmic surgical system.L'invention concerne un profil chirurgical personnalisé qui est validé pour être exécuté sur un système chirurgical. Selon certains aspects, un profil chirurgical ophtalmique personnalisé, qui comprend un modèle chirurgical et au moins un paramètre associé au modèle chirurgical, est obtenu. Un fichier de définition de modèle exécutable par un système chirurgical ophtalmique à base de laser est généré sur la base du profil chirurgical ophtalmique personnalisé. L'exécution du profil chirurgical ophtalmique personnalisé sur le système chirurgical ophtalmique à base de laser est simulée sur la base du fichier de définition de modèle, et le fichier de définition de modèle est validé sur la base d'une sortie de la simulation.