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
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptprotected SimpleQuantityprotected Rangeprotected Ratioprotected CodeableConceptprotected CodeableConceptprotected Referenceprotected StringFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the method property.Gets the value of the quantity property.Gets the value of the rateRange property.Gets the value of the rateRatio property.getRoute()Gets the value of the route property.Gets the value of the siteCodeableConcept property.Gets the value of the siteReference property.getText()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.voidSets the value of the siteCodeableConcept property.voidsetSiteReference(Reference value) Sets the value of the siteReference property.voidSets the value of the text property.toString()withExtension(Collection<Extension> values) withExtension(Extension... values) withMethod(CodeableConcept value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withQuantity(SimpleQuantity value) withRateRange(Range value) withRateRatio(Ratio value) withRoute(CodeableConcept value) withSiteReference(Reference value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
text
-
siteCodeableConcept
-
siteReference
-
route
-
method
-
quantity
-
rateRatio
-
rateRange
-
-
Constructor Details
-
MedicationAdministrationDosage
public MedicationAdministrationDosage()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getSiteCodeableConcept
Gets the value of the siteCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setSiteCodeableConcept
Sets the value of the siteCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getSiteReference
Gets the value of the siteReference property.- Returns:
- possible object is
Reference
-
setSiteReference
Sets the value of the siteReference property.- Parameters:
value- allowed object isReference
-
getRoute
Gets the value of the route property.- Returns:
- possible object is
CodeableConcept
-
setRoute
Sets the value of the route property.- Parameters:
value- allowed object isCodeableConcept
-
getMethod
Gets the value of the method property.- Returns:
- possible object is
CodeableConcept
-
setMethod
Sets the value of the method property.- Parameters:
value- allowed object isCodeableConcept
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getRateRatio
Gets the value of the rateRatio property.- Returns:
- possible object is
Ratio
-
setRateRatio
Sets the value of the rateRatio property.- Parameters:
value- allowed object isRatio
-
getRateRange
Gets the value of the rateRange property.- Returns:
- possible object is
Range
-
setRateRange
Sets the value of the rateRange property.- Parameters:
value- allowed object isRange
-
withText
-
withSiteCodeableConcept
-
withSiteReference
-
withRoute
-
withMethod
-
withQuantity
-
withRateRatio
-
withRateRange
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- 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
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-