Class UsageContextBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.UsageContextBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,UsageContextBuilder
- Enclosing interface:
- UsageContextBuilder
public static class UsageContextBuilder.Impl extends java.lang.Object implements UsageContextBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.UsageContextBuilder
UsageContextBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.core.model.Coding code, @NonNull Unions.Choice_1548929031 value)Required fields forUsageContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.UsageContextbuild()UsageContextBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)UsageContextBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)UsageContextBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)UsageContextBuilder.ImplwithId(@NonNull java.lang.String id)
-
-
-
Constructor Detail
-
Impl
public Impl(com.babylonhealth.lit.core.model.Coding code, @NonNull @NonNull Unions.Choice_1548929031 value)Required fields forUsageContext- Parameters:
code- - A code that identifies the type of context being specified by this usage context.value- - A value that defines the context specified in this context of use. The interpretation of the value is defined by the code. Field is a 'choice' field. Type should be one of CodeableConcept, Quantity, Range, Reference. To pass the value in, wrap with one of the UsageContextBuilder.value static methods
-
-
Method Detail
-
withId
public UsageContextBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withExtension
public UsageContextBuilder.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 element. 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 UsageContextBuilder.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 element. 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 UsageContextBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.UsageContext build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceUsageContextBuilder
-
-