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