Class MedicationStatement.MedicationStatementDosageComponent

java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.BackboneElement
org.hl7.fhir.dstu2.model.MedicationStatement.MedicationStatementDosageComponent
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
Enclosing class:
MedicationStatement

public static class MedicationStatement.MedicationStatementDosageComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
See Also:
  • Field Details

    • text

      protected StringType text
      Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.
    • timing

      protected Timing timing
      The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
    • asNeeded

      protected Type asNeeded
      Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.
    • site

      protected Type site
      A coded specification of or a reference to the anatomic site where the medication first enters the body.
    • route

      A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.
    • method

      A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. This attribute will most often NOT be populated. It is most commonly used for injections. For example, Slow Push, Deep IV.
    • quantity

      protected Type quantity
      The amount of therapeutic or other substance given at one administration event.
    • rate

      protected Type rate
      Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
    • maxDosePerPeriod

      The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.
  • Constructor Details

  • Method Details

    • getTextElement

      Returns:
      text (Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
    • hasTextElement

      public boolean hasTextElement()
    • hasText

      public boolean hasText()
    • setTextElement

      Parameters:
      value - text (Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the value
    • getText

      public String getText()
      Returns:
      Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.
    • setText

      Parameters:
      value - Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.
    • getTiming

      public Timing getTiming()
      Returns:
      timing (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".)
    • hasTiming

      public boolean hasTiming()
    • setTiming

      Parameters:
      value - timing (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".)
    • getAsNeeded

      public Type getAsNeeded()
      Returns:
      asNeeded (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
    • getAsNeededBooleanType

      public BooleanType getAsNeededBooleanType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      asNeeded (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasAsNeededBooleanType

      public boolean hasAsNeededBooleanType()
    • getAsNeededCodeableConcept

      public CodeableConcept getAsNeededCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      asNeeded (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasAsNeededCodeableConcept

      public boolean hasAsNeededCodeableConcept()
    • hasAsNeeded

      public boolean hasAsNeeded()
    • setAsNeeded

      Parameters:
      value - asNeeded (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.)
    • getSite

      public Type getSite()
      Returns:
      site (A coded specification of or a reference to the anatomic site where the medication first enters the body.)
    • getSiteCodeableConcept

      public CodeableConcept getSiteCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      site (A coded specification of or a reference to the anatomic site where the medication first enters the body.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasSiteCodeableConcept

      public boolean hasSiteCodeableConcept()
    • getSiteReference

      public Reference getSiteReference() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      site (A coded specification of or a reference to the anatomic site where the medication first enters the body.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasSiteReference

      public boolean hasSiteReference()
    • hasSite

      public boolean hasSite()
    • setSite

      Parameters:
      value - site (A coded specification of or a reference to the anatomic site where the medication first enters the body.)
    • getRoute

      Returns:
      route (A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.)
    • hasRoute

      public boolean hasRoute()
    • setRoute

      Parameters:
      value - route (A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.)
    • getMethod

      Returns:
      method (A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. This attribute will most often NOT be populated. It is most commonly used for injections. For example, Slow Push, Deep IV.)
    • hasMethod

      public boolean hasMethod()
    • setMethod

      Parameters:
      value - method (A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. This attribute will most often NOT be populated. It is most commonly used for injections. For example, Slow Push, Deep IV.)
    • getQuantity

      public Type getQuantity()
      Returns:
      quantity (The amount of therapeutic or other substance given at one administration event.)
    • getQuantitySimpleQuantity

      public SimpleQuantity getQuantitySimpleQuantity() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      quantity (The amount of therapeutic or other substance given at one administration event.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasQuantitySimpleQuantity

      public boolean hasQuantitySimpleQuantity()
    • getQuantityRange

      public Range getQuantityRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      quantity (The amount of therapeutic or other substance given at one administration event.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasQuantityRange

      public boolean hasQuantityRange()
    • hasQuantity

      public boolean hasQuantity()
    • setQuantity

      Parameters:
      value - quantity (The amount of therapeutic or other substance given at one administration event.)
    • getRate

      public Type getRate()
      Returns:
      rate (Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.)
    • getRateRatio

      public Ratio getRateRatio() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      rate (Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasRateRatio

      public boolean hasRateRatio()
    • getRateRange

      public Range getRateRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      rate (Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasRateRange

      public boolean hasRateRange()
    • hasRate

      public boolean hasRate()
    • setRate

      Parameters:
      value - rate (Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.)
    • getMaxDosePerPeriod

      Returns:
      maxDosePerPeriod (The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.)
    • hasMaxDosePerPeriod

      public boolean hasMaxDosePerPeriod()
    • setMaxDosePerPeriod

      Parameters:
      value - maxDosePerPeriod (The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class BackboneElement
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copy

      Specified by:
      copy in class BackboneElement
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class BackboneElement
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class BackboneElement
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class BackboneElement
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class BackboneElement