com.babylonhealth.lit.usbase_java.builders.Servicerequest_questionnaireRequestBuilder Maven / Gradle / Ivy
package com.babylonhealth.lit.usbase_java.builders;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;
import java.util.stream.Collectors;
import scala.math.BigDecimal;
import scala.Option;
import scala.collection.immutable.Seq;
import scala.jdk.javaapi.CollectionConverters;
import scala.jdk.javaapi.OptionConverters;
import lombok.NonNull;
import com.babylonhealth.lit.core.FHIRComponentFieldMeta;
import com.babylonhealth.lit.core.FHIRDateTime;
import com.babylonhealth.lit.core.FHIRDate;
import com.babylonhealth.lit.core.LitSeqJCollector;
import com.babylonhealth.lit.core.LitSeq;
import com.babylonhealth.lit.core.LitSeq$;
import com.babylonhealth.lit.core.NonEmptyLitSeqJCollector;
import com.babylonhealth.lit.core.Choice;
import com.babylonhealth.lit.core.Choice$;
import com.babylonhealth.lit.core.model.*;
import com.babylonhealth.lit.hl7.model.*;
import com.babylonhealth.lit.usbase.model.*;
import com.babylonhealth.lit.core_java.builders.*;
import com.babylonhealth.lit.hl7_java.builders.*;
import com.babylonhealth.lit.usbase_java.builders.*;
import com.babylonhealth.lit.core_java.model.Unions.*;
import com.babylonhealth.lit.hl7_java.model.Unions.*;
import com.babylonhealth.lit.usbase_java.model.Unions.*;
import com.babylonhealth.lit.core.$bslash$div;
import com.babylonhealth.lit.core_java.LitUtils;
import static com.babylonhealth.lit.core_java.LitUtils.autoSuffix;
import static com.babylonhealth.lit.core_java.LitUtils.guard;
import static java.util.stream.Collectors.toList;
public interface Servicerequest_questionnaireRequestBuilder extends ExtensionBuilder {
public Servicerequest_questionnaireRequest build();
public static Impl init(Reference value) {
return new Impl(value);
}
public static Impl builder(ReferenceBuilder value) {
return new Impl(value.build());
}
public class Impl implements Servicerequest_questionnaireRequestBuilder {
private Optional id = Optional.empty();
private Reference value;
/**
* Required fields for {@link Servicerequest_questionnaireRequest}
*
* @param value - Value of extension - must be one of a constrained set of the data types (see
* [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).
*/
public Impl(Reference value) {
this.value = value;
}
/**
* @param id - Unique id for the element within a resource (for internal references). This may
* be any string value that does not contain spaces.
*/
public Servicerequest_questionnaireRequestBuilder.Impl withId(@NonNull String id) {
this.id = Optional.of(id);
return this;
}
public Servicerequest_questionnaireRequest build() {
return new Servicerequest_questionnaireRequest(
OptionConverters.toScala(id), value, LitUtils.emptyMetaElMap());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy