// @generated by openehr-codegen from BMM (`EXTRACT_ERROR`) — DO NOT EDIT.
//! The openEHR `EXTRACT_ERROR` spec class, generated from the vendored BMM
//! meta-model.
use crate::data_types::text::dv_text::DvText;
use openehr_base::prelude::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,
}