I am using the GDL2 editor to create medical guidelines with recommendations. I think that I encountered some bugs and I would like to bring those to your attention.
According to one of my guidelines, recommendations should be generated when a certain type of procedure has been performed multiple times. Therefore, I instantiated the archetype ‘openEHR-EHR-ACTION.procedure.v1’ with its element ‘procedure name’ twice, and set up a rule for both procedure names to equal the same value. Testing under the execution tab seemed to work, so I saved the GDL file. However, after reloading the file in the GDL2 editor, an error was shown and the rule had been deleted.
For another guideline, recommendations should be generated when two separate body parts have both been irradiated. Therefore, I instantiated the archetype ‘openEHR-EHR-CLUSTER.radiotherapy.v1’ with its element ‘target region’ twice and set up the rule. When testing the rule under the execution tab, I could not generate the recommendations, even though I entered the right values to meet the rule requirements. Under ‘debug execution’, an error was shown: “*lexical analysis failed while expecting StringLiteral after succesfully scanning 40 characters beginning at line 85 column 11: … *”