// @generated by openehr-codegen from BMM (`CODE`) — DO NOT EDIT.
//! The openEHR `CODE` spec class, generated from the vendored BMM
//! meta-model.
usecrate::v3_1::terminology::terminology_status::TerminologyStatus;/// A single code entity in a code set.
#[doc(alias ="CODE")]#[derive(Debug, Clone, PartialEq)]pubstructCode{/// The code string for this code entity, e.g. `"AF"`.
pubvalue: String,
/// Optional description of this code, e.g. `"AFGHANISTAN"`.
////// This field may be used to hold translations of the description in a language-specific copy of the English language original code set.
pubdescription:Option<String>,
/// Status of this code within the code set.
pubstatus:Option<TerminologyStatus>,
}