Dosage class
Dosage Indicates how the medication is/was taken or should be taken by the patient.
- Annotations
-
- @freezed
Constructors
-
Dosage({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, FhirInteger? 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? asNeeded, @JsonKey(name: '_asNeeded') Element? asNeededElement, List<CodeableConcept> ? asNeededFor, CodeableConcept? site, CodeableConcept? route, CodeableConcept? method, List<DosageDoseAndRate> ? doseAndRate, List<Ratio> ? maxDosePerPeriod, Quantity? maxDosePerAdministration, Quantity? maxDosePerLifetime}) -
Dosage Indicates how the medication is/was taken or should be taken by
the patient.
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 that accepts a String in YAML format as an argument
factory
Properties
-
additionalInstruction
→ List<
CodeableConcept> ? -
additionalInstruction
Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps").no setterinherited - asNeeded → FhirBoolean?
-
asNeeded
Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).no setterinherited - asNeededElement → Element?
-
asNeededElement
("_asNeeded") Extensions for asNeededno setterinherited -
asNeededFor
→ List<
CodeableConcept> ? -
asNeededFor
Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).no setterinherited -
copyWith
→ $DosageCopyWith<
Dosage> -
no setterinherited
-
doseAndRate
→ List<
DosageDoseAndRate> ? -
doseAndRate
Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.no setterinherited -
extension_
→ List<
FhirExtension> ? -
extension_
("extension") May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.no setterinherited - fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDosePerAdministration → Quantity?
-
maxDosePerAdministration
Upper limit on medication per administration.no setterinherited - maxDosePerLifetime → Quantity?
-
maxDosePerLifetime
Upper limit on medication per lifetime of the patient.no setterinherited -
maxDosePerPeriod
→ List<
Ratio> ? -
maxDosePerPeriod
Upper limit on medication per unit of time.no setterinherited - method → CodeableConcept?
-
method
Technique for administering medication.no setterinherited -
modifierExtension
→ List<
FhirExtension> ? -
modifierExtension
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).no setterinherited - patientInstruction → String?
-
patientInstruction
Instructions in terms that are understood by the patient or consumer.no setterinherited - patientInstructionElement → Element?
-
patientInstructionElement
("_patientInstruction") Extensions for patientInstructionno setterinherited - route → CodeableConcept?
-
route
How drug should enter body.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → FhirInteger?
-
sequence
Indicates the order in which the dosage instructions should be applied or interpreted.no setterinherited - sequenceElement → Element?
-
sequenceElement
("_sequence") Extensions for sequenceno setterinherited - site → CodeableConcept?
-
site
Body site to administer to.no setterinherited - text → String?
-
text
Free text dosage instructions e.g. SIG.no setterinherited - textElement → Element?
-
textElement
("_text") Extensions for textno setterinherited - timing → Timing?
-
timing
When medication should be administered.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