use crate::data_type;
use crate::model::{
Cardinality, Component, ConformanceLength, DataType, Length, Max, Optionality, Table,
};
pub static SPD: DataType = DataType {
code: "SPD",
url: "http://hl7.org/v2/StructureDefinition/SPD",
name: "specialty description",
components: &[
Component {
id: "SPD.1",
position: 1,
name: "Specialty Name",
data_type: Some(&data_type::st::ST),
cardinality: Some(Cardinality {
min: 1,
max: Max::Bounded(1),
}),
optionality: Optionality::R,
length: None,
conformance_length: Some(ConformanceLength {
length: Some(50),
no_truncate: Some(true),
}),
table: None,
},
Component {
id: "SPD.2",
position: 2,
name: "Governing Board",
data_type: Some(&data_type::st::ST),
cardinality: Some(Cardinality {
min: 0,
max: Max::Bounded(1),
}),
optionality: Optionality::O,
length: None,
conformance_length: Some(ConformanceLength {
length: Some(50),
no_truncate: Some(true),
}),
table: None,
},
Component {
id: "SPD.3",
position: 3,
name: "Eligible or Certified",
data_type: Some(&data_type::id::ID),
cardinality: Some(Cardinality {
min: 0,
max: Max::Bounded(1),
}),
optionality: Optionality::O,
length: Some(Length {
min: 1,
max: Some(1),
}),
conformance_length: None,
table: Some(Table {
id: "0337",
value_set: "http://terminology.hl7.org/ValueSet/v2-0337",
}),
},
Component {
id: "SPD.4",
position: 4,
name: "Date of Certification",
data_type: Some(&data_type::dt::DT),
cardinality: Some(Cardinality {
min: 0,
max: Max::Bounded(1),
}),
optionality: Optionality::O,
length: None,
conformance_length: None,
table: None,
},
],
};