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 (`EXTRACT_ERROR`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v1_2::data_types::text::dv_text::DvText;
use openehr_base::v1_3::base_types::identification::object_ref::ObjectRef;

/// The openEHR `EXTRACT_ERROR` class (the vendored BMM carries no documentation for it).
#[doc(alias = "EXTRACT_ERROR")]
#[derive(Debug, Clone, PartialEq)]
pub struct ExtractError {
    /// The `request_id` attribute of openEHR `EXTRACT_ERROR` (the vendored BMM carries no documentation for it).
    pub request_id: Option<ObjectRef>,
    /// The `reason` attribute of openEHR `EXTRACT_ERROR` (the vendored BMM carries no documentation for it).
    pub reason: DvText,
}