Class RiskAssessment_PredictionBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.RiskAssessment_PredictionBuilder.Impl
-
- All Implemented Interfaces:
RiskAssessment_PredictionBuilder
- Enclosing interface:
- RiskAssessment_PredictionBuilder
public static class RiskAssessment_PredictionBuilder.Impl extends java.lang.Object implements RiskAssessment_PredictionBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.RiskAssessment_PredictionBuilder
RiskAssessment_PredictionBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forRiskAssessment.Prediction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.RiskAssessment.Predictionbuild()RiskAssessment_PredictionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)RiskAssessment_PredictionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)RiskAssessment_PredictionBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)RiskAssessment_PredictionBuilder.ImplwithId(@NonNull java.lang.String id)RiskAssessment_PredictionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)RiskAssessment_PredictionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)RiskAssessment_PredictionBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)RiskAssessment_PredictionBuilder.ImplwithOutcome(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder outcome)RiskAssessment_PredictionBuilder.ImplwithOutcome(@NonNull com.babylonhealth.lit.core.model.CodeableConcept outcome)RiskAssessment_PredictionBuilder.ImplwithProbability(@NonNull Unions.ChoiceDecimalOrRange probability)RiskAssessment_PredictionBuilder.ImplwithQualitativeRisk(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder qualitativeRisk)RiskAssessment_PredictionBuilder.ImplwithQualitativeRisk(@NonNull com.babylonhealth.lit.core.model.CodeableConcept qualitativeRisk)RiskAssessment_PredictionBuilder.ImplwithRationale(@NonNull java.lang.String rationale)RiskAssessment_PredictionBuilder.ImplwithRelativeRisk(@NonNull scala.math.BigDecimal relativeRisk)RiskAssessment_PredictionBuilder.ImplwithWhen(@NonNull Unions.ChoicePeriodOrRange when)
-
-
-
Method Detail
-
withId
public RiskAssessment_PredictionBuilder.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.
-
withOutcome
public RiskAssessment_PredictionBuilder.Impl withOutcome(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept outcome)
- Parameters:
outcome-
-
withOutcome
public RiskAssessment_PredictionBuilder.Impl withOutcome(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder outcome)
-
withWhen
public RiskAssessment_PredictionBuilder.Impl withWhen(@NonNull @NonNull Unions.ChoicePeriodOrRange when)
- Parameters:
when- Field is a 'choice' field. Type should be one of Period, Range. To pass the value in, wrap with one of the RiskAssessment_PredictionBuilder.when static methods
-
withExtension
public RiskAssessment_PredictionBuilder.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 RiskAssessment_PredictionBuilder.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 RiskAssessment_PredictionBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withRationale
public RiskAssessment_PredictionBuilder.Impl withRationale(@NonNull @NonNull java.lang.String rationale)
- Parameters:
rationale-
-
withRelativeRisk
public RiskAssessment_PredictionBuilder.Impl withRelativeRisk(@NonNull @NonNull scala.math.BigDecimal relativeRisk)
- Parameters:
relativeRisk-
-
withProbability
public RiskAssessment_PredictionBuilder.Impl withProbability(@NonNull @NonNull Unions.ChoiceDecimalOrRange probability)
- Parameters:
probability- Field is a 'choice' field. Type should be one of BigDecimal, Range. To pass the value in, wrap with one of the RiskAssessment_PredictionBuilder.probability static methods
-
withQualitativeRisk
public RiskAssessment_PredictionBuilder.Impl withQualitativeRisk(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept qualitativeRisk)
- Parameters:
qualitativeRisk-
-
withQualitativeRisk
public RiskAssessment_PredictionBuilder.Impl withQualitativeRisk(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder qualitativeRisk)
-
withModifierExtension
public RiskAssessment_PredictionBuilder.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 RiskAssessment_PredictionBuilder.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 RiskAssessment_PredictionBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.RiskAssessment.Prediction build()
- Specified by:
buildin interfaceRiskAssessment_PredictionBuilder
-
-