openehr-am 0.0.129

openEHR AM Archetype Model, generated from BMM: generations v1_4 (AM 1.4.0, ADL 1.4) and v2_4 (AM 2.4.0, ADL 2; current)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @generated by openehr-codegen from BMM (`P_C_DATE_TIME`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

/// ISO 8601-compatible constraint on instances of Date_Time.
///
/// There is no validity flag for ‘year’, since it must always be by definition mandatory in order to have a sensible date/time at all. Syntax expressions of instances of this class include “YYYY-MM-DDT??:??:??” (date/time with optional time) and “YYYY-MMDDTHH:MM:xx” (date/time, seconds not allowed).
#[doc(alias = "P_C_DATE_TIME")]
#[derive(Debug, Clone, PartialEq)]
pub struct PCDateTime {}