On 10/22/07, Greg Caulton <caultonpos at gmail.com> wrote: > > Hi, > > More basic questions... > > The Archetype-Editor is great for defining archetypes for technical > users. I am looking to leverage templates and archetype content but > provide a simple to use front end. > > The user would go through iterations of searching and selecting > content, adding it to what would be their own template - or at least > something I can persist without losing the archetype hierarchy. > > Looking at the oet template files e.g. > > > http://my.openehr.org/wsvn/knowledge/templates/dev-uk-nhs/xml/openehr/ehr/composition/Emergency-Headache-v2draft.oet?op=file&sc=1 > > The xsd is a general one, not related to templates. The archetypes do > not have an xsd either - so I cannot use JAXB to generate java classes > from the definition.
Hi Greg, Yes, there are XML Schema (xsd) files for RM and AOM http://svn.openehr.org/specification/TAGS/Release-1.0.1/publishing/its/XML-schema/index.html You might find the following Java project interesting. It was created for a software demonstration session at Medinfo openEHR workshop. The Java source code for XML binding were generated from WSDL by Axis. I guess it's close to what you want to achieve with xsd files. http://svn.openehr.org/ref_impl_java/BRANCHES/sandbox/ehr-bank/ Does this mean that technically only the ADL is the true > specification, the XML is just for viewing purposes? Would I have to > dig into the Java implementation to figure out how to parse the ADL > into a set of objects that I can then display on screen or print? > > Is there a simple Java API I can use to get at the OET templates? Not yet, but the Java project will provide a template parser when early draft specification is available. Cheers, Rong thanks! > > Greg > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20071022/9e9d5333/attachment.html>

