
Class NutritionProduct
- All Implemented Interfaces:
- ca.uhn.fhir.model.api.IElement,- Serializable,- org.hl7.fhir.instance.model.api.IAnyResource,- org.hl7.fhir.instance.model.api.IBase,- org.hl7.fhir.instance.model.api.IBaseHasExtensions,- org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,- org.hl7.fhir.instance.model.api.IBaseResource,- org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic enumstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.BaseBase.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected List<CodeableConcept> Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc.Specifies descriptive properties of the nutrition product.protected CodeableConceptThe code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierIngredients contained in this product.Conveys instance-level information about this product item.protected List<CodeableReference> Allergens that are known or suspected to be a part of this nutrition product.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for lot-numberThe organisation (manufacturer, representative or legal authorization holder) that is responsible for the device.protected List<Annotation> Comments made about the product.The product's nutritional information expressed by the nutrients.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for serial-numberstatic final StringSearch parameter: codestatic final StringSearch parameter: identifierstatic final StringSearch parameter: lot-numberstatic final StringSearch parameter: serial-numberstatic final StringSearch parameter: statusThe current state of the product.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusFields inherited from class org.hl7.fhir.r5.model.DomainResourcecontained, extension, modifierExtension, SP_TEXT, text, TEXTFields inherited from class org.hl7.fhir.r5.model.Resourceid, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResourceRES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResourceINCLUDE_ALL, WILDCARD_ALL_SET
- 
Constructor SummaryConstructorsConstructorDescriptionConstructorConstructor
- 
Method SummaryModifier and TypeMethodDescriptionaddNote()copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getCode()getNamedProperty(int _hash, String _name, boolean _checkValid) getNote()Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasCode()booleanbooleanbooleanbooleanbooleanhasNote()booleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setCategory(List<CodeableConcept> theCategory) setCharacteristic(List<NutritionProduct.NutritionProductCharacteristicComponent> theCharacteristic) setCode(CodeableConcept value) setIngredient(List<NutritionProduct.NutritionProductIngredientComponent> theIngredient) setKnownAllergen(List<CodeableReference> theKnownAllergen) setManufacturer(List<Reference> theManufacturer) setNote(List<Annotation> theNote) setProperty(int hash, String name, Base value) setProperty(String name, Base value) protected NutritionProductMethods inherited from class org.hl7.fhir.r5.model.DomainResourceaddContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setTextMethods inherited from class org.hl7.fhir.r5.model.ResourcecopyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPathMethods inherited from class org.hl7.fhir.r5.model.BaseResourcegetStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r5.model.BaseaddDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResourcegetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBasegetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResourcegetMeta, getStructureFhirVersionEnum, isDeleted, setId
- 
Field Details- 
codeThe code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.
- 
statusThe current state of the product.
- 
categoryNutrition products can have different classifications - according to its nutritional properties, preparation methods, etc.
- 
manufacturerThe organisation (manufacturer, representative or legal authorization holder) that is responsible for the device.
- 
nutrientThe product's nutritional information expressed by the nutrients.
- 
ingredientIngredients contained in this product.
- 
knownAllergenAllergens that are known or suspected to be a part of this nutrition product.
- 
characteristicSpecifies descriptive properties of the nutrition product.
- 
instanceConveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.
- 
noteComments made about the product.
- 
SP_CODESearch parameter: codeDescription: The code identifying a specific nutrition product 
 Type: token
 Path: NutritionProduct.code
 - See Also:
 
- 
CODEFluent Client search parameter constant for codeDescription: The code identifying a specific nutrition product 
 Type: token
 Path: NutritionProduct.code
 
- 
SP_IDENTIFIERSearch parameter: identifierDescription: The identifier for the physical instance, typically a serial number 
 Type: token
 Path: NutritionProduct.instance.identifier
 - See Also:
 
- 
IDENTIFIERFluent Client search parameter constant for identifierDescription: The identifier for the physical instance, typically a serial number 
 Type: token
 Path: NutritionProduct.instance.identifier
 
- 
SP_LOT_NUMBERSearch parameter: lot-numberDescription: The lot number 
 Type: token
 Path: NutritionProduct.instance.lotNumber
 - See Also:
 
- 
LOT_NUMBERFluent Client search parameter constant for lot-numberDescription: The lot number 
 Type: token
 Path: NutritionProduct.instance.lotNumber
 
- 
SP_SERIAL_NUMBERSearch parameter: serial-numberDescription: The serial number 
 Type: token
 Path: NutritionProduct.instance.identifier
 - See Also:
 
- 
SERIAL_NUMBERFluent Client search parameter constant for serial-numberDescription: The serial number 
 Type: token
 Path: NutritionProduct.instance.identifier
 
- 
SP_STATUSSearch parameter: statusDescription: The broad product group or category of the nutrition product 
 Type: token
 Path: NutritionProduct.category
 - See Also:
 
- 
STATUSFluent Client search parameter constant for statusDescription: The broad product group or category of the nutrition product 
 Type: token
 Path: NutritionProduct.category
 
 
- 
- 
Constructor Details- 
NutritionProductpublic NutritionProduct()Constructor
- 
NutritionProductConstructor
 
- 
- 
Method Details- 
getCode- Returns:
- code(The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.)
 
- 
hasCode
- 
setCode- Parameters:
- value-- code(The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.)
 
- 
getStatusElement- Returns:
- status(The current state of the product.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
 
- 
hasStatusElement
- 
hasStatus
- 
setStatusElementpublic NutritionProduct setStatusElement(Enumeration<NutritionProduct.NutritionProductStatus> value) - Parameters:
- value-- status(The current state of the product.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
 
- 
getStatus- Returns:
- The current state of the product.
 
- 
setStatus- Parameters:
- value- The current state of the product.
 
- 
getCategory- Returns:
- category(Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc.)
 
- 
setCategory- Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasCategory
- 
addCategory
- 
addCategory
- 
getCategoryFirstRep- Returns:
- The first repetition of repeating field category, creating it if it does not already exist {3}
 
- 
getManufacturer- Returns:
- manufacturer(The organisation (manufacturer, representative or legal authorization holder) that is responsible for the device.)
 
- 
setManufacturer- Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasManufacturer
- 
addManufacturer
- 
addManufacturer
- 
getManufacturerFirstRep- Returns:
- The first repetition of repeating field manufacturer, creating it if it does not already exist {3}
 
- 
getNutrient- Returns:
- nutrient(The product's nutritional information expressed by the nutrients.)
 
- 
setNutrientpublic NutritionProduct setNutrient(List<NutritionProduct.NutritionProductNutrientComponent> theNutrient) - Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasNutrient
- 
addNutrient
- 
addNutrient
- 
getNutrientFirstRep- Returns:
- The first repetition of repeating field nutrient, creating it if it does not already exist {3}
 
- 
getIngredient- Returns:
- ingredient(Ingredients contained in this product.)
 
- 
setIngredientpublic NutritionProduct setIngredient(List<NutritionProduct.NutritionProductIngredientComponent> theIngredient) - Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasIngredient
- 
addIngredient
- 
addIngredient
- 
getIngredientFirstRep- Returns:
- The first repetition of repeating field ingredient, creating it if it does not already exist {3}
 
- 
getKnownAllergen- Returns:
- knownAllergen(Allergens that are known or suspected to be a part of this nutrition product.)
 
- 
setKnownAllergen- Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasKnownAllergen
- 
addKnownAllergen
- 
addKnownAllergen
- 
getKnownAllergenFirstRep- Returns:
- The first repetition of repeating field knownAllergen, creating it if it does not already exist {3}
 
- 
getCharacteristic- Returns:
- characteristic(Specifies descriptive properties of the nutrition product.)
 
- 
setCharacteristicpublic NutritionProduct setCharacteristic(List<NutritionProduct.NutritionProductCharacteristicComponent> theCharacteristic) - Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasCharacteristic
- 
addCharacteristic
- 
addCharacteristic
- 
getCharacteristicFirstRep- Returns:
- The first repetition of repeating field characteristic, creating it if it does not already exist {3}
 
- 
getInstance- Returns:
- instance(Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.)
 
- 
setInstancepublic NutritionProduct setInstance(List<NutritionProduct.NutritionProductInstanceComponent> theInstance) - Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasInstance
- 
addInstance
- 
addInstance
- 
getInstanceFirstRep- Returns:
- The first repetition of repeating field instance, creating it if it does not already exist {3}
 
- 
getNote- Returns:
- note(Comments made about the product.)
 
- 
setNote- Returns:
- Returns a reference to thisfor easy method chaining
 
- 
hasNote
- 
addNote
- 
addNote
- 
getNoteFirstRep- Returns:
- The first repetition of repeating field note, creating it if it does not already exist {3}
 
- 
listChildren- Overrides:
- listChildrenin class- DomainResource
 
- 
getNamedPropertypublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getNamedPropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getPropertypublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getPropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setPropertypublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- setPropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
setProperty- Overrides:
- setPropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
removeChild- Overrides:
- removeChildin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
makeProperty- Overrides:
- makePropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
getTypesForPropertypublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
- getTypesForPropertyin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
addChild- Overrides:
- addChildin class- DomainResource
- Throws:
- org.hl7.fhir.exceptions.FHIRException
 
- 
fhirType- Specified by:
- fhirTypein interface- org.hl7.fhir.instance.model.api.IBase
- Overrides:
- fhirTypein class- DomainResource
- Returns:
- the FHIR type name of the instance (not the java class name)
 
- 
copy- Specified by:
- copyin class- DomainResource
 
- 
copyValues
- 
typedCopy
- 
equalsDeep- Overrides:
- equalsDeepin class- DomainResource
 
- 
equalsShallow- Overrides:
- equalsShallowin class- DomainResource
 
- 
isEmpty- Specified by:
- isEmptyin interface- org.hl7.fhir.instance.model.api.IBase
- Overrides:
- isEmptyin class- DomainResource
 
- 
getResourceType- Specified by:
- getResourceTypein class- Resource
 
 
-