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
// @generated by openehr-codegen from BMM (`BMM_STATEMENT_BLOCK`) — DO NOT EDIT.

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

use crate::bmm3::statement::bmm_statement_item::BmmStatementItem;

/// A statement 'block' corresponding to the programming language concept of the same name. May be used to establish scope in specific languages.
#[doc(alias = "BMM_STATEMENT_BLOCK")]
#[derive(Debug, Clone, PartialEq)]
pub struct BmmStatementBlock {
    /// Child blocks of the current block.
    pub items: Option<Vec<BmmStatementItem>>,
}