Package org.hl7.fhir.r4b.model
Class SubstanceDefinition.SubstanceDefinitionStructureComponent
- java.lang.Object
-
- org.hl7.fhir.r4b.model.Base
-
- org.hl7.fhir.r4b.model.Element
-
- org.hl7.fhir.r4b.model.DataType
-
- org.hl7.fhir.r4b.model.BackboneElement
-
- org.hl7.fhir.r4b.model.SubstanceDefinition.SubstanceDefinitionStructureComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- SubstanceDefinition
public static class SubstanceDefinition.SubstanceDefinitionStructureComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringTypemolecularFormulaMolecular formula of this substance, typically using the Hill system.protected StringTypemolecularFormulaByMoietySpecified per moiety according to the Hill system, i.e.protected SubstanceDefinition.SubstanceDefinitionMolecularWeightComponentmolecularWeightThe molecular weight or weight range (for proteins, polymers or nucleic acids).protected CodeableConceptopticalActivityOptical activity type.protected List<SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent>representationA depiction of the structure or characterization of the substance.protected List<Reference>sourceDocumentSupporting literature about the source of information.protected CodeableConceptstereochemistryStereochemistry type.protected List<CodeableConcept>techniqueThe method used to elucidate the structure or characterization of the drug substance.-
Fields inherited from class org.hl7.fhir.r4b.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SubstanceDefinitionStructureComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4b.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, removeExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4b.model.DataType
copyValues
-
Methods inherited from class org.hl7.fhir.r4b.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4b.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, isResource, 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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
stereochemistry
protected CodeableConcept stereochemistry
Stereochemistry type.
-
opticalActivity
protected CodeableConcept opticalActivity
Optical activity type.
-
molecularFormula
protected StringType molecularFormula
Molecular formula of this substance, typically using the Hill system.
-
molecularFormulaByMoiety
protected StringType molecularFormulaByMoiety
Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
molecularWeight
protected SubstanceDefinition.SubstanceDefinitionMolecularWeightComponent molecularWeight
The molecular weight or weight range (for proteins, polymers or nucleic acids).
-
technique
protected List<CodeableConcept> technique
The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay.
-
sourceDocument
protected List<Reference> sourceDocument
Supporting literature about the source of information.
-
representation
protected List<SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent> representation
A depiction of the structure or characterization of the substance.
-
-
Constructor Detail
-
SubstanceDefinitionStructureComponent
public SubstanceDefinitionStructureComponent()
Constructor
-
-
Method Detail
-
getStereochemistry
public CodeableConcept getStereochemistry()
- Returns:
stereochemistry(Stereochemistry type.)
-
hasStereochemistry
public boolean hasStereochemistry()
-
setStereochemistry
public SubstanceDefinition.SubstanceDefinitionStructureComponent setStereochemistry(CodeableConcept value)
- Parameters:
value-stereochemistry(Stereochemistry type.)
-
getOpticalActivity
public CodeableConcept getOpticalActivity()
- Returns:
opticalActivity(Optical activity type.)
-
hasOpticalActivity
public boolean hasOpticalActivity()
-
setOpticalActivity
public SubstanceDefinition.SubstanceDefinitionStructureComponent setOpticalActivity(CodeableConcept value)
- Parameters:
value-opticalActivity(Optical activity type.)
-
getMolecularFormulaElement
public StringType getMolecularFormulaElement()
- Returns:
molecularFormula(Molecular formula of this substance, typically using the Hill system.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the value
-
hasMolecularFormulaElement
public boolean hasMolecularFormulaElement()
-
hasMolecularFormula
public boolean hasMolecularFormula()
-
setMolecularFormulaElement
public SubstanceDefinition.SubstanceDefinitionStructureComponent setMolecularFormulaElement(StringType value)
- Parameters:
value-molecularFormula(Molecular formula of this substance, typically using the Hill system.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the value
-
getMolecularFormula
public String getMolecularFormula()
- Returns:
- Molecular formula of this substance, typically using the Hill system.
-
setMolecularFormula
public SubstanceDefinition.SubstanceDefinitionStructureComponent setMolecularFormula(String value)
- Parameters:
value- Molecular formula of this substance, typically using the Hill system.
-
getMolecularFormulaByMoietyElement
public StringType getMolecularFormulaByMoietyElement()
- Returns:
molecularFormulaByMoiety(Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormulaByMoiety" gives direct access to the value
-
hasMolecularFormulaByMoietyElement
public boolean hasMolecularFormulaByMoietyElement()
-
hasMolecularFormulaByMoiety
public boolean hasMolecularFormulaByMoiety()
-
setMolecularFormulaByMoietyElement
public SubstanceDefinition.SubstanceDefinitionStructureComponent setMolecularFormulaByMoietyElement(StringType value)
- Parameters:
value-molecularFormulaByMoiety(Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormulaByMoiety" gives direct access to the value
-
getMolecularFormulaByMoiety
public String getMolecularFormulaByMoiety()
- Returns:
- Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
setMolecularFormulaByMoiety
public SubstanceDefinition.SubstanceDefinitionStructureComponent setMolecularFormulaByMoiety(String value)
- Parameters:
value- Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
getMolecularWeight
public SubstanceDefinition.SubstanceDefinitionMolecularWeightComponent getMolecularWeight()
- Returns:
molecularWeight(The molecular weight or weight range (for proteins, polymers or nucleic acids).)
-
hasMolecularWeight
public boolean hasMolecularWeight()
-
setMolecularWeight
public SubstanceDefinition.SubstanceDefinitionStructureComponent setMolecularWeight(SubstanceDefinition.SubstanceDefinitionMolecularWeightComponent value)
- Parameters:
value-molecularWeight(The molecular weight or weight range (for proteins, polymers or nucleic acids).)
-
getTechnique
public List<CodeableConcept> getTechnique()
- Returns:
technique(The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay.)
-
setTechnique
public SubstanceDefinition.SubstanceDefinitionStructureComponent setTechnique(List<CodeableConcept> theTechnique)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTechnique
public boolean hasTechnique()
-
addTechnique
public CodeableConcept addTechnique()
-
addTechnique
public SubstanceDefinition.SubstanceDefinitionStructureComponent addTechnique(CodeableConcept t)
-
getTechniqueFirstRep
public CodeableConcept getTechniqueFirstRep()
- Returns:
- The first repetition of repeating field
technique, creating it if it does not already exist {3}
-
getSourceDocument
public List<Reference> getSourceDocument()
- Returns:
sourceDocument(Supporting literature about the source of information.)
-
setSourceDocument
public SubstanceDefinition.SubstanceDefinitionStructureComponent setSourceDocument(List<Reference> theSourceDocument)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSourceDocument
public boolean hasSourceDocument()
-
addSourceDocument
public Reference addSourceDocument()
-
addSourceDocument
public SubstanceDefinition.SubstanceDefinitionStructureComponent addSourceDocument(Reference t)
-
getSourceDocumentFirstRep
public Reference getSourceDocumentFirstRep()
- Returns:
- The first repetition of repeating field
sourceDocument, creating it if it does not already exist {3}
-
getRepresentation
public List<SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent> getRepresentation()
- Returns:
representation(A depiction of the structure or characterization of the substance.)
-
setRepresentation
public SubstanceDefinition.SubstanceDefinitionStructureComponent setRepresentation(List<SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent> theRepresentation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRepresentation
public boolean hasRepresentation()
-
addRepresentation
public SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent addRepresentation()
-
addRepresentation
public SubstanceDefinition.SubstanceDefinitionStructureComponent addRepresentation(SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent t)
-
getRepresentationFirstRep
public SubstanceDefinition.SubstanceDefinitionStructureRepresentationComponent getRepresentationFirstRep()
- Returns:
- The first repetition of repeating field
representation, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public SubstanceDefinition.SubstanceDefinitionStructureComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(SubstanceDefinition.SubstanceDefinitionStructureComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-