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

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

use crate::v1_1::data_types::text::code_phrase::CodePhrase;

/// Class providing details of a natural language translation.
#[doc(alias = "TRANSLATION_DETAILS")]
#[derive(Debug, Clone, PartialEq)]
pub struct TranslationDetails {
    /// Language of the translation.
    pub language: CodePhrase,
    /// Translator name and other demographic details.
    pub author: std::collections::BTreeMap<String, String>,
    /// Accreditation of translator, usually a national translator's registration or association membership id.
    pub accreditaton: Option<String>,
    /// Any other meta-data.
    pub other_details: Option<std::collections::BTreeMap<String, String>>,
}