use crate::model::{Cardinality, Max, Node, SegmentRef, SegmentStatus, Structure};
use crate::segment;
pub static CCI_I22_NODES: [Node; 7] = [
Node::Segment(SegmentRef {
id: "CCI_I22.1-MSH",
position: 1,
segment: &segment::msh::MSH,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.2-SFT",
position: 2,
segment: &segment::sft::SFT,
cardinality: Cardinality {
min: 0,
max: Max::Unbounded,
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.3-UAC",
position: 3,
segment: &segment::uac::UAC,
cardinality: Cardinality {
min: 0,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.4-MSA",
position: 4,
segment: &segment::msa::MSA,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.5-ERR",
position: 5,
segment: &segment::err::ERR,
cardinality: Cardinality {
min: 0,
max: Max::Unbounded,
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.6-PID",
position: 6,
segment: &segment::pid::PID,
cardinality: Cardinality {
min: 1,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
Node::Segment(SegmentRef {
id: "CCI_I22.7-PD1",
position: 7,
segment: &segment::pd1::PD1,
cardinality: Cardinality {
min: 0,
max: Max::Bounded(1),
},
status: Some(SegmentStatus::A),
}),
];
pub static CCI_I22: Structure = Structure {
id: "CCI_I22",
url: Some("http://hl7.org/v2/StructureDefinition/CCI_I22"),
version: "2.9.1",
withdrawn_as_of: None,
nodes: &CCI_I22_NODES,
};