Re: Adding a new method to the Archetype class
On 28/01/2010 23:07, Rong Chen wrote:
Pablo, If each node has a unique id, this would work. But it's not guaranteed that each node will have a id. Some leaf level nodes do not have any node id at all. They will have to be located by path e.g. "/items[at0001]/value" not only that, but some node_ids get legitimately re-used. For example, any archetype with an internal reference will create nodes having the same node id, but different parent paths. And there is nothing wrong with using one node id (e.g. at0004 = systolic pressure) in two places, e.g. a node under another node whose meaning is 'measured BP' and secondly a node under a node whose meaning is 'target BP'. Paths are the keys in openEHR - they are like pre-coordinated expressions. Have a look at the paths in an archetype like BP or Apgar in the ADL workbench path view. - thomas beale |
_______________________________________________ Ref_impl_java mailing list Ref_impl_java@openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_java