public class AllergyIntoleranceReaction extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for AllergyIntolerance.Reaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AllergyIntolerance.Reaction">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="substance" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="certainty" type="{http://hl7.org/fhir}AllergyIntoleranceCertainty" minOccurs="0"/>
<element name="manifestation" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="onset" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="severity" type="{http://hl7.org/fhir}AllergyIntoleranceSeverity" minOccurs="0"/>
<element name="exposureRoute" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AllergyIntoleranceCertainty |
certainty |
protected String |
description |
protected CodeableConcept |
exposureRoute |
protected java.util.List<CodeableConcept> |
manifestation |
protected java.util.List<Annotation> |
note |
protected DateTime |
onset |
protected AllergyIntoleranceSeverity |
severity |
protected CodeableConcept |
substance |
modifierExtension| Constructor and Description |
|---|
AllergyIntoleranceReaction() |
| 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) |
AllergyIntoleranceCertainty |
getCertainty()
Gets the value of the certainty property.
|
String |
getDescription()
Gets the value of the description property.
|
CodeableConcept |
getExposureRoute()
Gets the value of the exposureRoute property.
|
java.util.List<CodeableConcept> |
getManifestation()
Gets the value of the manifestation property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
DateTime |
getOnset()
Gets the value of the onset property.
|
AllergyIntoleranceSeverity |
getSeverity()
Gets the value of the severity property.
|
CodeableConcept |
getSubstance()
Gets the value of the substance property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCertainty(AllergyIntoleranceCertainty value)
Sets the value of the certainty property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setExposureRoute(CodeableConcept value)
Sets the value of the exposureRoute property.
|
void |
setOnset(DateTime value)
Sets the value of the onset property.
|
void |
setSeverity(AllergyIntoleranceSeverity value)
Sets the value of the severity property.
|
void |
setSubstance(CodeableConcept value)
Sets the value of the substance property.
|
java.lang.String |
toString() |
AllergyIntoleranceReaction |
withCertainty(AllergyIntoleranceCertainty value) |
AllergyIntoleranceReaction |
withDescription(String value) |
AllergyIntoleranceReaction |
withExposureRoute(CodeableConcept value) |
AllergyIntoleranceReaction |
withExtension(java.util.Collection<Extension> values) |
AllergyIntoleranceReaction |
withExtension(Extension... values) |
AllergyIntoleranceReaction |
withId(java.lang.String value) |
AllergyIntoleranceReaction |
withManifestation(CodeableConcept... values) |
AllergyIntoleranceReaction |
withManifestation(java.util.Collection<CodeableConcept> values) |
AllergyIntoleranceReaction |
withModifierExtension(java.util.Collection<Extension> values) |
AllergyIntoleranceReaction |
withModifierExtension(Extension... values) |
AllergyIntoleranceReaction |
withNote(Annotation... values) |
AllergyIntoleranceReaction |
withNote(java.util.Collection<Annotation> values) |
AllergyIntoleranceReaction |
withOnset(DateTime value) |
AllergyIntoleranceReaction |
withSeverity(AllergyIntoleranceSeverity value) |
AllergyIntoleranceReaction |
withSubstance(CodeableConcept value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept substance
protected AllergyIntoleranceCertainty certainty
protected java.util.List<CodeableConcept> manifestation
protected String description
protected DateTime onset
protected AllergyIntoleranceSeverity severity
protected CodeableConcept exposureRoute
protected java.util.List<Annotation> note
public CodeableConcept getSubstance()
CodeableConceptpublic void setSubstance(CodeableConcept value)
value - allowed object is
CodeableConceptpublic AllergyIntoleranceCertainty getCertainty()
AllergyIntoleranceCertaintypublic void setCertainty(AllergyIntoleranceCertainty value)
value - allowed object is
AllergyIntoleranceCertaintypublic java.util.List<CodeableConcept> getManifestation()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the manifestation property.
For example, to add a new item, do as follows:
getManifestation().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic DateTime getOnset()
DateTimepublic void setOnset(DateTime value)
value - allowed object is
DateTimepublic AllergyIntoleranceSeverity getSeverity()
AllergyIntoleranceSeveritypublic void setSeverity(AllergyIntoleranceSeverity value)
value - allowed object is
AllergyIntoleranceSeveritypublic CodeableConcept getExposureRoute()
CodeableConceptpublic void setExposureRoute(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Annotation> getNote()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public AllergyIntoleranceReaction withSubstance(CodeableConcept value)
public AllergyIntoleranceReaction withCertainty(AllergyIntoleranceCertainty value)
public AllergyIntoleranceReaction withManifestation(CodeableConcept... values)
public AllergyIntoleranceReaction withManifestation(java.util.Collection<CodeableConcept> values)
public AllergyIntoleranceReaction withDescription(String value)
public AllergyIntoleranceReaction withOnset(DateTime value)
public AllergyIntoleranceReaction withSeverity(AllergyIntoleranceSeverity value)
public AllergyIntoleranceReaction withExposureRoute(CodeableConcept value)
public AllergyIntoleranceReaction withNote(Annotation... values)
public AllergyIntoleranceReaction withNote(java.util.Collection<Annotation> values)
public AllergyIntoleranceReaction withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic AllergyIntoleranceReaction withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic AllergyIntoleranceReaction withExtension(Extension... values)
withExtension in class BackboneElementpublic AllergyIntoleranceReaction withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic AllergyIntoleranceReaction 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