# Bmm\_Expression implementation for using in archetype rules

**URL:** https://discourse.openehr.org/t/bmm-expression-implementation-for-using-in-archetype-rules/2351
**Category:** BMM/Expressions
**Created:** [10 February 2022 08:14 UTC](https://discourse.openehr.org/t/bmm-expression-implementation-for-using-in-archetype-rules/2351 "2022-02-10T08:14:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![borut.jures](https://discourse.openehr.org/user_avatar/discourse.openehr.org/borut.jures/32/1391_2.png) [@borut.jures](https://discourse.openehr.org/u/borut.jures)
#### Post date: [10 February 2022 08:43 UTC](https://discourse.openehr.org/t/bmm-expression-implementation-for-using-in-archetype-rules/2351/2 "2022-02-10T08:43:18Z")

</div>

Pieter has a development version of Archie with many changes regarding ADL2.

There is also a discussion about the expressions:

> [@ASSERTION in openehr\_expression\_104.bmm is not in accordance with the specifications](https://discourse.openehr.org/t/assertion-in-openehr-expression-104-bmm-is-not-in-accordance-with-the-specifications/2203/26):
>
> There appear to be more differences, unfortunately. Differences between the model in Archie and [Expression Language (EL)](https://specifications.openehr.org/releases/BASE/Release-1.0.4/expression.html#_assignment_class) that are not simple renames that I found so far: EXPR\_FUNCTION.function\_def is of type FUNCTION\_DEF. It is EXPR\_FUNCTION.function\_name as a string in Archie. There is no function\_def class in Archie. OPERATOR\_DEF\_BUILTIN is an enum in Archie (renames are easy, parsing/serialization slightly more tricky) EXPR\_TYPE\_DEF is the enum EXPRESSION\_TYPE in archie (renames are easy, …

* * *

p.s.  
Congratulations on your BMM and ADL2 parsers 👏

---

_[View the full topic](https://discourse.openehr.org/t/bmm-expression-implementation-for-using-in-archetype-rules/2351)._
