ClinicalState class
holds the state of the clinical screens
- Annotations
-
- @freezed
Constructors
-
ClinicalState({@JsonKey(name: 'currentEpisodeOfCare') EpisodeOfCare? currentEpisodeOfCare, @JsonKey(name: 'patientPayload') PatientPayload? patientPayload, @JsonKey(name: 'patientSearchResult') List<
PatientEdge?> ? patientSearchResult, @JsonKey(name: 'patientSearchFound') bool? patientSearchFound, @JsonKey(name: 'patientSearchNumber') String? patientSearchNumber, @JsonKey(name: 'startVisitType') StartVisitType? startVisitType}) -
factory
-
ClinicalState.fromJson(Map<
String, dynamic> json) -
factory
- ClinicalState.initial()
-
factory
Properties
-
copyWith
→ $ClinicalStateCopyWith<
ClinicalState> -
no setterinherited
- currentEpisodeOfCare → EpisodeOfCare?
-
the current visit. The episode of care the doctor is currently attending to
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- patientPayload → PatientPayload?
-
the patient the doctor is currently attending to
no setterinherited
- patientSearchFound → bool?
-
no setterinherited
- patientSearchNumber → String?
-
no setterinherited
-
patientSearchResult
→ List<
PatientEdge?> ? -
searched patient by phone number
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startVisitType → StartVisitType?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited