Medication class
- Annotations
-
- @freezed
Constructors
-
Medication({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'Identifier') List<
Identifier?> ? identifier, @JsonKey(name: 'Status', unknownEnumValue: MedicationStatusEnum.inactive) MedicationStatusEnum? status, @JsonKey(name: 'StatusReason') CodeableConcept? statusReason, @JsonKey(name: 'Intent', unknownEnumValue: MedicationIntent.proposal) MedicationIntent? intent, @JsonKey(name: 'Category') List<CodeableConcept?> ? category, @JsonKey(name: 'Priority', unknownEnumValue: Priority.routine) Priority? priority, @JsonKey(name: 'ReportedBoolean') bool? reportedBoolean, @JsonKey(name: 'ReportedReference') Reference? reportedReference, @JsonKey(name: 'MedicationCodeableConcept') CodeableConcept? medicationCodeableConcept, @JsonKey(name: 'MedicationReference') Reference? medicationReference, @JsonKey(name: 'Subject') Reference? subject, @JsonKey(name: 'Encounter') Reference? encounter, @JsonKey(name: 'SupportingInformation') List<Reference?> ? supportingInformation, @JsonKey(name: 'AuthoredOn') String? authoredOn, @JsonKey(name: 'Requester') Reference? requester, @JsonKey(name: 'Performer') Reference? performer, @JsonKey(name: 'PerformerType') CodeableConcept? performerType, @JsonKey(name: 'Recorder') Reference? recorder, @JsonKey(name: 'ReasonReference') List<Reference?> ? reasonReference, @JsonKey(name: 'BasedOn') List<Reference?> ? basedOn, @JsonKey(name: 'GroupIdentifier') Identifier? groupIdentifier, @JsonKey(name: 'CourseOfTherapyType') CodeableConcept? courseOfTherapyType, @JsonKey(name: 'Insurance') List<Reference?> ? insurance, @JsonKey(name: 'Note') List<Annotation?> ? note, @JsonKey(name: 'DosageInstruction') List<Dosage?> ? dosageInstruction, @JsonKey(name: 'DispenseRequest') MedicationRequestDispense? dispenseRequest, @JsonKey(name: 'Substitution') MedicationRequestSubstitution? substitution, @JsonKey(name: 'PriorPrescription') Reference? priorPrescription, @JsonKey(name: 'DetectedIssue') List<Reference?> ? detectedIssue, @JsonKey(name: 'EventHistory') List<Reference?> ? eventHistory}) -
factory
-
Medication.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
no setterinherited
-
basedOn
→ List<
Reference?> ? -
no setterinherited
-
category
→ List<
CodeableConcept?> ? -
no setterinherited
-
copyWith
→ $MedicationCopyWith<
Medication> -
no setterinherited
- courseOfTherapyType → CodeableConcept?
-
no setterinherited
-
detectedIssue
→ List<
Reference?> ? -
no setterinherited
- dispenseRequest → MedicationRequestDispense?
-
no setterinherited
-
dosageInstruction
→ List<
Dosage?> ? -
no setterinherited
- encounter → Reference?
-
no setterinherited
-
eventHistory
→ List<
Reference?> ? -
no setterinherited
- groupIdentifier → Identifier?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
-
identifier
→ List<
Identifier?> ? -
no setterinherited
-
insurance
→ List<
Reference?> ? -
no setterinherited
- intent → MedicationIntent?
-
no setterinherited
- medicationCodeableConcept → CodeableConcept?
-
no setterinherited
- medicationReference → Reference?
-
no setterinherited
-
note
→ List<
Annotation?> ? -
no setterinherited
- performer → Reference?
-
no setterinherited
- performerType → CodeableConcept?
-
no setterinherited
- priority → Priority?
-
no setterinherited
- priorPrescription → Reference?
-
no setterinherited
-
reasonReference
→ List<
Reference?> ? -
no setterinherited
- recorder → Reference?
-
no setterinherited
- reportedBoolean → bool?
-
no setterinherited
- reportedReference → Reference?
-
no setterinherited
- requester → Reference?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → MedicationStatusEnum?
-
no setterinherited
- statusReason → CodeableConcept?
-
no setterinherited
- subject → Reference?
-
no setterinherited
- substitution → MedicationRequestSubstitution?
-
no setterinherited
-
supportingInformation
→ List<
Reference?> ? -
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