pub struct SubstancePolymer {Show 15 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Identifier>,
pub class: Option<CodeableConcept>,
pub geometry: Option<CodeableConcept>,
pub copolymer_connectivity: Option<Vec<CodeableConcept>>,
pub modification: Option<StringDt>,
pub monomer_set: Option<Vec<SubstancePolymerMonomerSetBackboneElement>>,
pub repeat: Option<Vec<SubstancePolymerRepeatBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Identifier>
A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier
class: Option<CodeableConcept>
Overall type of the polymer
geometry: Option<CodeableConcept>
Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic
copolymer_connectivity: Option<Vec<CodeableConcept>>
Descrtibes the copolymer sequence type (polymer connectivity)
modification: Option<StringDt>
Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder
monomer_set: Option<Vec<SubstancePolymerMonomerSetBackboneElement>>
Todo
repeat: Option<Vec<SubstancePolymerRepeatBackboneElement>>
Specifies and quantifies the repeated units and their configuration
Implementations§
Source§impl SubstancePolymer
impl SubstancePolymer
pub fn set_identifier(self, v: Identifier) -> Self
pub fn set_class(self, v: CodeableConcept) -> Self
pub fn set_geometry(self, v: CodeableConcept) -> Self
pub fn set_copolymer_connectivity(self, v: Vec<CodeableConcept>) -> Self
pub fn add_copolymer_connectivity(self, v: CodeableConcept) -> Self
pub fn set_modification<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_monomer_set( self, v: Vec<SubstancePolymerMonomerSetBackboneElement>, ) -> Self
pub fn add_monomer_set( self, v: SubstancePolymerMonomerSetBackboneElement, ) -> Self
pub fn set_repeat(self, v: Vec<SubstancePolymerRepeatBackboneElement>) -> Self
pub fn add_repeat(self, v: SubstancePolymerRepeatBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for SubstancePolymer
impl Clone for SubstancePolymer
Source§fn clone(&self) -> SubstancePolymer
fn clone(&self) -> SubstancePolymer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more