Class SubstanceSpecification_MoietyBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_MoietyBuilder.Impl
-
- All Implemented Interfaces:
SubstanceSpecification_MoietyBuilder
- Enclosing interface:
- SubstanceSpecification_MoietyBuilder
public static class SubstanceSpecification_MoietyBuilder.Impl extends java.lang.Object implements SubstanceSpecification_MoietyBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_MoietyBuilder
SubstanceSpecification_MoietyBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forSubstanceSpecification.Moiety
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.SubstanceSpecification.Moietybuild()SubstanceSpecification_MoietyBuilder.ImplwithAmount(@NonNull Unions.ChoiceQuantityOrString amount)SubstanceSpecification_MoietyBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)SubstanceSpecification_MoietyBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)SubstanceSpecification_MoietyBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)SubstanceSpecification_MoietyBuilder.ImplwithId(@NonNull java.lang.String id)SubstanceSpecification_MoietyBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder identifier)SubstanceSpecification_MoietyBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier identifier)SubstanceSpecification_MoietyBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)SubstanceSpecification_MoietyBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)SubstanceSpecification_MoietyBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)SubstanceSpecification_MoietyBuilder.ImplwithMolecularFormula(@NonNull java.lang.String molecularFormula)SubstanceSpecification_MoietyBuilder.ImplwithName(@NonNull java.lang.String name)SubstanceSpecification_MoietyBuilder.ImplwithOpticalActivity(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder opticalActivity)SubstanceSpecification_MoietyBuilder.ImplwithOpticalActivity(@NonNull com.babylonhealth.lit.core.model.CodeableConcept opticalActivity)SubstanceSpecification_MoietyBuilder.ImplwithRole(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder role)SubstanceSpecification_MoietyBuilder.ImplwithRole(@NonNull com.babylonhealth.lit.core.model.CodeableConcept role)SubstanceSpecification_MoietyBuilder.ImplwithStereochemistry(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder stereochemistry)SubstanceSpecification_MoietyBuilder.ImplwithStereochemistry(@NonNull com.babylonhealth.lit.core.model.CodeableConcept stereochemistry)
-
-
-
Method Detail
-
withId
public SubstanceSpecification_MoietyBuilder.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.
-
withRole
public SubstanceSpecification_MoietyBuilder.Impl withRole(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept role)
- Parameters:
role-
-
withRole
public SubstanceSpecification_MoietyBuilder.Impl withRole(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder role)
-
withName
public SubstanceSpecification_MoietyBuilder.Impl withName(@NonNull @NonNull java.lang.String name)
- Parameters:
name- - Names applicable to this substance.
-
withExtension
public SubstanceSpecification_MoietyBuilder.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 SubstanceSpecification_MoietyBuilder.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 SubstanceSpecification_MoietyBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withAmount
public SubstanceSpecification_MoietyBuilder.Impl withAmount(@NonNull @NonNull Unions.ChoiceQuantityOrString amount)
- Parameters:
amount- Field is a 'choice' field. Type should be one of Quantity, String. To pass the value in, wrap with one of the SubstanceSpecification_MoietyBuilder.amount static methods
-
withIdentifier
public SubstanceSpecification_MoietyBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier identifier)
- Parameters:
identifier- - Identifier by which this substance is known.
-
withIdentifier
public SubstanceSpecification_MoietyBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder identifier)
-
withStereochemistry
public SubstanceSpecification_MoietyBuilder.Impl withStereochemistry(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept stereochemistry)
- Parameters:
stereochemistry-
-
withStereochemistry
public SubstanceSpecification_MoietyBuilder.Impl withStereochemistry(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder stereochemistry)
-
withOpticalActivity
public SubstanceSpecification_MoietyBuilder.Impl withOpticalActivity(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept opticalActivity)
- Parameters:
opticalActivity-
-
withOpticalActivity
public SubstanceSpecification_MoietyBuilder.Impl withOpticalActivity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder opticalActivity)
-
withMolecularFormula
public SubstanceSpecification_MoietyBuilder.Impl withMolecularFormula(@NonNull @NonNull java.lang.String molecularFormula)
- Parameters:
molecularFormula-
-
withModifierExtension
public SubstanceSpecification_MoietyBuilder.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 SubstanceSpecification_MoietyBuilder.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 SubstanceSpecification_MoietyBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.SubstanceSpecification.Moiety build()
- Specified by:
buildin interfaceSubstanceSpecification_MoietyBuilder
-
-