Class NutritionOrder.Supplement

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
    Enclosing class:
    NutritionOrder

    public static class NutritionOrder.Supplement
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: NutritionOrder.supplement ()

    Definition: Oral nutritional products given in order to add further nutritional value to the patient's diet.

    See Also:
    Serialized Form
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
      • getType

        public CodeableConceptDt getType()
        Gets the value(s) for type (). creating it if it does not exist. Will not return null.

        Definition: The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement

      • getProductNameElement

        public ca.uhn.fhir.model.primitive.StringDt getProductNameElement()
        Gets the value(s) for productName (). creating it if it does not exist. Will not return null.

        Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".

      • getProductName

        public String getProductName()
        Gets the value(s) for productName (). creating it if it does not exist. This method may return null.

        Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".

      • setProductName

        public NutritionOrder.Supplement setProductName​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for productName ()

        Definition: The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".

      • getSchedule

        public List<TimingDtgetSchedule()
        Gets the value(s) for schedule (). creating it if it does not exist. Will not return null.

        Definition: The time period and frequency at which the supplement(s) should be given

      • addSchedule

        public TimingDt addSchedule()
        Adds and returns a new value for schedule ()

        Definition: The time period and frequency at which the supplement(s) should be given

      • addSchedule

        public NutritionOrder.Supplement addSchedule​(TimingDt theValue)
        Adds a given new value for schedule ()

        Definition: The time period and frequency at which the supplement(s) should be given

        Parameters:
        theValue - The schedule to add (must not be null)
      • getScheduleFirstRep

        public TimingDt getScheduleFirstRep()
        Gets the first repetition for schedule (), creating it if it does not already exist.

        Definition: The time period and frequency at which the supplement(s) should be given

      • getQuantity

        public SimpleQuantityDt getQuantity()
        Gets the value(s) for quantity (). creating it if it does not exist. Will not return null.

        Definition: The amount of the nutritional supplement to be given

      • getInstructionElement

        public ca.uhn.fhir.model.primitive.StringDt getInstructionElement()
        Gets the value(s) for instruction (). creating it if it does not exist. Will not return null.

        Definition: Free text or additional instructions or information pertaining to the oral supplement.

      • getInstruction

        public String getInstruction()
        Gets the value(s) for instruction (). creating it if it does not exist. This method may return null.

        Definition: Free text or additional instructions or information pertaining to the oral supplement.

      • setInstruction

        public NutritionOrder.Supplement setInstruction​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for instruction ()

        Definition: Free text or additional instructions or information pertaining to the oral supplement.