hl7v2-types 0.0.0

Generated HL7 v2 message structure trees, segment field tables, data type components and message definitions
Documentation
// @generated by fhir-codegen from HL7/v2ig 3adcdbfff654ccbff5cd33aa34bd909a087e8e19 input/sourceOfTruth. DO NOT EDIT.
// Change the emitter (tools/fhir-codegen) and regenerate.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-License-Identifier: Apache-2.0
//! The `RDT` segment: Table Row Data.

use crate::model::{Cardinality, DataTypeRef, Field, Max, Optionality, Segment};

/// The `RDT` segment definition, `http://hl7.org/v2/StructureDefinition/RDT`.
pub static RDT: Segment = Segment {
    id: "RDT",
    url: Some("http://hl7.org/v2/StructureDefinition/RDT"),
    name: "Table Row Data",
    fields: &[Field {
        id: "RDT.1-rdt1",
        position: 1,
        name: "RDT-1",
        data_type: Some(DataTypeRef::Undefined("Varies")),
        cardinality: Cardinality {
            min: 1,
            max: Max::Bounded(1),
        },
        optionality: Optionality::R,
        length: None,
        conformance_length: None,
        table: None,
        standards_status: None,
    }],
};