Class Questionnaire.QuestionnaireItemComponent

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
Enclosing class:
Questionnaire

public static class Questionnaire.QuestionnaireItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
See Also:
  • Field Details

    • linkId

      protected StringType linkId
      An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.
    • definition

      protected UriType definition
      A reference to an [[[ElementDefinition]]] that provides the details for the item. If a definition is provided, then the following element values can be inferred from the definition: code (ElementDefinition.code) type (ElementDefinition.type) required (ElementDefinition.min) repeats (ElementDefinition.max) maxLength (ElementDefinition.maxLength) options (ElementDefinition.binding) Any information provided in these elements on a Questionnaire Item overrides the information from the definition.
    • code

      protected List<Coding> code
      A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).
    • prefix

      protected StringType prefix
      A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.
    • text

      protected StringType text
      The name of a section, the text of a question or text content for a display item.
    • type

      The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).
    • enableWhen

      A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.
    • required

      protected BooleanType required
      An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.
    • repeats

      protected BooleanType repeats
      An indication, if true, that the item may occur multiple times in the response, collecting multiple answers answers for questions or multiple sets of answers for groups.
    • readOnly

      protected BooleanType readOnly
      An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.
    • maxLength

      The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.
    • options

      protected Reference options
      A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.
    • optionsTarget

      The actual object that is the target of the reference (A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.)
    • option

      One of the permitted answers for a "choice" or "open-choice" question.
    • initial

      protected Type initial
      The value that should be defaulted when initially rendering the questionnaire for user input.
    • item

      Text, questions and other groups to be nested beneath a question or group.
  • Constructor Details

  • Method Details