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 Type |
substance
Another substance that is a component of this substance.
|
modifierExtension| Constructor and Description |
|---|
SubstanceIngredientComponent()
Constructor
|
SubstanceIngredientComponent(Type 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() |
Type |
getSubstance() |
CodeableConcept |
getSubstanceCodeableConcept() |
Reference |
getSubstanceReference() |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasQuantity() |
boolean |
hasSubstance() |
boolean |
hasSubstanceCodeableConcept() |
boolean |
hasSubstanceReference() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
Substance.SubstanceIngredientComponent |
setQuantity(Ratio value) |
Substance.SubstanceIngredientComponent |
setSubstance(Type value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Ratio quantity
public SubstanceIngredientComponent()
public SubstanceIngredientComponent(Type 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 Type getSubstance()
substance (Another substance that is a component of this substance.)public CodeableConcept getSubstanceCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
substance (Another substance that is a component of this substance.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubstanceCodeableConcept()
public Reference getSubstanceReference() throws org.hl7.fhir.exceptions.FHIRException
substance (Another substance that is a component of this substance.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSubstanceReference()
public boolean hasSubstance()
public Substance.SubstanceIngredientComponent setSubstance(Type value)
value - substance (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 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 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.