public static class Substance.SubstanceIngredientComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Ratio |
quantity
The amount of the ingredient in the substance - a concentration ratio.
|
protected Reference |
substance
Another substance that is a component of this substance.
|
protected Substance |
substanceTarget
The actual object that is the target of the reference (Another substance that is a component of this substance.)
|
modifierExtension| Constructor and Description |
|---|
SubstanceIngredientComponent()
Constructor
|
SubstanceIngredientComponent(Reference substance)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Substance.SubstanceIngredientComponent |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
Ratio |
getQuantity() |
Reference |
getSubstance() |
Substance |
getSubstanceTarget() |
boolean |
hasQuantity() |
boolean |
hasSubstance() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
void |
setProperty(int hash,
String name,
Base value) |
void |
setProperty(String name,
Base value) |
Substance.SubstanceIngredientComponent |
setQuantity(Ratio value) |
Substance.SubstanceIngredientComponent |
setSubstance(Reference value) |
Substance.SubstanceIngredientComponent |
setSubstanceTarget(Substance value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Ratio quantity
protected Substance substanceTarget
public SubstanceIngredientComponent()
public SubstanceIngredientComponent(Reference substance)
public Ratio getQuantity()
quantity (The amount of the ingredient in the substance - a concentration ratio.)public boolean hasQuantity()
public Substance.SubstanceIngredientComponent setQuantity(Ratio value)
value - quantity (The amount of the ingredient in the substance - a concentration ratio.)public Reference getSubstance()
substance (Another substance that is a component of this substance.)public boolean hasSubstance()
public Substance.SubstanceIngredientComponent setSubstance(Reference value)
value - substance (Another substance that is a component of this substance.)public Substance getSubstanceTarget()
substance The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Another substance that is a component of this substance.)public Substance.SubstanceIngredientComponent setSubstanceTarget(Substance value)
value - substance The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Another substance that is a component of this substance.)protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Substance.SubstanceIngredientComponent copy()
copy in class BackboneElementpublic 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 class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.