2006/3/27, Rong Chen <rong@acode.se>:
Johan Hjalmarsson wrote:
Hi all,
Status:
Currently our editor supports Composition and Section archetypes to the extent that the kernel allows.
It also supports event series in Observation archetypes and some bugs have been fixed.
The most severe issues are:
- Kernel and parser don’t support archetype slots fully which means the included or excluded archetypes aren’t parsed, stored nor outputted.
- The new archetype format with isn’t supported by the kernel and parser.
- Instruction and Action archetypes aren’t supported by the kernel and parser.
- Embedded dADL inside cADL e.g. "C_QUANTIY = < … > " isn’t supported by the kernel and parser.
- Assumed value isn’t supported by the kernel and parser.
Solutions to the issues listed above will accordingly result in the following for our archetype editor:
- The editor will fully support Section and Composition archetypes.
- & 4. & 5. The editor will support many of the archetypes at openEHR knowledge repository and at Ocean Informatics archetype repository.
- Will result in the possibility to support archetypes for the whole entry package in our editor.
We really would appreciate if we could get some approximate estimates on when the issues listed above are solved. It would be nice if the easiest were dealt with first in order not to stop the progress with our archetype editor.
Hi Johan, Mattias,
Thanks for the update on the editor.
I have been working on the parser recently. Here is my update of the parser development in relation to your wish list.
No.2 issue is caused by the object key syntax included in dADL, which is now used to specify most parts of archetype, e.g. description, ontology. The current parser doesn’t really recognize dADL properly, instead it uses more specific syntax to parse different parts of the archetype. It means the support of can be added into different parts of the parser by updating the grammar for differently parts respectively. This is of course not the ideal way to do, but it works as quick fixes to the existing parser without major changes.
Hi everyone,
Thanks Rong for the time estimates. We have seen that the parser uses specific syntax for each case, but we assume it is hard to implement a general parser with JavaCC. As long as the description and ontology parts are changed, then it wouldn’t be much problems in parsing some Ocean archetypes.
The support for in archetype description is probably OK now and I hope the update on the ontology part could be done within a couple of days.
No.5 (assumed values) will be dealt with after the No.2, so perhaps it will be ready end of this week.
No.4 is related to support as well.
Great to hear that you have made progress, we’re looking forward to seeing some commits soon 
As we might have told you before number 4 often relates to the C_QUANTITY data type and object instantiation in the kernel can be completely ignored for this data type as long as the AOM for it hasn’t been updated.
Complete fix for No.1 (archetype slot) requires implementing assertion package of AOM and its link to the parser. This would happen with 2-3 weeks hopefully.
We looked at some specifications and we’re wondering if it is needed to implement the assertion package now, since it adheres to an optional section in ADL. At this stage we would be happy just to see that the archetype slots are parsed into the AOM with real includes and excludes.
What we would like to happen (if possible) is that the assertion package is implemented after the archetype slot object is supported with includes and excludes. Maybe the UCL group can implement the assertion package?
No. 3 issues require some update of the RM, particularly the entry package from ehr_im which is quite different from the current kernel. It’s hard to estimate since it depends how many developer could contribute. But let say if the UCL group or your group can start to work on the RM upgrade while I am fix the parser/AOM, then it should be possible for these to be done within 3-4 weeks.
We will focus on our archetype editor as long as we don’t get completely stuck and dependent of updates to the kernel/parser.
Cheers,
Mattias & Johan