public class MedicationAdministrationDosage extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
method |
protected SimpleQuantity |
quantity |
protected Range |
rateRange |
protected Ratio |
rateRatio |
protected CodeableConcept |
route |
protected CodeableConcept |
siteCodeableConcept |
protected Reference |
siteReference |
protected String |
text |
modifierExtension| Constructor and Description |
|---|
MedicationAdministrationDosage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getMethod()
Gets the value of the method property.
|
SimpleQuantity |
getQuantity()
Gets the value of the quantity property.
|
Range |
getRateRange()
Gets the value of the rateRange property.
|
Ratio |
getRateRatio()
Gets the value of the rateRatio property.
|
CodeableConcept |
getRoute()
Gets the value of the route property.
|
CodeableConcept |
getSiteCodeableConcept()
Gets the value of the siteCodeableConcept property.
|
Reference |
getSiteReference()
Gets the value of the siteReference property.
|
String |
getText()
Gets the value of the text property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setMethod(CodeableConcept value)
Sets the value of the method property.
|
void |
setQuantity(SimpleQuantity value)
Sets the value of the quantity property.
|
void |
setRateRange(Range value)
Sets the value of the rateRange property.
|
void |
setRateRatio(Ratio value)
Sets the value of the rateRatio property.
|
void |
setRoute(CodeableConcept value)
Sets the value of the route property.
|
void |
setSiteCodeableConcept(CodeableConcept value)
Sets the value of the siteCodeableConcept property.
|
void |
setSiteReference(Reference value)
Sets the value of the siteReference property.
|
void |
setText(String value)
Sets the value of the text property.
|
java.lang.String |
toString() |
MedicationAdministrationDosage |
withExtension(java.util.Collection<Extension> values) |
MedicationAdministrationDosage |
withExtension(Extension... values) |
MedicationAdministrationDosage |
withId(java.lang.String value) |
MedicationAdministrationDosage |
withMethod(CodeableConcept value) |
MedicationAdministrationDosage |
withModifierExtension(java.util.Collection<Extension> values) |
MedicationAdministrationDosage |
withModifierExtension(Extension... values) |
MedicationAdministrationDosage |
withQuantity(SimpleQuantity value) |
MedicationAdministrationDosage |
withRateRange(Range value) |
MedicationAdministrationDosage |
withRateRatio(Ratio value) |
MedicationAdministrationDosage |
withRoute(CodeableConcept value) |
MedicationAdministrationDosage |
withSiteCodeableConcept(CodeableConcept value) |
MedicationAdministrationDosage |
withSiteReference(Reference value) |
MedicationAdministrationDosage |
withText(String value) |
getModifierExtensiongetExtension, getId, setIdprotected String text
protected CodeableConcept siteCodeableConcept
protected Reference siteReference
protected CodeableConcept route
protected CodeableConcept method
protected SimpleQuantity quantity
protected Ratio rateRatio
protected Range rateRange
public String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic CodeableConcept getSiteCodeableConcept()
CodeableConceptpublic void setSiteCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSiteReference()
Referencepublic void setSiteReference(Reference value)
value - allowed object is
Referencepublic CodeableConcept getRoute()
CodeableConceptpublic void setRoute(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getMethod()
CodeableConceptpublic void setMethod(CodeableConcept value)
value - allowed object is
CodeableConceptpublic SimpleQuantity getQuantity()
SimpleQuantitypublic void setQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic Ratio getRateRatio()
Ratiopublic void setRateRatio(Ratio value)
value - allowed object is
Ratiopublic Range getRateRange()
Rangepublic void setRateRange(Range value)
value - allowed object is
Rangepublic MedicationAdministrationDosage withText(String value)
public MedicationAdministrationDosage withSiteCodeableConcept(CodeableConcept value)
public MedicationAdministrationDosage withSiteReference(Reference value)
public MedicationAdministrationDosage withRoute(CodeableConcept value)
public MedicationAdministrationDosage withMethod(CodeableConcept value)
public MedicationAdministrationDosage withQuantity(SimpleQuantity value)
public MedicationAdministrationDosage withRateRatio(Ratio value)
public MedicationAdministrationDosage withRateRange(Range value)
public MedicationAdministrationDosage withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic MedicationAdministrationDosage withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic MedicationAdministrationDosage withExtension(Extension... values)
withExtension in class BackboneElementpublic MedicationAdministrationDosage withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic MedicationAdministrationDosage withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement