QuestionnaireEnableWhen constructor

const QuestionnaireEnableWhen({
  1. @JsonKey(name: 'id') FhirId? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. String? question,
  5. @JsonKey(name: '_question') Element? questionElement,
  6. @JsonKey(name: 'operator') FhirCode? operator_,
  7. @JsonKey(name: '_operator') Element? operatorElement,
  8. FhirBoolean? answerBoolean,
  9. @JsonKey(name: '_answerBoolean') Element? answerBooleanElement,
  10. FhirDecimal? answerDecimal,
  11. @JsonKey(name: '_answerDecimal') Element? answerDecimalElement,
  12. FhirInteger? answerInteger,
  13. @JsonKey(name: '_answerInteger') Element? answerIntegerElement,
  14. FhirDate? answerDate,
  15. @JsonKey(name: '_answerDate') Element? answerDateElement,
  16. FhirDateTime? answerDateTime,
  17. @JsonKey(name: '_answerDateTime') Element? answerDateTimeElement,
  18. FhirTime? answerTime,
  19. @JsonKey(name: '_answerTime') Element? answerTimeElement,
  20. String? answerString,
  21. @JsonKey(name: '_answerString') Element? answerStringElement,
  22. Coding? answerCoding,
  23. Quantity? answerQuantity,
  24. Reference? answerReference,
})

QuestionnaireEnableWhen A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

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.

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).

question The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

questionElement Extensions for question

operator Specifies the criteria by which the question is enabled.

operatorElement Extensions for operator

answerBoolean A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerBooleanElement Extensions for answerBoolean

answerDecimal A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerDecimalElement Extensions for answerDecimal

answerInteger A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerIntegerElement Extensions for answerInteger

answerDate A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerDateElement Extensions for answerDate

answerDateTime A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerDateTimeElement Extensions for answerDateTime

answerTime A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerTimeElement Extensions for answerTime

answerString A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerStringElement Extensions for answerString

answerCoding A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerQuantity A value that the referenced question is tested using the specified operator in order for the item to be enabled.

answerReference A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Implementation

const factory QuestionnaireEnableWhen({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') FhirId? fhirId,

  /// [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.
  @JsonKey(name: 'extension') List<FhirExtension>? 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).
  List<FhirExtension>? modifierExtension,

  /// [question] The linkId for the question whose answer (or lack of answer)
  ///  governs whether this item is enabled.
  String? question,

  /// [questionElement] Extensions for question
  @JsonKey(name: '_question') Element? questionElement,

  /// [operator] Specifies the criteria by which the question is enabled.
  @JsonKey(name: 'operator') FhirCode? operator_,

  /// [operatorElement] Extensions for operator
  @JsonKey(name: '_operator') Element? operatorElement,

  /// [answerBoolean] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirBoolean? answerBoolean,

  /// [answerBooleanElement] Extensions for answerBoolean
  @JsonKey(name: '_answerBoolean') Element? answerBooleanElement,

  /// [answerDecimal] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirDecimal? answerDecimal,

  /// [answerDecimalElement] Extensions for answerDecimal
  @JsonKey(name: '_answerDecimal') Element? answerDecimalElement,

  /// [answerInteger] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirInteger? answerInteger,

  /// [answerIntegerElement] Extensions for answerInteger
  @JsonKey(name: '_answerInteger') Element? answerIntegerElement,

  /// [answerDate] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirDate? answerDate,

  /// [answerDateElement] Extensions for answerDate
  @JsonKey(name: '_answerDate') Element? answerDateElement,

  /// [answerDateTime] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirDateTime? answerDateTime,

  /// [answerDateTimeElement] Extensions for answerDateTime
  @JsonKey(name: '_answerDateTime') Element? answerDateTimeElement,

  /// [answerTime] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  FhirTime? answerTime,

  /// [answerTimeElement] Extensions for answerTime
  @JsonKey(name: '_answerTime') Element? answerTimeElement,

  /// [answerString] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  String? answerString,

  /// [answerStringElement] Extensions for answerString
  @JsonKey(name: '_answerString') Element? answerStringElement,

  /// [answerCoding] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  Coding? answerCoding,

  /// [answerQuantity] A value that the referenced question is tested using the
  ///  specified operator in order for the item to be enabled.
  Quantity? answerQuantity,

  /// [answerReference] A value that the referenced question is tested using
  ///  the specified operator in order for the item to be enabled.
  Reference? answerReference,
}) = _QuestionnaireEnableWhen;