public static class NutritionOrder.NutritionOrderSupplementComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
instruction
Free text or additional instructions or information pertaining to the oral supplement.
|
protected StringType |
productName
The product or brand name of the nutritional supplement such as "Acme Protein Shake".
|
protected SimpleQuantity |
quantity
The amount of the nutritional supplement to be given.
|
protected List<Timing> |
schedule
The time period and frequency at which the supplement(s) should be given.
|
protected CodeableConcept |
type
The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.
|
modifierExtension| Constructor and Description |
|---|
NutritionOrderSupplementComponent()
Constructor
|
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, 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, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected CodeableConcept type
protected StringType productName
protected List<Timing> schedule
protected SimpleQuantity quantity
protected StringType instruction
public NutritionOrderSupplementComponent()
public CodeableConcept getType()
type (The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.)public boolean hasType()
public NutritionOrder.NutritionOrderSupplementComponent setType(CodeableConcept value)
value - type (The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.)public StringType getProductNameElement()
productName (The product or brand name of the nutritional supplement such as "Acme Protein Shake".). This is the underlying object with id, value and extensions. The accessor "getProductName" gives direct access to the valuepublic boolean hasProductNameElement()
public boolean hasProductName()
public NutritionOrder.NutritionOrderSupplementComponent setProductNameElement(StringType value)
value - productName (The product or brand name of the nutritional supplement such as "Acme Protein Shake".). This is the underlying object with id, value and extensions. The accessor "getProductName" gives direct access to the valuepublic String getProductName()
public NutritionOrder.NutritionOrderSupplementComponent setProductName(String value)
value - The product or brand name of the nutritional supplement such as "Acme Protein Shake".public List<Timing> getSchedule()
schedule (The time period and frequency at which the supplement(s) should be given. The supplement should be given for the combination of all schedules if more than one schedule is present.)public NutritionOrder.NutritionOrderSupplementComponent setSchedule(List<Timing> theSchedule)
this for easy method chainingpublic boolean hasSchedule()
public Timing addSchedule()
public NutritionOrder.NutritionOrderSupplementComponent addSchedule(Timing t)
public Timing getScheduleFirstRep()
schedule, creating it if it does not already existpublic SimpleQuantity getQuantity()
quantity (The amount of the nutritional supplement to be given.)public boolean hasQuantity()
public NutritionOrder.NutritionOrderSupplementComponent setQuantity(SimpleQuantity value)
value - quantity (The amount of the nutritional supplement to be given.)public StringType getInstructionElement()
instruction (Free text or additional instructions or information pertaining to the oral supplement.). This is the underlying object with id, value and extensions. The accessor "getInstruction" gives direct access to the valuepublic boolean hasInstructionElement()
public boolean hasInstruction()
public NutritionOrder.NutritionOrderSupplementComponent setInstructionElement(StringType value)
value - instruction (Free text or additional instructions or information pertaining to the oral supplement.). This is the underlying object with id, value and extensions. The accessor "getInstruction" gives direct access to the valuepublic String getInstruction()
public NutritionOrder.NutritionOrderSupplementComponent setInstruction(String value)
value - Free text or additional instructions or information pertaining to the oral supplement.protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic NutritionOrder.NutritionOrderSupplementComponent 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 IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.