QuestionnaireAnswerOption constructor
- @JsonKey(name: 'id') FhirId? fhirId,
- @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, - List<
FhirExtension> ? modifierExtension, - FhirInteger? valueInteger,
- @JsonKey(name: '_valueInteger') Element? valueIntegerElement,
- FhirDate? valueDate,
- @JsonKey(name: '_valueDate') Element? valueDateElement,
- FhirTime? valueTime,
- @JsonKey(name: '_valueTime') Element? valueTimeElement,
- String? valueString,
- @JsonKey(name: '_valueString') Element? valueStringElement,
- Coding? valueCoding,
- Reference? valueReference,
- FhirBoolean? initialSelected,
- @JsonKey(name: '_initialSelected') Element? initialSelectedElement,
QuestionnaireAnswerOption 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).
valueInteger
A potential answer that's allowed as the answer to this
question.
valueIntegerElement
Extensions for valueInteger
valueDate
A potential answer that's allowed as the answer to this
question.
valueDateElement
Extensions for valueDate
valueTime
A potential answer that's allowed as the answer to this
question.
valueTimeElement
Extensions for valueTime
valueString
A potential answer that's allowed as the answer to this
question.
valueStringElement
Extensions for valueString
valueCoding
A potential answer that's allowed as the answer to this
question.
valueReference
A potential answer that's allowed as the answer to this
question.
initialSelected
Indicates whether the answer value is selected when the
list of possible answers is initially shown.
initialSelectedElement
Extensions for initialSelected
Implementation
const factory QuestionnaireAnswerOption({
/// [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,
/// [valueInteger] A potential answer that's allowed as the answer to this
/// question.
FhirInteger? valueInteger,
/// [valueIntegerElement] Extensions for valueInteger
@JsonKey(name: '_valueInteger') Element? valueIntegerElement,
/// [valueDate] A potential answer that's allowed as the answer to this
/// question.
FhirDate? valueDate,
/// [valueDateElement] Extensions for valueDate
@JsonKey(name: '_valueDate') Element? valueDateElement,
/// [valueTime] A potential answer that's allowed as the answer to this
/// question.
FhirTime? valueTime,
/// [valueTimeElement] Extensions for valueTime
@JsonKey(name: '_valueTime') Element? valueTimeElement,
/// [valueString] A potential answer that's allowed as the answer to this
/// question.
String? valueString,
/// [valueStringElement] Extensions for valueString
@JsonKey(name: '_valueString') Element? valueStringElement,
/// [valueCoding] A potential answer that's allowed as the answer to this
/// question.
Coding? valueCoding,
/// [valueReference] A potential answer that's allowed as the answer to this
/// question.
Reference? valueReference,
/// [initialSelected] Indicates whether the answer value is selected when the
/// list of possible answers is initially shown.
FhirBoolean? initialSelected,
/// [initialSelectedElement] Extensions for initialSelected
@JsonKey(name: '_initialSelected') Element? initialSelectedElement,
}) = _QuestionnaireAnswerOption;