openehr-lang 0.0.2

openEHR LANG 1.0.0: BMM/P_BMM object model (generated from BMM) plus a hand-written ODIN instance parser (the `odin` module — deliberately off the codegen path).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @generated by openehr-codegen from BMM (`ASSERTION`) — DO NOT EDIT.

//! The openEHR `ASSERTION` spec class, generated from the vendored BMM
//! meta-model.

use crate::beom::core::expression::Expression;

/// Meta-type for a first order predicate logic expression with a Boolean result.
#[doc(alias = "ASSERTION")]
#[derive(Debug, Clone, PartialEq)]
pub struct Assertion {
    /// Expression tag, used for differentiating multiple assertions.
    pub tag: Option<String>,
    /// String form of expression, in case an expression evaluator taking String expressions is used for evaluation.
    pub string_expression: Option<String>,
    /// Root of expression tree.
    pub expression: Box<Expression>,
}