
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
Properties of a substance specific to it being a polymer.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptOverall type of the polymer.protected List<CodeableConcept> Descrtibes the copolymer sequence type (polymer connectivity).protected CodeableConceptPolymer geometry, e.g. linear, branched, cross-linked, network or dendritic.protected IdentifierA business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.protected StringTypeTodo - this is intended to connect to a repeating full modification structure, also used by Protein and Nucleic Acid .Todo.Specifies and quantifies the repeated units and their configuration.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXTFields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setClass_(CodeableConcept value) setCopolymerConnectivity(List<CodeableConcept> theCopolymerConnectivity) setGeometry(CodeableConcept value) setIdentifier(Identifier value) setModification(String value) setModificationElement(StringType value) setMonomerSet(List<SubstancePolymer.SubstancePolymerMonomerSetComponent> theMonomerSet) setProperty(int hash, String name, Base value) setProperty(String name, Base value) protected SubstancePolymerMethods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setTextMethods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPathMethods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier. -
class_
Overall type of the polymer. -
geometry
Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic. -
copolymerConnectivity
Descrtibes the copolymer sequence type (polymer connectivity). -
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
Todo. -
repeat
Specifies and quantifies the repeated units and their configuration.
-
-
Constructor Details
-
SubstancePolymer
public SubstancePolymer()Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier(A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(A business idenfier for this polymer, but typically this is handled by a SubstanceDefinition identifier.)
-
getClass_
- Returns:
class_(Overall type of the polymer.)
-
hasClass_
-
setClass_
- Parameters:
value-class_(Overall type of the polymer.)
-
getGeometry
- Returns:
geometry(Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic.)
-
hasGeometry
-
setGeometry
- Parameters:
value-geometry(Polymer geometry, e.g. linear, branched, cross-linked, network or dendritic.)
-
getCopolymerConnectivity
- Returns:
copolymerConnectivity(Descrtibes the copolymer sequence type (polymer connectivity).)
-
setCopolymerConnectivity
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCopolymerConnectivity
-
addCopolymerConnectivity
-
addCopolymerConnectivity
-
getCopolymerConnectivityFirstRep
- Returns:
- The first repetition of repeating field
copolymerConnectivity, creating it if it does not already exist {3}
-
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
-
hasModification
-
setModificationElement
- 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
- 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
- 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
- Returns:
monomerSet(Todo.)
-
setMonomerSet
public SubstancePolymer setMonomerSet(List<SubstancePolymer.SubstancePolymerMonomerSetComponent> theMonomerSet) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasMonomerSet
-
addMonomerSet
-
addMonomerSet
-
getMonomerSetFirstRep
- Returns:
- The first repetition of repeating field
monomerSet, creating it if it does not already exist {3}
-
getRepeat
- Returns:
repeat(Specifies and quantifies the repeated units and their configuration.)
-
setRepeat
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRepeat
-
addRepeat
-
addRepeat
-
getRepeatFirstRep
- Returns:
- The first repetition of repeating field
repeat, creating it if it does not already exist {3}
-
listChildren
- 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
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-