I have been using the openEhr client library class to generate a composition based upon a couple of templates that I have been working with. However in order for the compositions to be generated without error, I have had to manually add <node_id/> elements to each element with a tag of “Children” e.g. , as the template I am using only has nodeId fields where there is a set value. I am just wondering if this perhaps an issue with the client library that I am using, and that nodeId’s should not necessarily be an expected field of the Children tag (as per the openEhr standard) or perhaps there is an issue with the templates I am using and the nodeId field should always be present? It would really useful if someone could please clarify if the nodeId fields should be mandatory whether they have set value or not?
Any help you can provide would be most appreciated.