Subject:
Re: Trying to understand the openEHR Information Model
From:
*Tim Cook <tim at mlhim.org>*
Date:
24/04/2013 15:29

To:
For openEHR technical discussions <openehr-technical at lists.openehr.org>


Hi Bert,

On Tue, Apr 23, 2013 at 5:28 PM, Bert Verhees <bert.verhees at rosa.nl 
<mailto:bert.verhees at rosa.nl>> wrote:


    The "define" is in the second part of the example, that is (called)
    the compact notation although there is also another notation for
    Relax NG which is more easier to understand for people used to
    XML-Schema.

    The other notation is like ..... (partially)

    <element name="addressBook">
    <element name="card">
    <choice>
    <group>
    etc ......
    </group>
    <group>
    etc ......
    </group>
    </choice>
    </element>
    </element>

    I can recommend the book of Eric van der Vlist, it is also free for
    download or read online
    http://books.xmlschemata.org/relaxng/



Ahhhh, I got it.  Now I think I understand.  You aren't building a 
constraint based multi-level modelling system.  You are modelling 
archetypes in RelaxNG.  Correct?

So, as I first thought.  This is a flat one-level interpretation of an 
archetype.  Not an actual validation chain.   My apologies for 
originally misinterpreting what you are attempting.
I am quite sure that RelaxNG or even XML Schema 1.0 will work just fine 
for that solution.

--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130424/6cb073be/attachment.html>

Reply via email to