# visualizing AQL result **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2012-03-01 22:31 UTC **Views:** 9 **Replies:** 7 **URL:** https://discourse.openehr.org/t/visualizing-aql-result/15162 --- ## Post #1 by @Leykun_Melkamu Hello! I am a student and working my thesis on openEHR application can I get help on how to visualize the result of my AQL queries. How can I use the operational template and the c # code generated from oceans template designer? Thanks in advance for your help. Best regards, Leykun --- ## Post #2 by @Seref Hi Leykun. The C# code generated from the ocean template designer is a TDO, a template data object. The source code of that class has references Ocean's RM implementation. If you want to use that TDO in C#, you need to use Ocean's RM layer. That is not the layer that exists in openEHR.NET in codeplex. What do you mean by visualizing the AQL query results exactly. Could you please describe your requirements in more detail ? Kind regards Seref --- ## Post #3 by @Leykun_Melkamu Dear Seref, Thanks for your reply. What I wanted to ask is that, I am required to enable end users of the system to view and navigate the data that I put in the Ocean test server using a GUI. To generate the GUI do you think using the operational template or the template data object can help. Thanks again for your helpful reply. Kind regards, Leykun --- ## Post #4 by @ian.mcnicoll Hi Leykun, Can you give an example of the kind of data you are expecting back? Or just post the AQL? This would help us understand your requirements. Ian --- ## Post #5 by @Leykun_Melkamu Dear Ian, Now I don’t exactly know how my AQL look like but I am expecting to have archetypes or elements as a return. Best regards, Leykun --- ## Post #6 by @ian.mcnicoll In that case, what you will get back from the OceanEHR server is a ResultSet - essentially a serialised set of objects, which can range from a full archetype to just a single element depending on how you define the query. See here - [http://www.openehr.org/wiki/display/spec/Ocean+Informatics+EHR+Service+Interface](http://www.openehr.org/wiki/display/spec/Ocean+Informatics+EHR+Service+Interface) It would still help to see a concrete example of exactly what you are trying to do. Ian --- ## Post #7 by @Leykun_Melkamu Dear Ian, Thanks I am looking at the examples. Kind regards, Leykun --- ## Post #8 by @system Leykun The result of the query might be a table or some objects (as XML). The display of these needs to use a script – which I believe is available in the public domain. I will copy to Heath to ask about this. Cheers, Sam --- **Canonical:** https://discourse.openehr.org/t/visualizing-aql-result/15162 **Original content:** https://discourse.openehr.org/t/visualizing-aql-result/15162