public class MedicationStatementDosage extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MedicationStatement.Dosage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MedicationStatement.Dosage">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="text" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="timing" type="{http://hl7.org/fhir}Timing" minOccurs="0"/>
<choice minOccurs="0">
<element name="asNeededBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="asNeededCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
</choice>
<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"/>
<choice minOccurs="0">
<element name="quantityQuantity" type="{http://hl7.org/fhir}SimpleQuantity"/>
<element name="quantityRange" type="{http://hl7.org/fhir}Range"/>
</choice>
<choice minOccurs="0">
<element name="rateRatio" type="{http://hl7.org/fhir}Ratio"/>
<element name="rateRange" type="{http://hl7.org/fhir}Range"/>
</choice>
<element name="maxDosePerPeriod" type="{http://hl7.org/fhir}Ratio" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
asNeededBoolean |
protected CodeableConcept |
asNeededCodeableConcept |
protected Ratio |
maxDosePerPeriod |
protected CodeableConcept |
method |
protected SimpleQuantity |
quantityQuantity |
protected Range |
quantityRange |
protected Range |
rateRange |
protected Ratio |
rateRatio |
protected CodeableConcept |
route |
protected CodeableConcept |
siteCodeableConcept |
protected Reference |
siteReference |
protected String |
text |
protected Timing |
timing |
modifierExtension| Constructor and Description |
|---|
MedicationStatementDosage() |
| 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) |
Boolean |
getAsNeededBoolean()
Gets the value of the asNeededBoolean property.
|
CodeableConcept |
getAsNeededCodeableConcept()
Gets the value of the asNeededCodeableConcept property.
|
Ratio |
getMaxDosePerPeriod()
Gets the value of the maxDosePerPeriod property.
|
CodeableConcept |
getMethod()
Gets the value of the method property.
|
SimpleQuantity |
getQuantityQuantity()
Gets the value of the quantityQuantity property.
|
Range |
getQuantityRange()
Gets the value of the quantityRange 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.
|
Timing |
getTiming()
Gets the value of the timing property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAsNeededBoolean(Boolean value)
Sets the value of the asNeededBoolean property.
|
void |
setAsNeededCodeableConcept(CodeableConcept value)
Sets the value of the asNeededCodeableConcept property.
|
void |
setMaxDosePerPeriod(Ratio value)
Sets the value of the maxDosePerPeriod property.
|
void |
setMethod(CodeableConcept value)
Sets the value of the method property.
|
void |
setQuantityQuantity(SimpleQuantity value)
Sets the value of the quantityQuantity property.
|
void |
setQuantityRange(Range value)
Sets the value of the quantityRange 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.
|
void |
setTiming(Timing value)
Sets the value of the timing property.
|
java.lang.String |
toString() |
MedicationStatementDosage |
withAsNeededBoolean(Boolean value) |
MedicationStatementDosage |
withAsNeededCodeableConcept(CodeableConcept value) |
MedicationStatementDosage |
withExtension(java.util.Collection<Extension> values) |
MedicationStatementDosage |
withExtension(Extension... values) |
MedicationStatementDosage |
withId(java.lang.String value) |
MedicationStatementDosage |
withMaxDosePerPeriod(Ratio value) |
MedicationStatementDosage |
withMethod(CodeableConcept value) |
MedicationStatementDosage |
withModifierExtension(java.util.Collection<Extension> values) |
MedicationStatementDosage |
withModifierExtension(Extension... values) |
MedicationStatementDosage |
withQuantityQuantity(SimpleQuantity value) |
MedicationStatementDosage |
withQuantityRange(Range value) |
MedicationStatementDosage |
withRateRange(Range value) |
MedicationStatementDosage |
withRateRatio(Ratio value) |
MedicationStatementDosage |
withRoute(CodeableConcept value) |
MedicationStatementDosage |
withSiteCodeableConcept(CodeableConcept value) |
MedicationStatementDosage |
withSiteReference(Reference value) |
MedicationStatementDosage |
withText(String value) |
MedicationStatementDosage |
withTiming(Timing value) |
getModifierExtensiongetExtension, getId, setIdprotected String text
protected Timing timing
protected Boolean asNeededBoolean
protected CodeableConcept asNeededCodeableConcept
protected CodeableConcept siteCodeableConcept
protected Reference siteReference
protected CodeableConcept route
protected CodeableConcept method
protected SimpleQuantity quantityQuantity
protected Range quantityRange
protected Ratio rateRatio
protected Range rateRange
protected Ratio maxDosePerPeriod
public String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic Timing getTiming()
Timingpublic void setTiming(Timing value)
value - allowed object is
Timingpublic Boolean getAsNeededBoolean()
Booleanpublic void setAsNeededBoolean(Boolean value)
value - allowed object is
Booleanpublic CodeableConcept getAsNeededCodeableConcept()
CodeableConceptpublic void setAsNeededCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic 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 getQuantityQuantity()
SimpleQuantitypublic void setQuantityQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic Range getQuantityRange()
Rangepublic void setQuantityRange(Range value)
value - allowed object is
Rangepublic Ratio getRateRatio()
Ratiopublic void setRateRatio(Ratio value)
value - allowed object is
Ratiopublic Range getRateRange()
Rangepublic void setRateRange(Range value)
value - allowed object is
Rangepublic Ratio getMaxDosePerPeriod()
Ratiopublic void setMaxDosePerPeriod(Ratio value)
value - allowed object is
Ratiopublic MedicationStatementDosage withText(String value)
public MedicationStatementDosage withTiming(Timing value)
public MedicationStatementDosage withAsNeededBoolean(Boolean value)
public MedicationStatementDosage withAsNeededCodeableConcept(CodeableConcept value)
public MedicationStatementDosage withSiteCodeableConcept(CodeableConcept value)
public MedicationStatementDosage withSiteReference(Reference value)
public MedicationStatementDosage withRoute(CodeableConcept value)
public MedicationStatementDosage withMethod(CodeableConcept value)
public MedicationStatementDosage withQuantityQuantity(SimpleQuantity value)
public MedicationStatementDosage withQuantityRange(Range value)
public MedicationStatementDosage withRateRatio(Ratio value)
public MedicationStatementDosage withRateRange(Range value)
public MedicationStatementDosage withMaxDosePerPeriod(Ratio value)
public MedicationStatementDosage withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic MedicationStatementDosage withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic MedicationStatementDosage withExtension(Extension... values)
withExtension in class BackboneElementpublic MedicationStatementDosage withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic MedicationStatementDosage 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