QuestionnaireItem class
- Annotations
-
- @freezed
Constructors
-
QuestionnaireItem({String? linkId, @JsonKey(name: '_linkId') Element? linkIdElement, String? definition, @JsonKey(name: '_definition') Element? definitionElement, List<
Coding> ? code, @JsonKey(name: 'extension') List<FhirExtension> ? extension_, String? prefix, @JsonKey(name: '_prefix') Element? prefixElement, String? text, @JsonKey(name: '_text') Element? textElement, QuestionnaireItemType? type, @JsonKey(name: '_type') Element? typeElement, List<QuestionnaireEnableWhen> ? enableWhen, @JsonKey(name: 'required') FhirBoolean? required_, @JsonKey(name: '_required') Element? requiredElement, FhirBoolean? repeats, @JsonKey(name: '_repeats') Element? repeatsElement, FhirBoolean? readOnly, @JsonKey(name: '_readOnly') Element? readOnlyElement, FhirDecimal? maxLength, @JsonKey(name: '_maxLength') Element? maxLengthElement, Reference? options, List<QuestionnaireOption> ? option, FhirBoolean? initialBoolean, @JsonKey(name: '_initialBoolean') Element? initialBooleanElement, FhirDecimal? initialDecimal, @JsonKey(name: '_initialDecimal') Element? initialDecimalElement, FhirDecimal? initialInteger, @JsonKey(name: '_initialInteger') Element? initialIntegerElement, FhirDate? initialDate, @JsonKey(name: '_initialDate') Element? initialDateElement, FhirDateTime? initialDateTime, @JsonKey(name: '_initialDateTime') Element? initialDateTimeElement, FhirTime? initialTime, @JsonKey(name: '_initialTime') Element? initialTimeElement, String? initialString, @JsonKey(name: '_initialString') Element? initialStringElement, String? initialUri, @JsonKey(name: '_initialUri') Element? initialUriElement, Attachment? initialAttachment, Coding? initialCoding, Quantity? initialQuantity, Reference? initialReference, List<QuestionnaireItem> ? item}) -
constfactory
-
QuestionnaireItem.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- QuestionnaireItem.fromJsonString(String source)
-
Acts like a constructor, returns a QuestionnaireItem, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- QuestionnaireItem.fromYaml(dynamic yaml)
-
Factory constructor, accepts a String in YAML format as an argument
factory
Properties
-
code
→ List<
Coding> ? -
no setterinherited
-
copyWith
→ $QuestionnaireItemCopyWith<
QuestionnaireItem> -
no setterinherited
- definition → String?
-
no setterinherited
- definitionElement → Element?
-
no setterinherited
-
enableWhen
→ List<
QuestionnaireEnableWhen> ? -
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialAttachment → Attachment?
-
no setterinherited
- initialBoolean → FhirBoolean?
-
no setterinherited
- initialBooleanElement → Element?
-
no setterinherited
- initialCoding → Coding?
-
no setterinherited
- initialDate → FhirDate?
-
no setterinherited
- initialDateElement → Element?
-
no setterinherited
- initialDateTime → FhirDateTime?
-
no setterinherited
- initialDateTimeElement → Element?
-
no setterinherited
- initialDecimal → FhirDecimal?
-
no setterinherited
- initialDecimalElement → Element?
-
no setterinherited
- initialInteger → FhirDecimal?
-
no setterinherited
- initialIntegerElement → Element?
-
no setterinherited
- initialQuantity → Quantity?
-
no setterinherited
- initialReference → Reference?
-
no setterinherited
- initialString → String?
-
no setterinherited
- initialStringElement → Element?
-
no setterinherited
- initialTime → FhirTime?
-
no setterinherited
- initialTimeElement → Element?
-
no setterinherited
- initialUri → String?
-
no setterinherited
- initialUriElement → Element?
-
no setterinherited
-
item
→ List<
QuestionnaireItem> ? -
no setterinherited
- linkId → String?
-
no setterinherited
- linkIdElement → Element?
-
no setterinherited
- maxLength → FhirDecimal?
-
no setterinherited
- maxLengthElement → Element?
-
no setterinherited
-
option
→ List<
QuestionnaireOption> ? -
no setterinherited
- options → Reference?
-
no setterinherited
- prefix → String?
-
no setterinherited
- prefixElement → Element?
-
no setterinherited
- readOnly → FhirBoolean?
-
no setterinherited
- readOnlyElement → Element?
-
no setterinherited
- repeats → FhirBoolean?
-
no setterinherited
- repeatsElement → Element?
-
no setterinherited
- required_ → FhirBoolean?
-
no setterinherited
- requiredElement → Element?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
no setterinherited
- textElement → Element?
-
no setterinherited
- type → QuestionnaireItemType?
-
no setterinherited
- typeElement → Element?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited