visualizing AQL result

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

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

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

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

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

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

It would still help to see a concrete example of exactly what you are trying to do.

Ian

Dear Ian,

Thanks I am looking at the examples.

Kind regards,
Leykun

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