Package org.hl7.fhir.r5.model
Class SubstancePolymer
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.SubstancePolymer
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class SubstancePolymer extends DomainResource
Properties of a substance specific to it being a polymer.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubstancePolymer.SubstancePolymerMonomerSetComponentstatic classSubstancePolymer.SubstancePolymerMonomerSetStartingMaterialComponentstatic classSubstancePolymer.SubstancePolymerRepeatComponentstatic classSubstancePolymer.SubstancePolymerRepeatRepeatUnitComponentstatic classSubstancePolymer.SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponentstatic classSubstancePolymer.SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptclass_Overall type of the polymer.protected List<CodeableConcept>copolymerConnectivityDescrtibes the copolymer sequence type (polymer connectivity).protected CodeableConceptgeometryPolymer geometry, e.g.protected IdentifieridentifierA business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.protected StringTypemodificationTodo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid .protected List<SubstancePolymer.SubstancePolymerMonomerSetComponent>monomerSetTodo.protected List<SubstancePolymer.SubstancePolymerRepeatComponent>repeatSpecifies and quantifies the repeated units and their configuration.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description SubstancePolymer()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.
-
class_
protected CodeableConcept class_
Overall type of the polymer.
-
geometry
protected CodeableConcept geometry
Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic.
-
copolymerConnectivity
protected List<CodeableConcept> copolymerConnectivity
Descrtibes the copolymer sequence type (polymer connectivity).
-
modification
protected StringType modification
Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder.
-
monomerSet
protected List<SubstancePolymer.SubstancePolymerMonomerSetComponent> monomerSet
Todo.
-
repeat
protected List<SubstancePolymer.SubstancePolymerRepeatComponent> repeat
Specifies and quantifies the repeated units and their configuration.
-
-
Constructor Detail
-
SubstancePolymer
public SubstancePolymer()
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public SubstancePolymer setIdentifier(Identifier value)
- Parameters:
value-identifier(A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.)
-
getClass_
public CodeableConcept getClass_()
- Returns:
class_(Overall type of the polymer.)
-
hasClass_
public boolean hasClass_()
-
setClass_
public SubstancePolymer setClass_(CodeableConcept value)
- Parameters:
value-class_(Overall type of the polymer.)
-
getGeometry
public CodeableConcept getGeometry()
- Returns:
geometry(Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic.)
-
hasGeometry
public boolean hasGeometry()
-
setGeometry
public SubstancePolymer setGeometry(CodeableConcept value)
- Parameters:
value-geometry(Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic.)
-
getCopolymerConnectivity
public List<CodeableConcept> getCopolymerConnectivity()
- Returns:
copolymerConnectivity(Descrtibes the copolymer sequence type (polymer connectivity).)
-
setCopolymerConnectivity
public SubstancePolymer setCopolymerConnectivity(List<CodeableConcept> theCopolymerConnectivity)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCopolymerConnectivity
public boolean hasCopolymerConnectivity()
-
addCopolymerConnectivity
public CodeableConcept addCopolymerConnectivity()
-
addCopolymerConnectivity
public SubstancePolymer addCopolymerConnectivity(CodeableConcept t)
-
getCopolymerConnectivityFirstRep
public CodeableConcept getCopolymerConnectivityFirstRep()
- Returns:
- The first repetition of repeating field
copolymerConnectivity, creating it if it does not already exist {3}
-
getModificationElement
public StringType getModificationElement()
- Returns:
modification(Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder.). This is the underlying object with id, value and extensions. The accessor "getModification" gives direct access to the value
-
hasModificationElement
public boolean hasModificationElement()
-
hasModification
public boolean hasModification()
-
setModificationElement
public SubstancePolymer setModificationElement(StringType value)
- Parameters:
value-modification(Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder.). This is the underlying object with id, value and extensions. The accessor "getModification" gives direct access to the value
-
getModification
public String getModification()
- Returns:
- Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder.
-
setModification
public SubstancePolymer setModification(String value)
- Parameters:
value- Todo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid . String is just a placeholder.
-
getMonomerSet
public List<SubstancePolymer.SubstancePolymerMonomerSetComponent> getMonomerSet()
- Returns:
monomerSet(Todo.)
-
setMonomerSet
public SubstancePolymer setMonomerSet(List<SubstancePolymer.SubstancePolymerMonomerSetComponent> theMonomerSet)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMonomerSet
public boolean hasMonomerSet()
-
addMonomerSet
public SubstancePolymer.SubstancePolymerMonomerSetComponent addMonomerSet()
-
addMonomerSet
public SubstancePolymer addMonomerSet(SubstancePolymer.SubstancePolymerMonomerSetComponent t)
-
getMonomerSetFirstRep
public SubstancePolymer.SubstancePolymerMonomerSetComponent getMonomerSetFirstRep()
- Returns:
- The first repetition of repeating field
monomerSet, creating it if it does not already exist {3}
-
getRepeat
public List<SubstancePolymer.SubstancePolymerRepeatComponent> getRepeat()
- Returns:
repeat(Specifies and quantifies the repeated units and their configuration.)
-
setRepeat
public SubstancePolymer setRepeat(List<SubstancePolymer.SubstancePolymerRepeatComponent> theRepeat)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRepeat
public boolean hasRepeat()
-
addRepeat
public SubstancePolymer.SubstancePolymerRepeatComponent addRepeat()
-
addRepeat
public SubstancePolymer addRepeat(SubstancePolymer.SubstancePolymerRepeatComponent t)
-
getRepeatFirstRep
public SubstancePolymer.SubstancePolymerRepeatComponent getRepeatFirstRep()
- Returns:
- The first repetition of repeating field
repeat, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public SubstancePolymer copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(SubstancePolymer dst)
-
typedCopy
protected SubstancePolymer typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-