Class ElementDefinition_ExampleBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.ElementDefinition_ExampleBuilder.Impl
-
- All Implemented Interfaces:
ElementDefinition_ExampleBuilder
- Enclosing interface:
- ElementDefinition_ExampleBuilder
public static class ElementDefinition_ExampleBuilder.Impl extends java.lang.Object implements ElementDefinition_ExampleBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.ElementDefinition_ExampleBuilder
ElementDefinition_ExampleBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.String label, @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceAll value)Required fields forElementDefinition.Example
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.ElementDefinition.Examplebuild()ElementDefinition_ExampleBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)ElementDefinition_ExampleBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ElementDefinition_ExampleBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ElementDefinition_ExampleBuilder.ImplwithId(@NonNull java.lang.String id)
-
-
-
Constructor Detail
-
Impl
public Impl(java.lang.String label, @NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceAll value)Required fields forElementDefinition.Example- Parameters:
label- - A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.value- Field is a 'choice' field. Type should be one of Address, Age, Annotation, Attachment, byte[], BigDecimal, Boolean, String, CodeableConcept, Coding, ContactDetail, ContactPoint, Contributor, Count, DataRequirement, Distance, Dosage, Duration, Expression, FHIRDate, FHIRDateTime, HumanName, Identifier, Integer, LocalTime, Meta, Money, ParameterDefinition, Period, Quantity, Range, Ratio, Reference, RelatedArtifact, SampledData, Signature, Timing, TriggerDefinition, UUID, UsageContext, ZonedDateTime. To pass the value in, wrap with one of the ElementDefinition_ExampleBuilder.value static methods
-
-
Method Detail
-
withId
public ElementDefinition_ExampleBuilder.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 ElementDefinition_ExampleBuilder.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 ElementDefinition_ExampleBuilder.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 ElementDefinition_ExampleBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.hl7.model.ElementDefinition.Example build()
- Specified by:
buildin interfaceElementDefinition_ExampleBuilder
-
-