Package org.hl7.fhir
Class MedicationAdministrationDosage
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.MedicationAdministrationDosage
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class MedicationAdministrationDosage extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion. Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner.Java class for MedicationAdministration.Dosage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MedicationAdministration.Dosage"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="text" type="{http://hl7.org/fhir}string" minOccurs="0"/> <choice minOccurs="0"> <element name="siteCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="siteReference" type="{http://hl7.org/fhir}Reference"/> </choice> <element name="route" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="method" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/> <choice minOccurs="0"> <element name="rateRatio" type="{http://hl7.org/fhir}Ratio"/> <element name="rateRange" type="{http://hl7.org/fhir}Range"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptmethodprotected SimpleQuantityquantityprotected RangerateRangeprotected RatiorateRatioprotected CodeableConceptrouteprotected CodeableConceptsiteCodeableConceptprotected ReferencesiteReferenceprotected Stringtext-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description MedicationAdministrationDosage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetMethod()Gets the value of the method property.SimpleQuantitygetQuantity()Gets the value of the quantity property.RangegetRateRange()Gets the value of the rateRange property.RatiogetRateRatio()Gets the value of the rateRatio property.CodeableConceptgetRoute()Gets the value of the route property.CodeableConceptgetSiteCodeableConcept()Gets the value of the siteCodeableConcept property.ReferencegetSiteReference()Gets the value of the siteReference property.StringgetText()Gets the value of the text property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetMethod(CodeableConcept value)Sets the value of the method property.voidsetQuantity(SimpleQuantity value)Sets the value of the quantity property.voidsetRateRange(Range value)Sets the value of the rateRange property.voidsetRateRatio(Ratio value)Sets the value of the rateRatio property.voidsetRoute(CodeableConcept value)Sets the value of the route property.voidsetSiteCodeableConcept(CodeableConcept value)Sets the value of the siteCodeableConcept property.voidsetSiteReference(Reference value)Sets the value of the siteReference property.voidsetText(String value)Sets the value of the text property.java.lang.StringtoString()MedicationAdministrationDosagewithExtension(java.util.Collection<Extension> values)MedicationAdministrationDosagewithExtension(Extension... values)MedicationAdministrationDosagewithId(java.lang.String value)MedicationAdministrationDosagewithMethod(CodeableConcept value)MedicationAdministrationDosagewithModifierExtension(java.util.Collection<Extension> values)MedicationAdministrationDosagewithModifierExtension(Extension... values)MedicationAdministrationDosagewithQuantity(SimpleQuantity value)MedicationAdministrationDosagewithRateRange(Range value)MedicationAdministrationDosagewithRateRatio(Ratio value)MedicationAdministrationDosagewithRoute(CodeableConcept value)MedicationAdministrationDosagewithSiteCodeableConcept(CodeableConcept value)MedicationAdministrationDosagewithSiteReference(Reference value)MedicationAdministrationDosagewithText(String value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
text
protected String text
-
siteCodeableConcept
protected CodeableConcept siteCodeableConcept
-
siteReference
protected Reference siteReference
-
route
protected CodeableConcept route
-
method
protected CodeableConcept method
-
quantity
protected SimpleQuantity quantity
-
rateRatio
protected Ratio rateRatio
-
rateRange
protected Range rateRange
-
-
Method Detail
-
getText
public String getText()
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(String value)
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getSiteCodeableConcept
public CodeableConcept getSiteCodeableConcept()
Gets the value of the siteCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setSiteCodeableConcept
public void setSiteCodeableConcept(CodeableConcept value)
Sets the value of the siteCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getSiteReference
public Reference getSiteReference()
Gets the value of the siteReference property.- Returns:
- possible object is
Reference
-
setSiteReference
public void setSiteReference(Reference value)
Sets the value of the siteReference property.- Parameters:
value- allowed object isReference
-
getRoute
public CodeableConcept getRoute()
Gets the value of the route property.- Returns:
- possible object is
CodeableConcept
-
setRoute
public void setRoute(CodeableConcept value)
Sets the value of the route property.- Parameters:
value- allowed object isCodeableConcept
-
getMethod
public CodeableConcept getMethod()
Gets the value of the method property.- Returns:
- possible object is
CodeableConcept
-
setMethod
public void setMethod(CodeableConcept value)
Sets the value of the method property.- Parameters:
value- allowed object isCodeableConcept
-
getQuantity
public SimpleQuantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
public void setQuantity(SimpleQuantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getRateRatio
public Ratio getRateRatio()
Gets the value of the rateRatio property.- Returns:
- possible object is
Ratio
-
setRateRatio
public void setRateRatio(Ratio value)
Sets the value of the rateRatio property.- Parameters:
value- allowed object isRatio
-
getRateRange
public Range getRateRange()
Gets the value of the rateRange property.- Returns:
- possible object is
Range
-
setRateRange
public void setRateRange(Range value)
Sets the value of the rateRange property.- Parameters:
value- allowed object isRange
-
withText
public MedicationAdministrationDosage withText(String value)
-
withSiteCodeableConcept
public MedicationAdministrationDosage withSiteCodeableConcept(CodeableConcept value)
-
withSiteReference
public MedicationAdministrationDosage withSiteReference(Reference value)
-
withRoute
public MedicationAdministrationDosage withRoute(CodeableConcept value)
-
withMethod
public MedicationAdministrationDosage withMethod(CodeableConcept value)
-
withQuantity
public MedicationAdministrationDosage withQuantity(SimpleQuantity value)
-
withRateRatio
public MedicationAdministrationDosage withRateRatio(Ratio value)
-
withRateRange
public MedicationAdministrationDosage withRateRange(Range value)
-
withModifierExtension
public MedicationAdministrationDosage withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public MedicationAdministrationDosage withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public MedicationAdministrationDosage withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public MedicationAdministrationDosage withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public MedicationAdministrationDosage withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-