Dosage class
- Annotations
-
- @freezed
Constructors
-
Dosage({FhirDecimal? sequence, @JsonKey(name: '_sequence') Element? sequenceElement, String? text, @JsonKey(name: '_text') Element? textElement, List<
CodeableConcept> ? additionalInstruction, String? patientInstruction, @JsonKey(name: '_patientInstruction') Element? patientInstructionElement, Timing? timing, FhirBoolean? asNeededBoolean, @JsonKey(name: '_asNeededBoolean') Element? asNeededBooleanElement, CodeableConcept? asNeededCodeableConcept, CodeableConcept? site, CodeableConcept? route, CodeableConcept? method, Range? doseRange, Quantity? doseSimpleQuantity, Ratio? maxDosePerPeriod, Quantity? maxDosePerAdministration, Quantity? maxDosePerLifetime, Ratio? rateRatio, Range? rateRange, Quantity? rateSimpleQuantity}) -
constfactory
-
Dosage.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- Dosage.fromJsonString(String source)
-
Acts like a constructor, returns a Dosage, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- Dosage.fromYaml(dynamic yaml)
-
Factory constructor, accepts a String in YAML format as an argument
factory
Properties
-
additionalInstruction
→ List<
CodeableConcept> ? -
no setterinherited
- asNeededBoolean → FhirBoolean?
-
no setterinherited
- asNeededBooleanElement → Element?
-
no setterinherited
- asNeededCodeableConcept → CodeableConcept?
-
no setterinherited
-
copyWith
→ $DosageCopyWith<
Dosage> -
no setterinherited
- doseRange → Range?
-
no setterinherited
- doseSimpleQuantity → Quantity?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDosePerAdministration → Quantity?
-
no setterinherited
- maxDosePerLifetime → Quantity?
-
no setterinherited
- maxDosePerPeriod → Ratio?
-
no setterinherited
- method → CodeableConcept?
-
no setterinherited
- patientInstruction → String?
-
no setterinherited
- patientInstructionElement → Element?
-
no setterinherited
- rateRange → Range?
-
no setterinherited
- rateRatio → Ratio?
-
no setterinherited
- rateSimpleQuantity → Quantity?
-
no setterinherited
- route → CodeableConcept?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → FhirDecimal?
-
no setterinherited
- sequenceElement → Element?
-
no setterinherited
- site → CodeableConcept?
-
no setterinherited
- text → String?
-
no setterinherited
- textElement → Element?
-
no setterinherited
- timing → Timing?
-
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