Dear Sam, etal,

I wonder if the specialised schema approach for archetypes is one that
openEHR should encourage.  Not so much discourage the investigation but at
least indicate to those who are going down this route that previous work by
Ocean and DSTC has indicated that the approach is not workable in a dual
layer model approach.  Perhaps the more useful task is to find a suitable
schema for ADL if this has not already been done for which archetype
definitions can be validated against, not instances.

Perhaps it should be encouraged to use some existing schema's such as OWL
but again this is representing the archetype definition not the archetype
instance.

Perhaps, the DSTC approach to represent archetypes using XML with a XML
schema for the Archetype Model should be endorsed by openEHR if this is the
preferred approach so people don't waste their time and develop a
proliferation of approaches which are likely to be incompatible or at least
require translation.

What would be better use of peoples time would be the investigation of an
archetype instance validating parser that uses the XML document representing
the archetype definition similar to an XML validating parser uses xml schema
(which is also an XML document).

The reason we need to have an XML document represent the archetype is
because of the dual layer model approach where the XML schema is used at the
reference model level and an xml instance can't have two associated schemas
for validation for each level.  However, from my understanding (which is
limited), this is not an issue in some of these other schema systems like
Schematron and RelaxNG, so it might be useful for people to investigate
these if they really want to represent archetypes as XML schema's but
knowing that traditional parsers and XML tools will not support this due to
the dual layer model approach.

Regards

Heath

> -----Original Message-----
> From: owner-openehr-technical at openehr.org
> [mailto:owner-openehr-technical at openehr.org]On Behalf Of Sam Heard
> Sent: Wednesday, 9 March 2005 11:28
> To: openehr-technical at openehr.org
> Subject: Re: ADL to XML Schema
>
>
> David W. Forslund
>
> Good to see you sniffing around! The key issue for us in ADL is that
> Eiffel is not UNICODE compliant. There will be a number of
> Java parsers
> soon, and I hope a JAVA archetype editor.
>
> I am interested in what you can do with Schematron as well as another
> implementation route....keep me up to speed.
>
> Cheers, Sam
> > I've been looking at schematron for doing the "equivalent"
> of archetype in
> > a more general situation, particularly since there as been
> no ADL parser
> > available in Java.   Schematron seems to be reasonably popular for
> > enforcing rules for XML data structures and there is a
> variety of software
> > available for using it.
> >
> > Dave
> > On Tue, March 8, 2005 4:28 am, Gavin Brelstaff said:
> >
> >>Rahil Qamar wrote:
> >>
> >>
> >>>Hi Alfonso
> >>>
> >>>I can answer one of your questions for certain and am not very sure
> >>>about another one.
> >>>
> >>>Alfonso Mata wrote:
> >>>
> >>>
> >>>>- Is it possible to obtain a XML-Schema based on 13606 from an ADL
> >>>>file?
> >>>>
> >>>>
> >>>
> >>>You can obtain an XML representation of the ADL Archetype from the
> >>>Archetype Editor but not an XML Schema. Atleast not at the moment.
> >>>However Im trying to write out a schema based on the UML Archetype
> >>>Object Model. Its not proving to be an easy task is all I
> can say ! I've
> >>>done one version of  the schema but its far from perfect
> to generate a
> >>>sensible XML. If you are interested in doing some work on
> this we could
> >>>collaborate.
> >>
> >>There are some less heavy ways of doing XML rule checking that
> >>avoid most of the irrational intricacies of the W3C Schema.
> >>Did you ever explore
> >>Jim Clark's RelaxNG for schema validation of XML structures,
> >>and
> >>Schematron for rules involving Co-occurance relationships.
> >>
> >>That might be a way to go.
> >>
> >>
> >>--
> >>Gavin Brelstaff - BioMedical Area, CRS4 in Sardinia
> >>Loc. Pixina Manna Edificio 1,
> >>C.P. n.25, 09010 Pula (CA) Italy.
> >>Email: gjb at crs4.it Phone:+39.070.9250.312 Fax:+39.070.9250.216
> >>
> >>-
> >>If you have any questions about using this list,
> >>please send a message to d.lloyd at openehr.org
> >>
> >
> >
> >
> -
> If you have any questions about using this list,
> please send a message to d.lloyd at openehr.org

-
If you have any questions about using this list,
please send a message to d.lloyd at openehr.org

Reply via email to