Class Evidence.Statistic.AttributeEstimate.Builder
- java.lang.Object
 - 
- org.linuxforhealth.fhir.model.builder.AbstractBuilder<Element>
 - 
- org.linuxforhealth.fhir.model.type.Element.Builder
 - 
- org.linuxforhealth.fhir.model.type.BackboneElement.Builder
 - 
- org.linuxforhealth.fhir.model.resource.Evidence.Statistic.AttributeEstimate.Builder
 
 
 
 
 
- 
- Enclosing class:
 - Evidence.Statistic.AttributeEstimate
 
public static class Evidence.Statistic.AttributeEstimate.Builder extends BackboneElement.Builder
 
- 
- 
Field Summary
- 
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement.Builder
modifierExtension 
- 
Fields inherited from class org.linuxforhealth.fhir.model.type.Element.Builder
extension, id 
- 
Fields inherited from class org.linuxforhealth.fhir.model.builder.AbstractBuilder
validating 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Evidence.Statistic.AttributeEstimate.BuilderattributeEstimate(java.util.Collection<Evidence.Statistic.AttributeEstimate> attributeEstimate)A nested attribute estimate; which is the attribute estimate of an attribute estimate.Evidence.Statistic.AttributeEstimate.BuilderattributeEstimate(Evidence.Statistic.AttributeEstimate... attributeEstimate)A nested attribute estimate; which is the attribute estimate of an attribute estimate.Evidence.Statistic.AttributeEstimatebuild()Build theEvidence.Statistic.AttributeEstimateEvidence.Statistic.AttributeEstimate.Builderdescription(java.lang.String description)Convenience method for settingdescription.Evidence.Statistic.AttributeEstimate.Builderdescription(String description)Human-readable summary of the estimate.Evidence.Statistic.AttributeEstimate.Builderextension(java.util.Collection<Extension> extension)May be used to represent additional information that is not part of the basic definition of the element.Evidence.Statistic.AttributeEstimate.Builderextension(Extension... extension)May be used to represent additional information that is not part of the basic definition of the element.protected Evidence.Statistic.AttributeEstimate.Builderfrom(Evidence.Statistic.AttributeEstimate attributeEstimate)Evidence.Statistic.AttributeEstimate.Builderid(java.lang.String id)Unique id for the element within a resource (for internal references).Evidence.Statistic.AttributeEstimate.Builderlevel(Decimal level)Use 95 for a 95% confidence interval.Evidence.Statistic.AttributeEstimate.BuildermodifierExtension(java.util.Collection<Extension> 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.Evidence.Statistic.AttributeEstimate.BuildermodifierExtension(Extension... 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.Evidence.Statistic.AttributeEstimate.Buildernote(java.util.Collection<Annotation> note)Footnote or explanatory note about the estimate.Evidence.Statistic.AttributeEstimate.Buildernote(Annotation... note)Footnote or explanatory note about the estimate.Evidence.Statistic.AttributeEstimate.Builderquantity(Quantity quantity)The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.Evidence.Statistic.AttributeEstimate.Builderrange(Range range)Lower bound of confidence interval.Evidence.Statistic.AttributeEstimate.Buildertype(CodeableConcept type)The type of attribute estimate, eg confidence interval or p value.protected voidvalidate(Evidence.Statistic.AttributeEstimate attributeEstimate)- 
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement.Builder
from, validate 
- 
Methods inherited from class org.linuxforhealth.fhir.model.type.Element.Builder
from, validate 
- 
Methods inherited from class org.linuxforhealth.fhir.model.builder.AbstractBuilder
isValidating, setValidating 
 - 
 
 - 
 
- 
- 
Method Detail
- 
id
public Evidence.Statistic.AttributeEstimate.Builder id(java.lang.String id)
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.- Overrides:
 idin classBackboneElement.Builder- Parameters:
 id- Unique id for inter-element referencing- Returns:
 - A reference to this Builder instance
 
 
- 
extension
public Evidence.Statistic.AttributeEstimate.Builder extension(Extension... 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.Adds new element(s) to the existing list. If any of the elements are null, calling
build()will fail.- Overrides:
 extensionin classBackboneElement.Builder- Parameters:
 extension- Additional content defined by implementations- Returns:
 - A reference to this Builder instance
 
 
- 
extension
public Evidence.Statistic.AttributeEstimate.Builder extension(java.util.Collection<Extension> 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.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()will fail.- Overrides:
 extensionin classBackboneElement.Builder- Parameters:
 extension- Additional content defined by implementations- Returns:
 - A reference to this Builder instance
 - Throws:
 java.lang.NullPointerException- If the passed collection is null
 
- 
modifierExtension
public Evidence.Statistic.AttributeEstimate.Builder modifierExtension(Extension... 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).
Adds new element(s) to the existing list. If any of the elements are null, calling
build()will fail.- Overrides:
 modifierExtensionin classBackboneElement.Builder- Parameters:
 modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
 - A reference to this Builder instance
 
 
- 
modifierExtension
public Evidence.Statistic.AttributeEstimate.Builder modifierExtension(java.util.Collection<Extension> 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).
Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()will fail.- Overrides:
 modifierExtensionin classBackboneElement.Builder- Parameters:
 modifierExtension- Extensions that cannot be ignored even if unrecognized- Returns:
 - A reference to this Builder instance
 - Throws:
 java.lang.NullPointerException- If the passed collection is null
 
- 
description
public Evidence.Statistic.AttributeEstimate.Builder description(java.lang.String description)
Convenience method for settingdescription.- Parameters:
 description- Textual description of the attribute estimate- Returns:
 - A reference to this Builder instance
 - See Also:
 description(org.linuxforhealth.fhir.model.type.String)
 
- 
description
public Evidence.Statistic.AttributeEstimate.Builder description(String description)
Human-readable summary of the estimate.- Parameters:
 description- Textual description of the attribute estimate- Returns:
 - A reference to this Builder instance
 
 
- 
note
public Evidence.Statistic.AttributeEstimate.Builder note(Annotation... note)
Footnote or explanatory note about the estimate.Adds new element(s) to the existing list. If any of the elements are null, calling
build()will fail.- Parameters:
 note- Footnote or explanatory note about the estimate- Returns:
 - A reference to this Builder instance
 
 
- 
note
public Evidence.Statistic.AttributeEstimate.Builder note(java.util.Collection<Annotation> note)
Footnote or explanatory note about the estimate.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()will fail.- Parameters:
 note- Footnote or explanatory note about the estimate- Returns:
 - A reference to this Builder instance
 - Throws:
 java.lang.NullPointerException- If the passed collection is null
 
- 
type
public Evidence.Statistic.AttributeEstimate.Builder type(CodeableConcept type)
The type of attribute estimate, eg confidence interval or p value.- Parameters:
 type- The type of attribute estimate, eg confidence interval or p value- Returns:
 - A reference to this Builder instance
 
 
- 
quantity
public Evidence.Statistic.AttributeEstimate.Builder quantity(Quantity quantity)
The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure.- Parameters:
 quantity- The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure- Returns:
 - A reference to this Builder instance
 
 
- 
level
public Evidence.Statistic.AttributeEstimate.Builder level(Decimal level)
Use 95 for a 95% confidence interval.- Parameters:
 level- Level of confidence interval, eg 0.95 for 95% confidence interval- Returns:
 - A reference to this Builder instance
 
 
- 
range
public Evidence.Statistic.AttributeEstimate.Builder range(Range range)
Lower bound of confidence interval.- Parameters:
 range- Lower and upper bound values of the attribute estimate- Returns:
 - A reference to this Builder instance
 
 
- 
attributeEstimate
public Evidence.Statistic.AttributeEstimate.Builder attributeEstimate(Evidence.Statistic.AttributeEstimate... attributeEstimate)
A nested attribute estimate; which is the attribute estimate of an attribute estimate.Adds new element(s) to the existing list. If any of the elements are null, calling
build()will fail.- Parameters:
 attributeEstimate- A nested attribute estimate; which is the attribute estimate of an attribute estimate- Returns:
 - A reference to this Builder instance
 
 
- 
attributeEstimate
public Evidence.Statistic.AttributeEstimate.Builder attributeEstimate(java.util.Collection<Evidence.Statistic.AttributeEstimate> attributeEstimate)
A nested attribute estimate; which is the attribute estimate of an attribute estimate.Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling
build()will fail.- Parameters:
 attributeEstimate- A nested attribute estimate; which is the attribute estimate of an attribute estimate- Returns:
 - A reference to this Builder instance
 - Throws:
 java.lang.NullPointerException- If the passed collection is null
 
- 
build
public Evidence.Statistic.AttributeEstimate build()
Build theEvidence.Statistic.AttributeEstimate- Specified by:
 buildin interfaceBuilder<Element>- Specified by:
 buildin classBackboneElement.Builder- Returns:
 - An immutable object of type 
Evidence.Statistic.AttributeEstimate - Throws:
 java.lang.IllegalStateException- if the current state cannot be built into a valid AttributeEstimate per the base specification
 
- 
validate
protected void validate(Evidence.Statistic.AttributeEstimate attributeEstimate)
 
- 
from
protected Evidence.Statistic.AttributeEstimate.Builder from(Evidence.Statistic.AttributeEstimate attributeEstimate)
 
 - 
 
 -