Class SubstanceSpecification_RelationshipBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_RelationshipBuilder.Impl
-
- All Implemented Interfaces:
SubstanceSpecification_RelationshipBuilder
- Enclosing interface:
- SubstanceSpecification_RelationshipBuilder
public static class SubstanceSpecification_RelationshipBuilder.Impl extends java.lang.Object implements SubstanceSpecification_RelationshipBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_RelationshipBuilder
SubstanceSpecification_RelationshipBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forSubstanceSpecification.Relationship
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.SubstanceSpecification.Relationshipbuild()SubstanceSpecification_RelationshipBuilder.ImplwithAmount(@NonNull Unions.Choice00133982841 amount)SubstanceSpecification_RelationshipBuilder.ImplwithAmountRatioLowLimit(@NonNull com.babylonhealth.lit.core_java.builders.RatioBuilder amountRatioLowLimit)SubstanceSpecification_RelationshipBuilder.ImplwithAmountRatioLowLimit(@NonNull com.babylonhealth.lit.core.model.Ratio amountRatioLowLimit)SubstanceSpecification_RelationshipBuilder.ImplwithAmountType(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder amountType)SubstanceSpecification_RelationshipBuilder.ImplwithAmountType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept amountType)SubstanceSpecification_RelationshipBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)SubstanceSpecification_RelationshipBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)SubstanceSpecification_RelationshipBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)SubstanceSpecification_RelationshipBuilder.ImplwithId(@NonNull java.lang.String id)SubstanceSpecification_RelationshipBuilder.ImplwithIsDefining(@NonNull java.lang.Boolean isDefining)SubstanceSpecification_RelationshipBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)SubstanceSpecification_RelationshipBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)SubstanceSpecification_RelationshipBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)SubstanceSpecification_RelationshipBuilder.ImplwithRelationship(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder relationship)SubstanceSpecification_RelationshipBuilder.ImplwithRelationship(@NonNull com.babylonhealth.lit.core.model.CodeableConcept relationship)SubstanceSpecification_RelationshipBuilder.ImplwithSource(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... source)SubstanceSpecification_RelationshipBuilder.ImplwithSource(@NonNull com.babylonhealth.lit.core.model.Reference... source)SubstanceSpecification_RelationshipBuilder.ImplwithSource(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> source)SubstanceSpecification_RelationshipBuilder.ImplwithSubstance(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference substance)
-
-
-
Method Detail
-
withId
public SubstanceSpecification_RelationshipBuilder.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.
-
withSource
public SubstanceSpecification_RelationshipBuilder.Impl withSource(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... source)
- Parameters:
source- - Supporting literature.
-
withSource
public SubstanceSpecification_RelationshipBuilder.Impl withSource(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> source)
- Parameters:
source- - Supporting literature.
-
withSource
public SubstanceSpecification_RelationshipBuilder.Impl withSource(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... source)
-
withExtension
public SubstanceSpecification_RelationshipBuilder.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_RelationshipBuilder.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_RelationshipBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withAmount
public SubstanceSpecification_RelationshipBuilder.Impl withAmount(@NonNull @NonNull Unions.Choice00133982841 amount)
- Parameters:
amount- Field is a 'choice' field. Type should be one of Quantity, Range, Ratio, String. To pass the value in, wrap with one of the SubstanceSpecification_RelationshipBuilder.amount static methods
-
withIsDefining
public SubstanceSpecification_RelationshipBuilder.Impl withIsDefining(@NonNull @NonNull java.lang.Boolean isDefining)
- Parameters:
isDefining-
-
withAmountType
public SubstanceSpecification_RelationshipBuilder.Impl withAmountType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept amountType)
- Parameters:
amountType-
-
withAmountType
public SubstanceSpecification_RelationshipBuilder.Impl withAmountType(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder amountType)
-
withSubstance
public SubstanceSpecification_RelationshipBuilder.Impl withSubstance(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference substance)
- Parameters:
substance- Field is a 'choice' field. Type should be one of CodeableConcept, Reference. To pass the value in, wrap with one of the SubstanceSpecification_RelationshipBuilder.substance static methods
-
withRelationship
public SubstanceSpecification_RelationshipBuilder.Impl withRelationship(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept relationship)
- Parameters:
relationship- - A link between this substance and another, with details of the relationship.
-
withRelationship
public SubstanceSpecification_RelationshipBuilder.Impl withRelationship(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder relationship)
-
withModifierExtension
public SubstanceSpecification_RelationshipBuilder.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_RelationshipBuilder.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_RelationshipBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withAmountRatioLowLimit
public SubstanceSpecification_RelationshipBuilder.Impl withAmountRatioLowLimit(@NonNull @NonNull com.babylonhealth.lit.core.model.Ratio amountRatioLowLimit)
- Parameters:
amountRatioLowLimit-
-
withAmountRatioLowLimit
public SubstanceSpecification_RelationshipBuilder.Impl withAmountRatioLowLimit(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.RatioBuilder amountRatioLowLimit)
-
build
public com.babylonhealth.lit.hl7.model.SubstanceSpecification.Relationship build()
- Specified by:
buildin interfaceSubstanceSpecification_RelationshipBuilder
-
-