Class Questionnaire_ItemBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.hl7.ITEM_TYPE _type,
                    java.lang.String linkId)
        Required fields for Questionnaire.Item
        Parameters:
        _type -
        linkId -
    • Method Detail

      • withId

        public Questionnaire_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.
      • withCode

        public Questionnaire_ItemBuilder.Impl withCode​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core.model.Coding... code)
        Parameters:
        code - - An identifier for this question or group of questions in a particular terminology such as LOINC.
      • withCode

        public Questionnaire_ItemBuilder.Impl withCode​(@NonNull
                                                       @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> code)
        Parameters:
        code - - An identifier for this question or group of questions in a particular terminology such as LOINC.
      • withText

        public Questionnaire_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 Questionnaire_ItemBuilder.Impl withItem​(@NonNull
                                                       @NonNull com.babylonhealth.lit.hl7.model.Questionnaire.Item... item)
        Parameters:
        item - - A particular question, question grouping or display text that is part of the questionnaire.
      • withItem

        public Questionnaire_ItemBuilder.Impl withItem​(@NonNull
                                                       @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Questionnaire.Item> item)
        Parameters:
        item - - A particular question, question grouping or display text that is part of the questionnaire.
      • withExtension

        public Questionnaire_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 Questionnaire_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 Questionnaire_ItemBuilder.Impl withExtension​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withEnableBehavior

        public Questionnaire_ItemBuilder.Impl withEnableBehavior​(@NonNull
                                                                 @NonNull com.babylonhealth.lit.hl7.QUESTIONNAIRE_ENABLE_BEHAVIOR enableBehavior)
        Parameters:
        enableBehavior -
      • withAnswerValueSet

        public Questionnaire_ItemBuilder.Impl withAnswerValueSet​(@NonNull
                                                                 @NonNull java.lang.String answerValueSet)
        Parameters:
        answerValueSet -
      • withModifierExtension

        public Questionnaire_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 Questionnaire_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 Questionnaire_ItemBuilder.Impl withModifierExtension​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
      • withInitial

        public Questionnaire_ItemBuilder.Impl withInitial​(@NonNull
                                                          @NonNull com.babylonhealth.lit.hl7.model.Questionnaire$Item$Initial... initial)
        Parameters:
        initial -
      • withInitial

        public Questionnaire_ItemBuilder.Impl withInitial​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Questionnaire$Item$Initial> initial)
        Parameters:
        initial -
      • withEnableWhen

        public Questionnaire_ItemBuilder.Impl withEnableWhen​(@NonNull
                                                             @NonNull com.babylonhealth.lit.hl7.model.Questionnaire$Item$EnableWhen... enableWhen)
        Parameters:
        enableWhen -
      • withEnableWhen

        public Questionnaire_ItemBuilder.Impl withEnableWhen​(@NonNull
                                                             @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Questionnaire$Item$EnableWhen> enableWhen)
        Parameters:
        enableWhen -
      • withAnswerOption

        public Questionnaire_ItemBuilder.Impl withAnswerOption​(@NonNull
                                                               @NonNull com.babylonhealth.lit.hl7.model.Questionnaire$Item$AnswerOption... answerOption)
        Parameters:
        answerOption -
      • withAnswerOption

        public Questionnaire_ItemBuilder.Impl withAnswerOption​(@NonNull
                                                               @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Questionnaire$Item$AnswerOption> answerOption)
        Parameters:
        answerOption -