ObservationComponent class

Annotations
  • @freezed

Constructors

ObservationComponent({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, @JsonKey(name: 'fhir_comments') List<String>? fhirComments, required CodeableConcept code, Quantity? valueQuantity, CodeableConcept? valueCodeableConcept, String? valueString, @JsonKey(name: '_valueString') Element? valueStringElement, Range? valueRange, Ratio? valueRatio, SampledData? valueSampledData, Attachment? valueAttachment, FhirTime? valueTime, @JsonKey(name: '_valueTime') Element? valueTimeElement, FhirDateTime? valueDateTime, @JsonKey(name: '_valueDateTime') Element? valueDateTimeElement, Period? valuePeriod, CodeableConcept? dataAbsentReason, List<ObservationReferenceRange>? referenceRange})
const
factory
ObservationComponent.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
ObservationComponent.fromJsonString(String source)
Acts like a constructor, returns a ObservationComponent, accepts a String as an argument, mostly because I got tired of typing it out
factory
ObservationComponent.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

code CodeableConcept
no setterinherited
copyWith → $ObservationComponentCopyWith<ObservationComponent>
no setterinherited
dataAbsentReason CodeableConcept?
no setterinherited
extension_ List<FhirExtension>?
no setterinherited
fhirComments List<String>?
no setterinherited
fhirId FhirId?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
modifierExtension List<FhirExtension>?
no setterinherited
referenceRange List<ObservationReferenceRange>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueAttachment Attachment?
no setterinherited
valueCodeableConcept CodeableConcept?
no setterinherited
valueDateTime FhirDateTime?
no setterinherited
valueDateTimeElement Element?
no setterinherited
valuePeriod Period?
no setterinherited
valueQuantity Quantity?
no setterinherited
valueRange Range?
no setterinherited
valueRatio Ratio?
no setterinherited
valueSampledData SampledData?
no setterinherited
valueString String?
no setterinherited
valueStringElement Element?
no setterinherited
valueTime FhirTime?
no setterinherited
valueTimeElement 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