public static class SubstanceSpecification.SubstanceSpecificationRelationshipComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
amount
A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.
|
protected Ratio |
amountRatioLowLimit
For use when the numeric.
|
protected CodeableConcept |
amountType
An operator for the amount, for example "average", "approximately", "less than".
|
protected BooleanType |
isDefining
For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships.
|
protected CodeableConcept |
relationship
For example "salt to parent", "active moiety", "starting material".
|
protected List<Reference> |
source
Supporting literature.
|
protected List<DocumentReference> |
sourceTarget
The actual objects that are the target of the reference (Supporting literature.)
|
protected Type |
substance
A pointer to another substance, as a resource or just a representational code.
|
modifierExtension| Constructor and Description |
|---|
SubstanceSpecificationRelationshipComponent()
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected Type substance
protected CodeableConcept relationship
protected BooleanType isDefining
protected Type amount
protected Ratio amountRatioLowLimit
protected CodeableConcept amountType
protected List<DocumentReference> sourceTarget
public SubstanceSpecificationRelationshipComponent()
public Type getSubstance()
substance (A pointer to another substance, as a resource or just a representational code.)public Reference getSubstanceReference() throws org.hl7.fhir.exceptions.FHIRException
substance (A pointer to another substance, as a resource or just a representational code.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubstanceReference()
public CodeableConcept getSubstanceCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
substance (A pointer to another substance, as a resource or just a representational code.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubstanceCodeableConcept()
public boolean hasSubstance()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setSubstance(Type value)
value - substance (A pointer to another substance, as a resource or just a representational code.)public CodeableConcept getRelationship()
relationship (For example "salt to parent", "active moiety", "starting material".)public boolean hasRelationship()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setRelationship(CodeableConcept value)
value - relationship (For example "salt to parent", "active moiety", "starting material".)public BooleanType getIsDefiningElement()
isDefining (For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships.). This is the underlying object with id, value and extensions. The accessor "getIsDefining" gives direct access to the valuepublic boolean hasIsDefiningElement()
public boolean hasIsDefining()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setIsDefiningElement(BooleanType value)
value - isDefining (For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships.). This is the underlying object with id, value and extensions. The accessor "getIsDefining" gives direct access to the valuepublic boolean getIsDefining()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setIsDefining(boolean value)
value - For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships.public Type getAmount()
amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)public Quantity getAmountQuantity() throws org.hl7.fhir.exceptions.FHIRException
amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountQuantity()
public Range getAmountRange() throws org.hl7.fhir.exceptions.FHIRException
amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountRange()
public Ratio getAmountRatio() throws org.hl7.fhir.exceptions.FHIRException
amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountRatio()
public StringType getAmountStringType() throws org.hl7.fhir.exceptions.FHIRException
amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountStringType()
public boolean hasAmount()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setAmount(Type value)
value - amount (A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.)public Ratio getAmountRatioLowLimit()
amountRatioLowLimit (For use when the numeric.)public boolean hasAmountRatioLowLimit()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setAmountRatioLowLimit(Ratio value)
value - amountRatioLowLimit (For use when the numeric.)public CodeableConcept getAmountType()
amountType (An operator for the amount, for example "average", "approximately", "less than".)public boolean hasAmountType()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setAmountType(CodeableConcept value)
value - amountType (An operator for the amount, for example "average", "approximately", "less than".)public SubstanceSpecification.SubstanceSpecificationRelationshipComponent setSource(List<Reference> theSource)
this for easy method chainingpublic boolean hasSource()
public SubstanceSpecification.SubstanceSpecificationRelationshipComponent addSource(Reference t)
public Reference getSourceFirstRep()
source, creating it if it does not already exist@Deprecated public List<DocumentReference> getSourceTarget()
@Deprecated public DocumentReference addSourceTarget()
protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic SubstanceSpecification.SubstanceSpecificationRelationshipComponent copy()
copy in class BackboneElementpublic void copyValues(SubstanceSpecification.SubstanceSpecificationRelationshipComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.