Parser and kernel patch for TermBindingItem

Dear All,

I discovered that the openEHR java parser 1.0.1 didn't store the local term code correctly in an TermBindingItem (it stored the external term code (term_code()) in the local code's place). The attached patch corrects this problem.

I think that a TermBindingItem should have getters, so I attached a patch for this to.

Any comments?

Best regards,
Johan Hjalmarsson

(attachments)

adlparser-1.0.1.patch.txt (834 Bytes)
kernel-1.2.4.patch.txt (632 Bytes)

Hi Johan,

Yes, it's a bug in the parser. Your patch will be committed into subversion repository.

And yes, TermBindingItem needs some a getter (only returns unmodifiable list of terms), so does QueryBindingItem. To be honest, the ontology part of archetype package hasn't been used much. So far, we haven't connected it to any external terminology service.

Thanks for the support and please keep the good work! :slight_smile:

Cheers,
Rong

Johan Hjalmarsson wrote: