Building and saving Compostitions

Hi,

In my project, I built my templates with Template Designer and then I exported them to Operational Templates.

Using openEHR.NET library I can load the Operational Template building my composition.

Once the composition is built I can insert values in the leafs that I need.

For now I’m using brute force values.

I hope this is a good method to build compositions. There is not much information about this.

Now I’m thinking on how to save compositions in my database. I’m using NOSQL mongodb. I think i just need to save information that I can not obtain from the template, so for every composition I should save the id of the template (example: openEHR-EHR-COMPOSITION.medication_list.v1) and the values inserted in each leaf.

If I’m thinking wrong I would like to know what. I’m new in this field and probably many things may not be correctly understood in my head.

Regards,
José Silva

Hi Jose,

It seemed to me you’re trying to do a similar thing we did with GastrOS project.

It is an open source endoscopy reporting application fully driven by openEHR models (and operational template at runtime). Used and extended openEHR.Net library.

Take a look: http://gastros.codeplex.com

Also:

Atalag K, Yang HY, Tempero E, Warren J. Model Driven Development of Clinical Information Sytems using openEHR. Stud Health Technol Inform. 2011;169:849–53.

http://www.ncbi.nlm.nih.gov/pubmed/21893867

Atalag K, Yang HY. From openEHR Domain Models to Advanced User Interfaces: a Case Study in Endoscopy. Wellington; 2010.

http://www.hinz.org.nz/uploads/file/2010conference/P17_Atalag.pdf

Cheers,

-koray