QuestionnaireEnableWhen constructor
- @JsonKey(name: 'id') FhirId? fhirId,
- @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - String? question,
- @JsonKey(name: '_question') Element? questionElement,
- @JsonKey(name: 'operator') FhirCode? operator_,
- @JsonKey(name: '_operator') Element? operatorElement,
- FhirBoolean? answerBoolean,
- @JsonKey(name: '_answerBoolean') Element? answerBooleanElement,
- FhirDecimal? answerDecimal,
- @JsonKey(name: '_answerDecimal') Element? answerDecimalElement,
- FhirInteger? answerInteger,
- @JsonKey(name: '_answerInteger') Element? answerIntegerElement,
- FhirDate? answerDate,
- @JsonKey(name: '_answerDate') Element? answerDateElement,
- FhirDateTime? answerDateTime,
- @JsonKey(name: '_answerDateTime') Element? answerDateTimeElement,
- FhirTime? answerTime,
- @JsonKey(name: '_answerTime') Element? answerTimeElement,
- String? answerString,
- @JsonKey(name: '_answerString') Element? answerStringElement,
- Coding? answerCoding,
- Quantity? answerQuantity,
- 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;