Example or description on the Specification

Hi,

I'm using Python to implement the specification of OpenEHR 1.0.1
I have a lot of problems in understanding how some functions should be
worked like.

Here is one; in LOCATABLE class, the function:
path_of_item(a_loc:LOCATABLE): String

can u give a example to demonstrate how the function can work out a answer?
because "The path to an item relative to the root of this archetyped
structure." doesn't help me to solve that.

similarly, the function item_at_path(a_path:String): ANY and
valid_path(a_path:string): Boolean

in your example, please tell me what is the parameter a_loc and a_path
look like.

Brendan

I will provide some guidance on this in the next couple of days. It has already been implemented in Java and C# actually, so we should be able to find out what the approach used by those two groups was.

- thomas beale

Brendan Cheng wrote: