Class TimingBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.TimingBuilder.Impl
-
- All Implemented Interfaces:
BackboneElementBuilder,ElementBuilder,TimingBuilder
- Enclosing interface:
- TimingBuilder
public static class TimingBuilder.Impl extends java.lang.Object implements TimingBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.TimingBuilder
TimingBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forTiming
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Timingbuild()TimingBuilder.ImplwithCode(@NonNull CodeableConceptBuilder code)TimingBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept code)TimingBuilder.ImplwithEvent(@NonNull com.babylonhealth.lit.core.FHIRDateTime... event)TimingBuilder.ImplwithEvent(@NonNull java.util.Collection<com.babylonhealth.lit.core.FHIRDateTime> event)TimingBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)TimingBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)TimingBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)TimingBuilder.ImplwithId(@NonNull java.lang.String id)TimingBuilder.ImplwithModifierExtension(@NonNull ExtensionBuilder... modifierExtension)TimingBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)TimingBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)TimingBuilder.ImplwithRepeat(@NonNull Timing_RepeatBuilder repeat)TimingBuilder.ImplwithRepeat(com.babylonhealth.lit.core.model.Timing.Repeat repeat)
-
-
-
Method Detail
-
withId
public TimingBuilder.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.
-
withCode
public TimingBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept code)
- Parameters:
code- - A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).
-
withCode
public TimingBuilder.Impl withCode(@NonNull @NonNull CodeableConceptBuilder code)
-
withEvent
public TimingBuilder.Impl withEvent(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime... event)
- Parameters:
event- - Identifies specific times when the event occurs.
-
withEvent
public TimingBuilder.Impl withEvent(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.FHIRDateTime> event)
- Parameters:
event- - Identifies specific times when the event occurs.
-
withExtension
public TimingBuilder.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 TimingBuilder.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 TimingBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
withModifierExtension
public TimingBuilder.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 element and that modifies the understanding of the element in which it is contained 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 can 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 TimingBuilder.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 element and that modifies the understanding of the element in which it is contained 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 can 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 TimingBuilder.Impl withModifierExtension(@NonNull @NonNull ExtensionBuilder... modifierExtension)
-
withRepeat
public TimingBuilder.Impl withRepeat(@NonNull com.babylonhealth.lit.core.model.Timing.Repeat repeat)
- Parameters:
repeat- - A set of rules that describe when the event is scheduled.
-
withRepeat
public TimingBuilder.Impl withRepeat(@NonNull @NonNull Timing_RepeatBuilder repeat)
-
build
public com.babylonhealth.lit.core.model.Timing build()
- Specified by:
buildin interfaceBackboneElementBuilder- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceTimingBuilder
-
-