QuestionnaireEnableWhen class

Annotations
  • @freezed

Constructors

QuestionnaireEnableWhen({String? question, @JsonKey(name: '_question') Element? questionElement, FhirBoolean? hasAnswer, @JsonKey(name: '_hasAnswer') Element? hasAnswerElement, FhirBoolean? answerBoolean, @JsonKey(name: '_answerBoolean') Element? answerBooleanElement, FhirDecimal? answerDecimal, @JsonKey(name: '_answerDecimal') Element? answerDecimalElement, FhirDecimal? 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, String? answerUri, @JsonKey(name: '_answerUri') Element? answerUriElement, Attachment? answerAttachment, Coding? answerCoding, Quantity? answerQuantity, Reference? answerReference})
const
factory
QuestionnaireEnableWhen.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
QuestionnaireEnableWhen.fromJsonString(String source)
Acts like a constructor, returns a QuestionnaireEnableWhen, accepts a String as an argument, mostly because I got tired of typing it out
factory
QuestionnaireEnableWhen.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

answerAttachment Attachment?
no setterinherited
answerBoolean FhirBoolean?
no setterinherited
answerBooleanElement Element?
no setterinherited
answerCoding Coding?
no setterinherited
answerDate FhirDate?
no setterinherited
answerDateElement Element?
no setterinherited
answerDateTime FhirDateTime?
no setterinherited
answerDateTimeElement Element?
no setterinherited
answerDecimal FhirDecimal?
no setterinherited
answerDecimalElement Element?
no setterinherited
answerInteger FhirDecimal?
no setterinherited
answerIntegerElement Element?
no setterinherited
answerQuantity Quantity?
no setterinherited
answerReference Reference?
no setterinherited
answerString String?
no setterinherited
answerStringElement Element?
no setterinherited
answerTime FhirTime?
no setterinherited
answerTimeElement Element?
no setterinherited
answerUri String?
no setterinherited
answerUriElement Element?
no setterinherited
copyWith → $QuestionnaireEnableWhenCopyWith<QuestionnaireEnableWhen>
no setterinherited
hasAnswer FhirBoolean?
no setterinherited
hasAnswerElement Element?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
question String?
no setterinherited
questionElement Element?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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