openehr-rm 0.0.128

openEHR RM Reference Model, generated from BMM: generations v1_1 (RM 1.1.0) and v1_2 (RM 1.2.0, current)
Documentation
// @generated by openehr-codegen from BMM (`SYNC_EXTRACT`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v1_1::ehr_extract::sync_extract::sync_extract_spec::SyncExtractSpec;
use crate::v1_1::ehr_extract::sync_extract::x_contribution::XContribution;

/// The openEHR `SYNC_EXTRACT` class (the vendored BMM carries no documentation for it).
#[doc(alias = "SYNC_EXTRACT")]
#[derive(Debug, Clone, PartialEq)]
pub struct SyncExtract {
    /// Details of specification of this Extract.
    pub specification: SyncExtractSpec,
    /// Content, in the form of a serialised Contributions.
    pub items: Option<Vec<XContribution>>,
}