
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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic enumstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier 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.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXTFields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_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.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier 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.DomainResource
addContained, 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.Resource
copyValues, 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.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
code
The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code. -
status
The current state of the product. -
category
Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc. -
manufacturer
The organisation (manufacturer, representative or legal authorization holder) that is responsible for the device. -
nutrient
The product's nutritional information expressed by the nutrients. -
ingredient
Ingredients contained in this product. -
knownAllergen
Allergens that are known or suspected to be a part of this nutrition product. -
characteristic
Specifies descriptive properties of the nutrition product. -
instance
Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product. -
note
Comments made about the product. -
SP_CODE
Search parameter: codeDescription: The code identifying a specific nutrition product
Type: token
Path: NutritionProduct.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: The code identifying a specific nutrition product
Type: token
Path: NutritionProduct.code
-
SP_IDENTIFIER
Search parameter: identifierDescription: The identifier for the physical instance, typically a serial number
Type: token
Path: NutritionProduct.instance.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identifier for the physical instance, typically a serial number
Type: token
Path: NutritionProduct.instance.identifier
-
SP_LOT_NUMBER
Search parameter: lot-numberDescription: The lot number
Type: token
Path: NutritionProduct.instance.lotNumber
- See Also:
-
LOT_NUMBER
Fluent Client search parameter constant for lot-numberDescription: The lot number
Type: token
Path: NutritionProduct.instance.lotNumber
-
SP_SERIAL_NUMBER
Search parameter: serial-numberDescription: The serial number
Type: token
Path: NutritionProduct.instance.identifier
- See Also:
-
SERIAL_NUMBER
Fluent Client search parameter constant for serial-numberDescription: The serial number
Type: token
Path: NutritionProduct.instance.identifier
-
SP_STATUS
Search parameter: statusDescription: The broad product group or category of the nutrition product
Type: token
Path: NutritionProduct.category
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The broad product group or category of the nutrition product
Type: token
Path: NutritionProduct.category
-
-
Constructor Details
-
NutritionProduct
public NutritionProduct()Constructor -
NutritionProduct
Constructor
-
-
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
-
setStatusElement
public 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.)
-
setNutrient
public 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.)
-
setIngredient
public 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.)
-
setCharacteristic
public 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.)
-
setInstance
public 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 classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-