import { CodeableConcept } from './CodeableConcept.js';
import { Dosage_DoseAndRate } from './Dosage_DoseAndRate.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Quantity } from './Quantity.js';
import { Ratio } from './Ratio.js';
import { Timing } from './Timing.js';
export interface Dosage {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description 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.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description 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 andor 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).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description Indicates the order in which the dosage instructions should be applied or interpreted.
     * @short The order of the dosage instructions
     */
    sequence?: FhirPrimitive<number>;
    /**
     * @description Free text dosage instructions e.g. SIG.
     * @short Free text dosage instructions e.g. SIG
     */
    text?: FhirPrimitive<string>;
    /**
     * @description 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").
     * @comment Information about administration or preparation of the medication (e.g. "infuse as rapidly as possibly via intraperitoneal port" or take "immediately following drug x") should be populated in dosage.text.
     * @short Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
     */
    additionalInstruction?: CodeableConcept[];
    /**
     * @description Instructions in terms that are understood by the patient or consumer.
     * @short Patient or consumer oriented instructions
     */
    patientInstruction?: FhirPrimitive<string>;
    /**
     * @description When medication should be administered.
     * @comment This attribute might not always be populated while the Dosage.text is expected to be populated.  If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.
     * @short When medication should be administered
     */
    timing?: Timing;
    /**
     * @description Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).
     * @comment Can express "as needed" without a reason by setting the Boolean = True.  In this case the CodeableConcept is not populated.
     * @short Take "as needed"
     */
    asNeeded?: FhirPrimitive<boolean>;
    /**
     * @description Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).
     * @comment Can express "as needed" with a reason by including the CodeableConcept.  In this case the Boolean is assumed to be False, then the dose is given according to the schedule and is not "prn" or "as needed".
     * @short Take "as needed" (for x)
     */
    asNeededFor?: CodeableConcept[];
    /**
     * @description Body site to administer to.
     * @comment If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [http:hl7.orgfhirStructureDefinitionbodySite](http:hl7.orgfhirextensionsStructureDefinition-bodySite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.
     * @short Body site to administer to
     */
    site?: CodeableConcept;
    /**
     * @description How drug should enter body.
     * @short How drug should enter body
     */
    route?: CodeableConcept;
    /**
     * @description Technique for administering medication.
     * @comment Terminologies used often pre-coordinate this term with the route and or form of administration.
     * @short Technique for administering medication
     */
    method?: CodeableConcept;
    /**
     * @backbone Nested BackboneElement: doseAndRate [0..*]
     */
    doseAndRate?: Dosage_DoseAndRate[];
    /**
     * @description Upper limit on medication per unit of time.
     * @comment This is intended for use as an adjunct to the dosage when there is an upper cap.  For example "2 tablets every 4 hours to a maximum of 8day".
     * @short Upper limit on medication per unit of time
     */
    maxDosePerPeriod?: Ratio[];
    /**
     * @description Upper limit on medication per administration.
     * @comment This is intended for use as an adjunct to the dosage when there is an upper cap.  For example, a body surface area related dose with a maximum amount, such as 1.5 mgm2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mgm2 and maxDosePerAdministration of 2 mg.
     * @short Upper limit on medication per administration
     */
    maxDosePerAdministration?: Quantity;
    /**
     * @description Upper limit on medication per lifetime of the patient.
     * @short Upper limit on medication per lifetime of the patient
     */
    maxDosePerLifetime?: Quantity;
}
//# sourceMappingURL=Dosage.d.ts.map