upcoming commits

Hi all,

I will soon start to check in recent improvements of the java
reference implementation performed in the context of a Swedish
archetype pilot project. Just briefly, the main improvements/changes
are: 1) OET template parsing and flattening; 2) modifiable RM / AOM
objects; 3) RM skeleton generator; 4) improved archetype-based RM
validation.

Better documentation of these improvements will appear on openEHR wiki soon.

Cheers,
Rong

Rong Chen
Cambio Healthcare Systems

Great news Rong!

Very good Rong, thanks for keeping up the good work,
as a matter of fact, I was writing an archetype-based RM validator too,
based on Locatable RM-objects (class instances) and validate them
against archetypes, and also I have modifiable RM/AOM objects because it
is convenient when writing/using a persistence layer and also for JAXB
XML-parsing.
I don't know what a RM skeleton generator is, but I will see. With the
OET template parsing I am very pleased, that was the item which was
missing in my OpenEHR puzzle.

Maybe you should organise a donation-feature for yourself, which I have
seen more often in open source efforts, people can donate small amounts.

Anyway, thanks again for your good work.

Bert

Op 18-11-2010 15:17, Rong Chen schreef:

Thanks Pablo, Bert!

I think I have all the major components checked in now. Please let me
know how the build works for you now.

I will provide the necessary documentation and examples in the coming days.

Cheers,
Rong

Hi Rong, want to test the new “modifiable RM / AOM objects” feature because I need to chain archetypes to remove archetype slots and get a complete single archetype.

Where can I find the new code?

Cheers,
Pablo.

Hi Pablo,

You can find the new code on the latest TRUNK. The new template flattener might be of interest for you. Basically what it does is to take one main template (and its sub-templates if needed) and chained archetypes, and produce a single all-in-one giant archetype as the result. Let me know how it goes for you with the new code.

http://www.openehr.org/svn/ref_impl_java/TRUNK/oet-parser/src/main/java/org/openehr/am/template/Flattener.java

Cheers,
Rong