Class QuestionnaireResponse_ItemBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.QuestionnaireResponse_ItemBuilder.Impl
-
- All Implemented Interfaces:
QuestionnaireResponse_ItemBuilder
- Enclosing interface:
- QuestionnaireResponse_ItemBuilder
public static class QuestionnaireResponse_ItemBuilder.Impl extends java.lang.Object implements QuestionnaireResponse_ItemBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.QuestionnaireResponse_ItemBuilder
QuestionnaireResponse_ItemBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.String linkId)Required fields forQuestionnaireResponse.Item
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Itembuild()QuestionnaireResponse_ItemBuilder.ImplwithAnswer(@NonNull QuestionnaireResponse_Item_AnswerBuilder... answer)QuestionnaireResponse_ItemBuilder.ImplwithAnswer(@NonNull com.babylonhealth.lit.hl7.model.QuestionnaireResponse$Item$Answer... answer)QuestionnaireResponse_ItemBuilder.ImplwithAnswer(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.QuestionnaireResponse$Item$Answer> answer)QuestionnaireResponse_ItemBuilder.ImplwithDefinition(@NonNull java.lang.String definition)QuestionnaireResponse_ItemBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)QuestionnaireResponse_ItemBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)QuestionnaireResponse_ItemBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)QuestionnaireResponse_ItemBuilder.ImplwithId(@NonNull java.lang.String id)QuestionnaireResponse_ItemBuilder.ImplwithItem(@NonNull QuestionnaireResponse_ItemBuilder... item)QuestionnaireResponse_ItemBuilder.ImplwithItem(@NonNull com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Item... item)QuestionnaireResponse_ItemBuilder.ImplwithItem(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Item> item)QuestionnaireResponse_ItemBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)QuestionnaireResponse_ItemBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)QuestionnaireResponse_ItemBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)QuestionnaireResponse_ItemBuilder.ImplwithText(@NonNull java.lang.String text)
-
-
-
Method Detail
-
withId
public QuestionnaireResponse_ItemBuilder.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.
-
withText
public QuestionnaireResponse_ItemBuilder.Impl withText(@NonNull @NonNull java.lang.String text)
- Parameters:
text- - A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
-
withItem
public QuestionnaireResponse_ItemBuilder.Impl withItem(@NonNull @NonNull com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Item... item)
- Parameters:
item- - A group or question item from the original questionnaire for which answers are provided.
-
withItem
public QuestionnaireResponse_ItemBuilder.Impl withItem(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Item> item)
- Parameters:
item- - A group or question item from the original questionnaire for which answers are provided.
-
withItem
public QuestionnaireResponse_ItemBuilder.Impl withItem(@NonNull @NonNull QuestionnaireResponse_ItemBuilder... item)
-
withExtension
public QuestionnaireResponse_ItemBuilder.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 QuestionnaireResponse_ItemBuilder.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 QuestionnaireResponse_ItemBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withDefinition
public QuestionnaireResponse_ItemBuilder.Impl withDefinition(@NonNull @NonNull java.lang.String definition)
- Parameters:
definition-
-
withModifierExtension
public QuestionnaireResponse_ItemBuilder.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 QuestionnaireResponse_ItemBuilder.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 QuestionnaireResponse_ItemBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withAnswer
public QuestionnaireResponse_ItemBuilder.Impl withAnswer(@NonNull @NonNull com.babylonhealth.lit.hl7.model.QuestionnaireResponse$Item$Answer... answer)
- Parameters:
answer-
-
withAnswer
public QuestionnaireResponse_ItemBuilder.Impl withAnswer(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.QuestionnaireResponse$Item$Answer> answer)
- Parameters:
answer-
-
withAnswer
public QuestionnaireResponse_ItemBuilder.Impl withAnswer(@NonNull @NonNull QuestionnaireResponse_Item_AnswerBuilder... answer)
-
build
public com.babylonhealth.lit.hl7.model.QuestionnaireResponse.Item build()
- Specified by:
buildin interfaceQuestionnaireResponse_ItemBuilder
-
-