use crate::model::{Cardinality, Max, Node, SegmentRef, SegmentStatus, Structure};
use crate::segment;
pub static RDY_Z80_NODES: [Node; 9] = [
Node::Segment(SegmentRef {
id: "RDY_Z80.1-MSH",
position: 1,
segment: &segment::msh::MSH,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.2-SFT",
position: 2,
segment: &segment::sft::SFT,
cardinality: Cardinality {
min: 0,
max: Max::Unbounded,
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.3-UAC",
position: 3,
segment: &segment::uac::UAC,
cardinality: Cardinality {
min: 0,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.4-MSA",
position: 4,
segment: &segment::msa::MSA,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.5-ERR",
position: 5,
segment: &segment::err::ERR,
cardinality: Cardinality {
min: 0,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.6-QAK",
position: 6,
segment: &segment::qak::QAK,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.7-QPD",
position: 7,
segment: &segment::qpd::QPD,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.8-DSP",
position: 8,
segment: &segment::dsp::DSP,
cardinality: Cardinality {
min: 0,
max: Max::Unbounded,
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "RDY_Z80.9-DSC",
position: 9,
segment: &segment::dsc::DSC,
cardinality: Cardinality {
min: 0,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
];
pub static RDY_Z80: Structure = Structure {
id: "RDY_Z80",
url: Some("http://hl7.org/v2/StructureDefinition/RDY_Z80"),
version: "2.9.1",
withdrawn_as_of: None,
nodes: &RDY_Z80_NODES,
};