Richard Kavanagh wrote: > Hello everyone > > I am attempting to build some tools to help in the > development/publication of archetypes, as such I have a couple of > questions : > > - Is it possible to get an up to date copy of the schemas for > archetypes, I see the versions on SVN but they seem to be a little out > of date ( certainly the type "C_CODE_PHRASE" seems to be missing ) Hi Richard,
not sure where you are looking, but you could easily be in the wrong place, because I just noticed that the XML -schema page links are somewhat broken, due I think to more recent Apache remapping rules designed to give standard URLs to the XSDs, in the manner of W3C. I am looking into this. In the meantime, the raw reference to the release page is: http://www.openehr.org/svn/specification/TAGS/Release-1.0.1/publishing/its/XML-schema/index.html You will find 2 archetype schemas - the Archetype.xsd and the OpenehrProfile.xsd. The latter schema contains the special types C_CODE_PHRASE, C_ORDINAL and C_QUANTITY. They are defined in a separate package in the specifications (see links under 'Archetype Model' at http://www.openehr.org/releases/1.0.1/roadmap.html). Originally the reason for this was to ensure that the main Archetype XSD was completely general to all industries, by only assuming types available in UML, ISO 11404 and similar standards. However, the added types for health are so useful and heavily used that I suspect in a future release we may simply combine the two schemas. Ocean Informatics also has a bidirectional XML <-> ADL parser component which can be open sourced if the funding is available. - thomas beale

