Class MedicationKnowledge_IngredientBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.MedicationKnowledge_IngredientBuilder.Impl
-
- All Implemented Interfaces:
MedicationKnowledge_IngredientBuilder
- Enclosing interface:
- MedicationKnowledge_IngredientBuilder
public static class MedicationKnowledge_IngredientBuilder.Impl extends java.lang.Object implements MedicationKnowledge_IngredientBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.MedicationKnowledge_IngredientBuilder
MedicationKnowledge_IngredientBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference item)Required fields forMedicationKnowledge.Ingredient
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.MedicationKnowledge.Ingredientbuild()MedicationKnowledge_IngredientBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)MedicationKnowledge_IngredientBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MedicationKnowledge_IngredientBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MedicationKnowledge_IngredientBuilder.ImplwithId(@NonNull java.lang.String id)MedicationKnowledge_IngredientBuilder.ImplwithIsActive(@NonNull java.lang.Boolean isActive)MedicationKnowledge_IngredientBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)MedicationKnowledge_IngredientBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)MedicationKnowledge_IngredientBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)MedicationKnowledge_IngredientBuilder.ImplwithStrength(@NonNull com.babylonhealth.lit.core_java.builders.RatioBuilder strength)MedicationKnowledge_IngredientBuilder.ImplwithStrength(@NonNull com.babylonhealth.lit.core.model.Ratio strength)
-
-
-
Constructor Detail
-
Impl
public Impl(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference item)Required fields forMedicationKnowledge.Ingredient- Parameters:
item- Field is a 'choice' field. Type should be one of CodeableConcept, Reference. To pass the value in, wrap with one of the MedicationKnowledge_IngredientBuilder.item static methods
-
-
Method Detail
-
withId
public MedicationKnowledge_IngredientBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
-
withIsActive
public MedicationKnowledge_IngredientBuilder.Impl withIsActive(@NonNull @NonNull java.lang.Boolean isActive)
- Parameters:
isActive-
-
withStrength
public MedicationKnowledge_IngredientBuilder.Impl withStrength(@NonNull @NonNull com.babylonhealth.lit.core.model.Ratio strength)
- Parameters:
strength-
-
withStrength
public MedicationKnowledge_IngredientBuilder.Impl withStrength(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.RatioBuilder strength)
-
withExtension
public MedicationKnowledge_IngredientBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public MedicationKnowledge_IngredientBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public MedicationKnowledge_IngredientBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withModifierExtension
public MedicationKnowledge_IngredientBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
-
withModifierExtension
public MedicationKnowledge_IngredientBuilder.Impl withModifierExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
-
withModifierExtension
public MedicationKnowledge_IngredientBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.MedicationKnowledge.Ingredient build()
- Specified by:
buildin interfaceMedicationKnowledge_IngredientBuilder
-
-